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=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 
>> wbmp.lo wbmp.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 wbmp.c  -fno-common -DPIC -o .libs/wbmp.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 wbmp.c -o wbmp.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
>> make[2]: *** [libgd.la] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> ### execution of make failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-gd2-2.0.35-3
>> (Lese Datenbank ... 126473 Dateien und Verzeichnisse sind derzeit 
>> installiert.)
>> Entferne fink-buildlock-gd2-2.0.35-3 ...
>> Failed: phase compiling: gd2-2.0.35-3 failed
>>
>>
>> i have the newest osx and all updates but i only have a 
>> /usr/X11/lib/libpng12.0.24.0.dylib not 12.0.26!
>>
>> thank you,
>> thomas
>
We've seen this before.  The 10.5.3 update downgrades this library with 
respect to what is installed with X11 2.2.1. 

Reinstalling X11 2.2.1 solves the problem.

-------------------------------------------------------------------------
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