I'm trying to get a fairly standard UNIX app (icecast[0]) to compile
against shared libraries (libogg and libvorbis) installed as Frameworks
(the Xiph QT Frameworks[1]). I'd like to be able to distribute an OS X
installer package for icecast that depends on the Xiph QT Framework
package. This would be far preferable to the current methods for
installing icecast, which have people installing a second copy of the
Xiph libraries via fink or a similar mechanism. I'm new to the OS X
Frameworks packaging and the Apple porting guide only mentions autoconf
in passing.
libogg and libvorbis are installed as /Library/Frameworks/Ogg.framework
and Vorbis.framework. I have tried setting LDFLAGS and CFLAGS to
"-framework Ogg -framework Vorbis", but configure complains that it
can't find the libraries.
% ./configure LDFLAGS="-framework Ogg -framework Vorbis"
[...]
checking for libogg... not found
checking for libvorbis... not found
configure: error: must have Ogg Vorbis v1.0 or above installed
What is the correct, OS X like thing to do to teach autoconf and
automake how to find these libraries via their Frameworks? I'd like to
fix this, and pass it back to Xiph so that icecast will do the right
thing on OS X when these Frameworks are installed.
I'm sure a shove in the right direction from someone who's done this
before is all I need.
[0] - http://www.icecast.org/
[1] - http://www.xiph.org/quicktime/
Thanks,
Brandon
--
Pseudo-Random Googlism: december is here and so are great savings at
the granary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden
This email sent to email@hidden