swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Building with libs installed via Fink under OS X


From: Rainer Böhme
Subject: Re: [Swftools-common] Building with libs installed via Fink under OS X
Date: Thu, 11 Nov 2004 22:08:27 +0100

On my Mac, there is another Freetype, libpng, and libjpeg installed in /opt/local. I'm not sure whether this comes with the development kit, MacGimp or s.th. else. Can anyone check for e.g. /opt/local/lib/libfreetype.dylib on a plain out-of-the-box system?

If yes, I'd recommend to add this path as well, because some users might be reluctant to install Fink.

This works for me:

export CPPFLAGS="-I/opt/local/include/fontconfig"
export LDFLAGS="-L/opt/local/lib"
export PATH=$PATH:/opt/local/bin
./configure

Regards,
Rainer

Am 11.11.2004 um 21:30 schrieb Matthias Kramm:

On Wed, Nov 10, 2004 at 01:29:11PM -0500, Dan Friedman wrote:
Now that I have swftools working, I'd like to share how I did it for the benefit of any future Mac OS X/Fink user that comes along. Basically, you can get all the required libs via Fink (jpeg, t1lib, freetype, lame), but then you
have to inform configure of where they are:

% ( setenv LDFLAGS "-L/sw/lib" ; setenv CPPFLAGS "-I/sw/include -I/sw/include/lame" ; ./configure )
 % make
 % sudo make install

Thanks for that info. I'll also add that to the FAQ.

I wonder, btw., whether configure should add /sw/lib and /sw/include to
the LDFLAGS/CPPFLAGS automatically if it finds out to be running under
Mac OS X. These are the default Fink installation paths, right?

Greetings

Matthias



_______________________________________________
Swftools-common mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swftools-common






reply via email to

[Prev in Thread] Current Thread [Next in Thread]