On Tue, Jun 10, 2008 at 12:08:23PM -0400, Alexander Hansen wrote:
> David R. Morrison wrote:
> > The xquartz-installed libpng library seems to be interfering with us 
> > here; can anybody help me figure out how and why?
> >
> >  -- Dave
> >
> > Begin forwarded message:
> >
> >> *From: *Thomas Kotzian <[EMAIL PROTECTED] 
> >> <mailto:[EMAIL PROTECTED]>>
> >> *Date: *June 10, 2008 7:31:52 AM PDT
> >> *To: *Dave Morrison <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> >> *Subject: **fink package gd2*
> >>
> >> hello!
> >>
> >> i tried to build gd2-2.0.35-3 and got an error:
> >>
> >> /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
> >> -I.   -I/usr/X11/include/freetype2 -I/usr/X11/include 
> >> -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include  -g -O2 -c -o 
> >> gdxpm.lo gdxpm.c
> >> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11/include/freetype2 
> >> -I/usr/X11/include -I/usr/X11R6/include -I/sw/include 
> >> -I/usr/X11R6/include -g -O2 -c gdxpm.c  -fno-common -DPIC -o 
> >> .libs/gdxpm.o
> >> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11/include/freetype2 
> >> -I/usr/X11/include -I/usr/X11R6/include -I/sw/include 
> >> -I/usr/X11R6/include -g -O2 -c gdxpm.c -o gdxpm.o >/dev/null 2>&1
[...]
> >> /bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2  -L/usr/X11/lib 
> >> -Wl,-framework,CoreServices,-framework,ApplicationServices  -L/sw/lib 
> >> -L/sw/lib -L/usr/X11R6/lib -o libgd.la -rpath /sw/lib -version-info 
> >> 2:0:0  gd.lo gdfx.lo gd_security.lo gd_gd.lo gd_gd2.lo gd_io.lo 
> >> gd_io_dp.lo gd_gif_in.lo gd_gif_out.lo gd_io_file.lo gd_io_ss.lo 
> >> gd_jpeg.lo gd_png.lo gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo 
> >> gdfontg.lo gdfontl.lo gdfontmb.lo gdfonts.lo gdfontt.lo gdft.lo 
> >> gdhelpers.lo gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo -L/sw/lib 
> >> -liconv -R/sw/lib -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz
> >> gcc -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o 
> >> .libs/libgd.2.0.0.dylib  .libs/gd.o .libs/gdfx.o .libs/gd_security.o 
> >> .libs/gd_gd.o .libs/gd_gd2.o .libs/gd_io.o .libs/gd_io_dp.o 
> >> .libs/gd_gif_in.o .libs/gd_gif_out.o .libs/gd_io_file.o 
> >> .libs/gd_io_ss.o .libs/gd_jpeg.o .libs/gd_png.o .libs/gd_ss.o 
> >> .libs/gd_topal.o .libs/gd_wbmp.o .libs/gdcache.o .libs/gdfontg.o 
> >> .libs/gdfontl.o .libs/gdfontmb.o .libs/gdfonts.o .libs/gdfontt.o 
> >> .libs/gdft.o .libs/gdhelpers.o .libs/gdkanji.o .libs/gdtables.o 
> >> .libs/gdxpm.o .libs/wbmp.o  -L/usr/X11/lib -L/sw/lib -L/usr/X11R6/lib 
> >> /sw/lib/libiconv.dylib /usr/X11/lib/libXpm.4.11.0.dylib 
> >> /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib 
> >> /usr/X11/lib/libX11.6.2.0.dylib /sw/lib/libjpeg.dylib 
> >> /usr/X11/lib/libfontconfig.dylib /usr/lib/libiconv.dylib 
> >> /usr/lib/libz.dylib /usr/lib/libexpat.dylib 
> >> /usr/X11/lib/libfreetype.dylib /usr/X11/lib/libpng12.0.26.0.dylib -lz 
> >>  -Wl,-framework -Wl,CoreServices -Wl,-framework 
> >> -Wl,ApplicationServices -install_name  /sw/lib/libgd.2.dylib 
> >> -Wl,-compatibility_version -Wl,3 -Wl,-current_version -Wl,3.0
> >> i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libpng12.0.26.0.dylib: No 
> >> such file or directory

Also looks non-ideal to find x11's stuff instead of fink's (because we
follow Shlibs policy whereas apple/x11 does not:) I think those early
flags come from freetype-config, so might be useful to hack the pkg to
find *fink's* libpng.

gd2 doesn't use pkg-config, so would have to fiddle with the configure
or Makefile directly...not sure pangocairo is any better for this
case.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to