> Running scons configure complains that libmad is not > found (although 0.15 is installed).
I have encountered the same problem. config.log shows the following lines: Checking for mad >= 0.10 ... PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig pkg-config mad --atleast-version=0.10 scons: *** [.sconf_temp/conftest_7] Error 1 Result: failed The above is technically correct because indeed there is no pkgconfig file for mad. AFAICT when building libmad from sources no such file is created whatsoever. Therefor I suspect the check in sound.py is wrong. Note that the check in configure corectly detects my installed libmad-0.15.1 which provides for a perfect bridge to the remaining problem of the previous poster: > I run scons to make the project > and the final link doesn't include the libmad library, yet it tries to > use libmad functions, resulting in link errors: > sound/libRosegardenSound.a(MP3AudioFile.o)(.text+0x657): In function > `Rosegarden::MP3AudioFile::parseHeader()': > MP3AudioFile.cpp: undefined reference to `mad_synth_init' > sound/libRosegardenSound.a(MP3AudioFile.o)(.text+0x662):MP3AudioFile.cpp: > undefined reference to `mad_stream_init' > sound/libRosegardenSound.a(MP3AudioFile.o)(.text+0x670):MP3AudioFile.cpp: > undefined reference to `mad_frame_init' This most likely is because you still have a config.h lying around in the rosegarden root dir which is included by MP3AudioFile.h and probably "#define HAVE_LIBMAD 1". Renaming that file will make scons to create an empty dummy config.h. > � Manually putting the mad library into the gui/SConscript allows it > to build successfully. ...which will be obsolete once scons configure can be made to correctly detect libmad. Best, Michael -- Vote against SPAM - see http://www.politik-digital.de/spam/ Michael Gerdau email: [EMAIL PROTECTED] GPG-keys available on request or at public keyserver
pgpI7xY73U0Cf.pgp
Description: PGP signature
