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: Matthias Kramm
Subject: Re: [Swftools-common] Building with libs installed via Fink under OS X
Date: Tue, 23 Nov 2004 15:48:20 +0000
User-agent: Mutt/1.5.6i

On Fri, Nov 12, 2004 at 11:43:19PM -0500, Dan Friedman wrote:
> Those are indeed the default Fink installation paths, but it seems that 
> some of the other folks who've weighed in so far are able to satisfy 
> the lib dependencies in other ways. I'm running under Jaguar, and 
> haven't really investigated whether it came with any of the required 
> libs out of the box; I just assumed it didn't, quickly found them all 
> in Fink, installed them all, and proceeded with ./configure. I guess 
> the Right Thing to do, at least from a configure script standpoint, 
> would be to detect if Fink is installed somehow (perhaps see if the 
> 'fink' executable is anywhere in $PATH), then learn what the Fink 
> install path is (I'd need to consult the docs for that, but I'm sure 
> there's a way), 

I tried that. (I've got access to a Darwin system today. Thanks
to Rainer) 
Well, unfortunately, fink itself doesn't give away it's
installation path, at least not via a command-line option.
(The closest is probably "which fink")
It also doesn't seem to be able to list the files contained
in a specific package. At least, "fink describe <package>" only
gives a description of that package, but not it's contents.

> and then set the LDFLAGS/CPPFLAGS if and only if some 
> or all of the required libs are installed there. 

Not sure about that either- I've run across a couple of Darwin systems
where some specific libraries are installed both in /usr/local/lib and
at the fink location (I believe /sw/ is Fink's default).
So once LDFLAGS are set to the Fink paths, the linker won't know
anymore which library to link against.
In order to get around that, configure would have to determine for every
single library whether or not to use the Fink path... arrrg.

> I'm by no means expert in this, I'm afraid. Like I said, I just wanted 
> to share what worked for me.

Well, I'm quite new to Darwin, too. So I'm by all means open to
suggestions. 
I have yet to get to a complete swftools compile on that system myself
(I so far have only *heard* that it's possible). :)

Greetings

Matthias








reply via email to

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