The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 09, 2024, 10:15:47 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Compiling on OS X: Vorbisfile not found
« previous next »
Pages: [1] Print
Author Topic: Compiling on OS X: Vorbisfile not found  (Read 2291 times)
ignalina
Zebranky food
*
Offline Offline

Posts: 3


I love YaBB 1G - SP1!


View Profile
Compiling on OS X: Vorbisfile not found
« 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.
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Compiling on OS X: Vorbisfile not found
« Reply #1 on: October 30, 2003, 02:42:24 am »

libvorbis isn't the same as libvorbisfile. You need both.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
ignalina
Zebranky food
*
Offline Offline

Posts: 3


I love YaBB 1G - SP1!


View Profile
Re: Compiling on OS X: Vorbisfile not found
« Reply #2 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?
Logged
ignalina
Zebranky food
*
Offline Offline

Posts: 3


I love YaBB 1G - SP1!


View Profile
Re: Compiling on OS X: Vorbisfile not found
« Reply #3 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.
Logged
Nic.
Guest


Email
Re: Compiling on OS X: Vorbisfile not found
« Reply #4 on: October 30, 2003, 08:15:34 pm »

I ended up installing the Ogg/Vorbis libs from sources at 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 so that we may avoid the problem in future releases.
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Compiling on OS X: Vorbisfile not found
« Reply #5 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.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!