The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: ignalina on October 30, 2003, 01:12:18 am



Title: Compiling on OS X: Vorbisfile not found
Post by: ignalina on October 30, 2003, 01:12:18 am
I have installed all the latest OGG anv Vorbis libraries with Fink. They are all in the right folders under /sw. I have also applied the osx.diff patch so that the build script finds SDL. However, I still get this:

[c80-217-83-196:~/sc2] pettersj% ./build.sh uqm
Sed stream editor found.
tr found.
Make found.
GNU C compiler found.
Big-endian machine.
Simple DirectMedia Layer version 1.2.6 found.
SDL_image found.
Vorbisfile not found.

What have I done wrong? Latest CVS version, October 29.


Title: Re: Compiling on OS X: Vorbisfile not found
Post by: meep-eep on October 30, 2003, 02:42:24 am
libvorbis isn't the same as libvorbisfile. You need both.


Title: Re: Compiling on OS X: Vorbisfile not found
Post by: ignalina on October 30, 2003, 05:28:30 am
Well, there is a /sw/include/vorbis/vorbisfile.h and a /sw/lib/libvorbisfile.3.0.0.dylib. Isn't that enough?


Title: Re: Compiling on OS X: Vorbisfile not found
Post by: ignalina on October 30, 2003, 05:41:03 am
What I mean is: what do I need apart from what Fink installs along with libvorbis0 and vorbis-tools? Where do I get it? Vorbisfile isn't mentioned in the INSTALL file.


Title: Re: Compiling on OS X: Vorbisfile not found
Post by: Nic. on October 30, 2003, 08:15:34 pm
I ended up installing the Ogg/Vorbis libs from sources at xiph.org (http://www.xiph.org), because Fink did not have the final 1.0 version available, the the release candidates in Fink were not feature-complete (and were quite slow, too)

That could be the source of your problem, but if apt-get is trying to install the final release versions of everything, then the build scripts may simply not know where to look.  To fix, edit build/unix/config_proginfo and add the necessary -I and -L options to LIB_vorbisfile_CFLAGS and LIB_vorbisfile_LDFLAGS, respectively.  And if that works, please submit a patch to Bugzilla (http://uqm.stack.nl/cgi-bin/bugs/index.cgi) so that we may avoid the problem in future releases.


Title: Re: Compiling on OS X: Vorbisfile not found
Post by: meep-eep on November 01, 2003, 01:47:14 am
If you edit build/unix/config_functions and change the line that says
BUILDLOG=/dev/null
by replacing /dev/null by some file name, then that file will contain info that should be helpful in finding the cause of the problem.