Difference between revisions of "User:Gordon/Optical Drive Testing Script/scratchpad/cdrtools installation on Ubuntu 9.10"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
Here's how to build cdrtools on Ubuntu 9.10 (these instructions are NOT final and probably don't work right now): | Here's how to build cdrtools on Ubuntu 9.10 (these instructions are NOT final and probably don't work right now): | ||
− | ==Install dependencies== | + | ==The cdrtools Ubuntu build process that works== |
+ | ===Install dependencies=== | ||
# To be safe: <code>sudo apt-get install build-essential</code> | # To be safe: <code>sudo apt-get install build-essential</code> | ||
− | ==Build | + | ===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 [ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a77.tar.gz cdrtools-2.01.01a77.tar.gz]: |
− | # <code>tar xvzf | + | |
+ | # <code>wget ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-beta.tar.gz</code> | ||
+ | # <code>tar xvzf cdrtools-beta.tar.gz</code> | ||
# <code>cd</code> into the resulting directory | # <code>cd</code> into the resulting directory | ||
# <code>./Gmake.linux</code> | # <code>./Gmake.linux</code> | ||
# <code>sudo ./Gmake.linux install</code> | # <code>sudo ./Gmake.linux install</code> | ||
− | ==Build | + | ==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': | |
− | # <code>wget ftp://ftp.berlios.de/pub/ | + | ===Build smake=== |
− | # <code>tar xvzf | + | # Download smake: <code>wget ftp://ftp.berlios.de/pub/smake/smake-1.2.tar.gz</code> |
+ | # <code>tar xvzf smake-1.2.tar.gz</code> | ||
# <code>cd</code> into the resulting directory | # <code>cd</code> into the resulting directory | ||
# <code>./Gmake.linux</code> | # <code>./Gmake.linux</code> | ||
# <code>sudo ./Gmake.linux install</code> | # <code>sudo ./Gmake.linux install</code> | ||
− | ==Build | + | ==Build instructions that didn't work== |
make COPTX=-DTRY_EXT2_FS wut? | make COPTX=-DTRY_EXT2_FS wut? | ||
Revision as of 19:15, 13 March 2010
Here's how to build cdrtools on Ubuntu 9.10 (these instructions are NOT final and probably don't work right now):
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