[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: gerbv-0.15 on MacOS 10.3 (Panther)
On Fri, Feb 06, 2004 at 12:45:48PM -0500, John Doty wrote:
> Installing gerbv-0.15 on MacOS 10.3 (Panther):
>
> I'm using the following from Fink 0.6.2 (http://fink.sourceforge.net/):
>
> libpng3 1.2.5-4
> gdk-pixbuf 0.18.0-2
>
> The main problem is that gerbv doesn't look for libpng in /sw, where fink
> installs its packages.
>
> I found I could trick it as follows:
>
> cd /usr/local/lib
> foreach f ( /sw/lib/libpng* )
> ln -s $f
> end
> cd /usr/local/include
> ln -s /sw/include/png.h
> ln -s /sw/include/pngconf.h
>
> This allowed me to build and install gerbv.
>
I typically do something like:
env CPPFLAGS='-I/my/strange/path/to/png/includes' LDFLAGS='-L/my/strange/path/to/png/libs -R/my/strange/path/to/png/libs' ./configure
-Dan
--