User:Gordon/Optical Drive Testing Script/scratchpad/cdrtools installation on Ubuntu 9.10
Jump to navigation
Jump to search
Here's how to build cdrtools on Ubuntu 9.10.
See also http://ubuntuforums.org/showthread.php?t=851707 (read the whole thread, it's a long-lived one but only 3 pages.)
The cdrtools Ubuntu build process that works
Install dependencies
- To be safe:
sudo apt-get install build-essential
Build cdrtools beta
As of 13 March 2010, the stable version of cdrtools at ftp://ftp.berlios.de/pub/cdrecord/cdrtools.tar.gz does NOT compile on Ubuntu 9.10, so you must use the latest development version (which at the time of writing, in case cdrtools-beta.tar.gz won't build, was cdrtools-2.01.01a77.tar.gz:
wget ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-beta.tar.gz
tar xvzf cdrtools-beta.tar.gz
cd
into the resulting directory./Gmake.linux
sudo ./Gmake.linux install
Build not working?
Maybe GNU make is to blame, so you could try building the cdrtools' author's 'smake' system and replacing 'Gmake.linux' in the above instructions with 'smake':
Build smake
- Download smake:
wget ftp://ftp.berlios.de/pub/smake/smake-1.2.tar.gz
tar xvzf smake-1.2.tar.gz
cd
into the resulting directory./Gmake.linux
sudo ./Gmake.linux install
Build instructions that didn't work
make COPTX=-DTRY_EXT2_FS wut?
The following still fails on 9.10 (using smake or the included Gmake.linux):
- Download cdrtools:
wget ftp://ftp.berlios.de/pub/cdrecord/cdrtools.tar.gz
tar xvzf cdrtools.tar.gz
cd
into the resulting directory/opt/schily/bin/smake
Error is:
In file included from skel.c:36: ../include/schily.h:111: error: conflicting types for ‘fexecve’ /usr/include/unistd.h:524: note: previous declaration of ‘fexecve’ was here ../include/schily.h:190: error: conflicting types for ‘getline’ /usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here