[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8
From: |
Gary Polhill |
Subject: |
Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8 |
Date: |
Wed, 07 Jun 2006 13:14:26 +0100 |
Aha, so it doesn't. I've set my LD_LIBRARY_PATH accordingly and rebuilt from
scratch, but there still isn't a findImp in tools/.libs (in fact, this
directory is empty). If I now do ldd tools/findImp, I get the following:
libBLT24.so => /software/BLT-2.4z/lib/libBLT24.so
libtk8.4.so => /software/tk-8.4.12/lib/libtk8.4.so
libtcl8.4.so => /software/tcl-8.4.12/lib/libtcl8.4.so
libXpm.so.4.11 => /software/xpm/xpm-3.4k/lib/libXpm.so.4.11
libpng.so.3 => /software/libpng-1.2.8/lib/libpng.so.3
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libm.so.1 => /software/compilers/fd6u1/SUNWspro/lib/libm.so.1
libm.so.1 (SUNW_1.1) => (version not found)
libdl.so.1 => /usr/lib/libdl.so.1
libc.so.1 => /usr/lib/libc.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libgcc_s.so.1 => /software/gcc-3.3/lib/libgcc_s.so.1
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
libthread.so.1 => /usr/lib/libthread.so.1
Just to check if the SUNW_1.1 version of libm is an issue: if I do the
following:
tools/findImp Raster && echo "Raster found"
I get the message Raster found, and if I do
tools/findImp Bibble || echo "Bibble not found", I get:
../../../src/swarm-2.2/tools/findImp.m:49 main
Abort
Bibble not found
(I'm just guessing, from looking at the source code, what findImp is supposed
to do...) In any case, does this suggest that tools/findImp is not merely a
wrapper around tools/.libs/findImp, but a working program in its own right?
Output from make follows:
Making all in tools
make[2]: Entering directory `/software/guiswarm/build/swarm-2.2/tools'
if /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../../src/swarm-2.2/tools -I.. -I.. -I../libobjc
-I../../../src/swarm-2.2/libobjc -I../src -I../../../src/swarm-2.2/src
-I../../../src/swarm-2.2/src/collections -I../../../src/swarm-2.2/src/defobj
-I../../../src/swarm-2.2/src/activity -I../../../src/swarm-2.2/src/objectbase
-I../../../src/swarm-2.2/src/random -I../../../src/swarm-2.2/src/simtools
-I../../../src/swarm-2.2/src/gui -I../../../src/swarm-2.2/src/simtoolsgui
-I../../../src/swarm-2.2/src/misc -I. -DDLL_EXPORT -g -O2 -fgnu-runtime
-fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long -MT
findImp.lo -MD -MP -MF ".deps/findImp.Tpo" -c -o findImp.lo
../../../src/swarm-2.2/tools/findImp.m; \
then mv -f ".deps/findImp.Tpo" ".deps/findImp.Plo"; else rm -f
".deps/findImp.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/swarm-2.2/tools -I.. -I.. -I../libobjc
-I../../../src/swarm-2.2/libobjc -I../src -I../../../src/swarm-2.2/src
-I../../../src/swarm-2.2/src/collections -I../../../src/swarm-2.2/src/defobj
-I../../../src/swarm-2.2/src/activity -I../../../src/swarm-2.2/src/objectbase
-I../../../src/swarm-2.2/src/random -I../../../src/swarm-2.2/src/simtools
-I../../../src/swarm-2.2/src/gui -I../../../src/swarm-2.2/src/simtoolsgui
-I../../../src/swarm-2.2/src/misc -I. -DDLL_EXPORT -g -O2 -fgnu-runtime
-fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long -MT
findImp.lo -MD -MP -MF .deps/findImp.Tpo -c
../../../src/swarm-2.2/tools/findImp.m -o findImp.o
../../../src/swarm-2.2/tools/findImp.m: In function `main':
../../../src/swarm-2.2/tools/findImp.m:45: warning: implicit declaration of
function `swarm_force_references'
/bin/bash ../libtool --mode=link gcc -g -O2 -fgnu-runtime -fno-strict-aliasing
-Wall -Wno-import -Wno-protocol -Wno-long-long -o findImp -L../src
-L../libobjc findImp.lo -lswarm
mkdir .libs
gcc -g -O2 -fgnu-runtime -fno-strict-aliasing -Wall -Wno-import -Wno-protocol
-Wno-long-long -o findImp findImp.o -L/software/guiswarm/build/swarm-2.2/src
-L/software/guiswarm/build/swarm-2.2/libobjc
/software/guiswarm/build/swarm-2.2/src/.libs/libswarm.a
-L/software/guiswarm/build/swarm-2.2/src/space
-L/software/guiswarm/build/swarm-2.2/src/analysis
-L/software/guiswarm/build/swarm-2.2/src/simtoolsgui
-L/software/guiswarm/build/swarm-2.2/src/simtools
-L/software/guiswarm/build/swarm-2.2/src/random
-L/software/guiswarm/build/swarm-2.2/src/tkobjc
-L/software/guiswarm/build/swarm-2.2/src/tclobjc
-L/software/guiswarm/build/swarm-2.2/src/objectbase
-L/software/guiswarm/build/swarm-2.2/src/activity
-L/software/guiswarm/build/swarm-2.2/src/defobj
-L/software/guiswarm/build/swarm-2.2/src/collections
-L/software/guiswarm/build/swarm-2.2/src/misc -L/software/libpng-1.2.8/lib
-L/software/zlib-1.2.3/lib -L/software/BLT-2.4z/lib -L/software/tcl-8.4.12/lib
-L/software/xpm/xpm-3.4k/lib -L/software/tk-8.4.12/lib -L/usr/lib
/software/guiswarm/build/swarm-2.2/src/space/.libs/libspace.a
/software/guiswarm/build/swarm-2.2/src/analysis/.libs/libanalysis.a
/software/guiswarm/build/swarm-2.2/src/simtoolsgui/.libs/libsimtoolsgui.a
/software/guiswarm/build/swarm-2.2/src/simtools/.libs/libsimtools.a
/software/guiswarm/build/swarm-2.2/src/random/.libs/librandom.a
/software/guiswarm/build/swarm-2.2/src/tkobjc/.libs/libtkobjc.a
/software/guiswarm/build/swarm-2.2/src/tclobjc/.libs/libtclobjc.a
/software/guiswarm/build/swarm-2.2/src/objectbase/.libs/libobjectbase.a
/software/guiswarm/build/swarm-2.2/src/activity/.libs/libactivity.a
/software/guiswarm/build/swarm-2.2/src/defobj/.libs/libdefobj.a
/software/guiswarm/build/swarm-2.2/src/collections/.libs/libcollections.a
/software/guiswarm/build/swarm-2.2/src/misc/.libs/libmisc.a
/software/guiswarm/build/swarm-2.2/libobjc/.libs/libswarmobjc.a -lBLT24 -ltk8.4
-ltcl8.4 -lXpm -lpng -lz -lX11 -lsocket -lnsl -lm -ldl
make[2]: Leaving directory `/software/guiswarm/build/swarm-2.2/tools'
Making all in java
make[2]: Entering directory `/software/guiswarm/build/swarm-2.2/java'
cp -f ../../../src/swarm-2.2/java/java-stub.el ./_java-stub.el
TOP_BUILDDIR='/software/guiswarm/build/swarm-2.2'
BUILDDIR='/software/guiswarm/build/swarm-2.2/java'
SWARMSRCDIR='../../../src/swarm-2.2' /software/emacs-21.4a/bin/emacs -batch -f
batch-byte-compile /software/guiswarm/build/swarm-2.2/java/_java-stub.el
Wrote /software/guiswarm/build/swarm-2.2/java/_java-stub.elc
Done
mv ./_java-stub.elc java-stub.elc
rm -f ./_java-stub.el
TOP_BUILDDIR='/software/guiswarm/build/swarm-2.2'
BUILDDIR='/software/guiswarm/build/swarm-2.2/java'
SWARMSRCDIR='../../../src/swarm-2.2' /software/emacs-21.4a/bin/emacs -batch
--eval '(setq *disable-gui* nil)' -l
'/software/guiswarm/build/swarm-2.2/java/java-stub.elc' -f java-run-all-unicode
Searching for program: no such file or directory,
/software/guiswarm/build/swarm-2.2/tools/.libs/findImp
make[2]: *** [Makefile.common] Error 255
make[2]: Leaving directory `/software/guiswarm/build/swarm-2.2/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/software/guiswarm/build/swarm-2.2'
make: *** [all] Error 2
>>> address@hidden 2006-06-02 20:20:50 >>>
Gary,
> I then tried copying findImp from tools to tools/.libs
Typically the .libs version will be the real executable and the one
above the wrapper.
One question is whether that executes at all without dynamic linker errors.
Marcus
_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support
--
Please note that the views expressed in this e-mail are those of the
sender and do not necessarily represent the views of the Macaulay
Institute. This email and any attachments are confidential and are
intended solely for the use of the recipient(s) to whom they are
addressed. If you are not the intended recipient, you should not read,
copy, disclose or rely on any information contained in this e-mail, and
we would ask you to contact the sender immediately and delete the email
from your system. Thank you.
Macaulay Institute and Associated Companies, Macaulay Drive,
Craigiebuckler, Aberdeen, AB15 8QH.
- [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8, Gary Polhill, 2006/06/02
- Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8, Marcus G. Daniels, 2006/06/02
- Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8,
Gary Polhill <=
- Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8, Gary Polhill, 2006/06/07
- Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8, Marcus G. Daniels, 2006/06/07
- Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8, Gary Polhill, 2006/06/09
- Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8, Marcus G. Daniels, 2006/06/09
- Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8, Gary Polhill, 2006/06/09
- Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8, Marcus G. Daniels, 2006/06/09
- Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8, Gary Polhill, 2006/06/12
- Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8, Gary Polhill, 2006/06/12
- Re: [Swarm-Support] Compiling Swarm-2.2 on Solaris 2.8, Marcus G. Daniels, 2006/06/12