Re: dx-4.4.4-1506 fails to compile
Alexander Hansen <alexanderk.hansen <at> gmail.com>
2011-11-01 14:33:10 GMT
On 11/1/11 10:06 AM, Eduardo Pestana wrote:
> Dear All,
>
> After doing "fink selfupdate" and "fink update-all" two times,
> dx-4.4.4-1506 still fails to compile:
>
> libtool: link: gcc-4.2 -g -O2 -I/usr/X11R6/include -D_GNU_SOURCE
> -dylib_file
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
>
>
>
-o dxexec main.o ../dxmods/user.o ../libdx/mem.o ../libdx/memory.o
> -L/sw/lib ../dpexec/.libs/libDPEXEC.a -L/usr/X11R6/lib
> -L/sw/lib/pango-ft219/lib -L/sw/lib/fontconfig2/lib -L/usr/X11/lib
> ../dxmods/.libs/libDXMODS.a ../dxmods/.libs/libDXMODSN.a
> ../libdx/.libs/libLIBDX.a ../hwrender/.libs/libHW.a
> ../hwrender/opengl/.libs/libOPENGL.a -lXinerama
> /sw/lib/libnetcdf.dylib /sw/lib/libdf.a /sw/lib/libjpeg.dylib
> /sw/lib/libsz.dylib -lXpm /sw/lib/libtiff.dylib -ldl
> /sw/lib/libXm.dylib -lXp -lGLU -lGL -lm -lXmu -lXext -lXt -lX11
> -lSM -lICE -lpthread /sw/lib/freetype219/lib/libfreetype.dylib
> /sw/lib/libMagickCore.dylib Undefined symbols: "_inflateEnd",
> referenced from: _HCIcdeflate_term in libdf.a(cdeflate.o)
> "_inflateInit_", referenced from: _HCIcdeflate_staccess2 in
> libdf.a(cdeflate.o) "_deflate", referenced from: _HCIcdeflate_term
> in libdf.a(cdeflate.o) _HCPcdeflate_write in libdf.a(cdeflate.o)
> "_deflateEnd", referenced from: _HCIcdeflate_term in
> libdf.a(cdeflate.o) "_deflateInit_", referenced from:
> _HCIcdeflate_staccess2 in libdf.a(cdeflate.o) "_inflate",
> referenced from: _HCIcdeflate_decode in libdf.a(cdeflate.o) ld:
> symbol(s) not found collect2: ld returned 1 exit status make[3]:
> *** [dxexec] Error 1 make[2]: *** [all-recursive] Error 1 make[1]:
> *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 ###
> execution of make failed, exit code 2 Removing runtime
> build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait
> -r fink-buildlock-dx-4.4.4-1506 (Reading database ... 214948 files
> and directories currently installed.) Removing
> fink-buildlock-dx-4.4.4-1506 ... Failed: phase compiling:
> dx-4.4.4-1506 failed
>
>
> The machine is a 2GHz Intel Core Duo iMac running 10.6.8 with:
> Package manager version: 0.31.4 Distribution version:
> selfupdate-cvs Tue Nov 1 09:02:49 2011, 10.6, i386 Trees:
> local/main stable/main stable/crypto unstable/main unstable/crypto
> Xcode: 3.2.6
>
>
> Could you please help me?
>
> All the best and thanks, Eduardo Pestana
>
>
>
I just made an update which should fix the issue: it doesn't find
libz.dylib.
The fix should be available shortly via selfupdate.
--
--
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/