On Sep 30, 2004, at 6:43 AM, Viv Kendon wrote:

On Wed, 29 Sep 2004, Alexander K. Hansen wrote:

On Sep 28, 2004, at 6:49 PM, Viv Kendon wrote:

Trying to build dx fails as follows:

<snip>
mkdir .libs
ar cru .libs/libDXEXEC.a  libDXEXEC_la-main.o
ranlib .libs/libDXEXEC.a
creating libDXEXEC.la
(cd .libs && rm -f libDXEXEC.la && ln -s ../libDXEXEC.la
libDXEXEC.la)
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I./../dpexec
-Dmacos  -I/sw/include -I/usr/X11R6/include  -g -O2
-I/usr/X11R6/include -D_GNU_SOURCE -c `test -f 'main.c' ||
echo './'`main.c
sh ../../../libtool --mode=link gcc  -g -O2
-I/usr/X11R6/include -D_GNU_SOURCE  -L/sw/lib -o dxexec
main.o ../dpexec/libDPEXEC.la ../dxmods/libDXMODS.la
../dxmods/user.lo ../dxmods/libDXMODSN.la
../libdx/libLIBDX.la ../libdx/mem.lo ../libdx/memory.lo
../hwrender/libHW.la ../hwrender/opengl/libOPENGL.la
-lnetcdf -ldf -lXpm -ltiff -ldl -lXm -lXp -lGLU -lGL -lm
-lXext -lXt -lX11 -lxm -lxt -lSM -lICE -L/usr/X11R6/lib
-lpthread
gcc -g -O2 -I/usr/X11R6/include -D_GNU_SOURCE -o dxexec
main.o ../dxmods/user.o ../libdx/mem.o ../libdx/memory.o
-L/sw/lib ../dpexec/.libs/libDPEXEC.a -L/usr/X11R6/lib
../dxmods/.libs/libDXMODS.a ../dxmods/.libs/libDXMODSN.a
../libdx/.libs/libLIBDX.a ../hwrender/.libs/libHW.a
../hwrender/opengl/.libs/libOPENGL.a -lnetcdf -ldf -lXpm
-ltiff -ldl -lGLU -lGL -lm /sw/lib/libXm.dylib -lXt -lXp
-lXext -lX11 -lxt -lSM -lICE -lpthread
ld: warning prebinding disabled because dependent library:
/sw/lib/libnetcdf.3.dylib is not prebound
ld: /sw/lib/libdf.a(cdeflate.o) illegal reference to symbol:
_deflate defined in indirectly referenced dynamic library
/usr/lib/libz.1.dylib
ld: /sw/lib/libdf.a(dfjpeg.o) illegal reference to symbol:
_jpeg_destroy_compress defined in indirectly referenced
dynamic library /sw/lib/libjpeg.62.dylib

libdf.a is from hdf, so that might be a good place to start.

Just tried again after rebuilding hdf, but it made no difference (and the previous build was fairly new, 18th Sept so I wasn't hopeful). Version I have is 4.2r0-3 (the latest) in case that makes any difference. And the only reason I have it installed is because dx depends on it (I just tried removing it).

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
Failed: compiling dx-4.3.2-1 failed

I guess I may need to rebuild some of the libs mentioned
above: any clues as to which may be causing problems?

Package manager version: 0.22.2
Distribution version: 0.7.1.rsync
10.3.5
XFree86 4.4.0 installed from binaries

For what it's worth, I got dx to build here with XCode 1.5 and X.org
6.8.1

Well, trying X.org 6.8.1 is on my list of things to do (I have XCode1.5 installed). But since one of the conflicting symbols is apparently to do with /usr/lib/libz.1.dylib, I can't see how a different version of X would help...I should have a fairly clean install of 10.3, I did an archive install when I upgraded.

I think I'm jinxed with dx, I haven't been able to build it
since 2002 and OS10.1!

-- Viv
------------------------------------------------
Dr Viv Kendon                [EMAIL PROTECTED]
QOLS                          tel: 020 7594 7746
Blackett Laboratory      Imperial College London


I couldn't build it the previous time I tried, either. The only obvious change that I can think of with my system was from XFree86 to X.org.


The messages are somewhat cryptic here--they don't quite look like the usual fatal error messages. Maybe try rebuilding libjpeg?
--
Alexander Hansen
Fink Documentarian
[Day Job] Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to