Compile once, configure repeatedly
So, sometime between upgrades, something changed to make cdparanoia stop working properly.
The newer OS X port ignores the firewire DVD-RW and insists on only ripping from the internal drive, and only if the disc is unmounted.
I never had that problem with the original quick and dirty hack, which happily read any disc and drive, mounted or not. But now it refuses to compile, and I can't figure out why.
The last time it worked was before I re-organised my laptop for a bigger system partition, which was probably at least two 10.4.x updates ago.
Probably the advent of Universal Binary compatible frameworks has changed something crucial.
In the interest of possibly helping another who's experienced compilation frustration, here's a few tips on how I got a number of stubborn packages to work-
If you've installed items in a non-standard place and want to be able to call upon them during compiling, add it to your DYLD_LIBRARY_PATH, then before you run configure or make, then for each of the following, do an export:
Update: Figured out why the original cdparanoia hack wouldn't compile: I incorrectly gunzipped the diff, thereby applying a blank file to whatever needed to be patched.
Even with the newly compiled older version, the other issue remains unresolved.
Also, to make Mac OS X index manpages installed in non-standard locations, do a
The newer OS X port ignores the firewire DVD-RW and insists on only ripping from the internal drive, and only if the disc is unmounted.
I never had that problem with the original quick and dirty hack, which happily read any disc and drive, mounted or not. But now it refuses to compile, and I can't figure out why.
The last time it worked was before I re-organised my laptop for a bigger system partition, which was probably at least two 10.4.x updates ago.
Probably the advent of Universal Binary compatible frameworks has changed something crucial.
In the interest of possibly helping another who's experienced compilation frustration, here's a few tips on how I got a number of stubborn packages to work-
- ImageMagick — during ./configure, select --disable-shared (you may also need to do --without-perl and --without-magick-plus-plus)
- par2cmdline — switch from gcc 4.0 to gcc 3.3
- mac — same as above, I think (there was another program which required a compiler switch, and I can't remember if it was this or something else)
- libjpeg — some additional programs which use this library will complain that it's out of date or not installed during the config process. If that happens, cd to wherever you've put your libraries and do a "ranlib libjpeg.a", which should fix things.
If you've installed items in a non-standard place and want to be able to call upon them during compiling, add it to your DYLD_LIBRARY_PATH, then before you run configure or make, then for each of the following, do an export:
- CFLAGS=" -I/path-to-your-install/include"
- LDFLAGS=" -L/path-to-your-install/lib"
- CXXFLAGS="$CFLAGS"
- CPPFLAGS="$CXXFLAGS"
Update: Figured out why the original cdparanoia hack wouldn't compile: I incorrectly gunzipped the diff, thereby applying a blank file to whatever needed to be patched.
Even with the newly compiled older version, the other issue remains unresolved.
Also, to make Mac OS X index manpages installed in non-standard locations, do a
- /usr/libexec/makewhatis /path-to-your-manpages/man
0 Comments:
Post a Comment
<< Home