On Monday 15 November 2004 16:08, Anders Johansson wrote:
On Monday 15 November 2004 15:00, Leendert Meyer wrote:
On Monday 15 November 2004 13:43, Joe Morris (NTM) wrote:
yonaton@tds.net wrote:
I just ran into something weird while trying to rebuild the src.rpm of cdrecord from Packman's site. Here's the output at the end:
+ gcc -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 /usr/src/packages/SOURCES/cdinfo.c -o cdinfo + cd mkisofs + ../Gmake.linux apple_driver ==> COMPILING "apple_driver" /usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin /l d: cannot find -lscg
This is your error. It has nothing to do with the apple driver. It failed to build the lscg libraries. You need to have the kernel sources installed, as cdrecord checks the kernel sources.
(Trying to learn something) Where do you conclude that from? Or does one simply has to know that scg is in the kernel sources?
It's not in the kernel sources, it's included in cdrtools
However, that isn't the problem. The problem is in fact the exact opposite. Jörg Schiller has set cdrtools to include from /usr/src/linux even though it is a user space application (it should get include files from /usr/include), which is a big no-no.
So in this case, the solution is in fact to UNinstall the kernel sources. Or at least to do
mv /usr/src/linux /usr/src/linux.tmp
then the cdrtools compile will succeed, then
mv /usr/src/linux.tmp /usr/src/linux
to change it back.
How awkward! But I suppose this is most likely described somewhere in an INSTALL file or so... Thanks, Leen