swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building from source on RedHat 7 (was: Re: Java--Passing selector argum


From: Tom Wainwright
Subject: Building from source on RedHat 7 (was: Re: Java--Passing selector arguments to EZGraph)
Date: Mon, 26 Mar 2001 16:40:28 -0800

"Marcus G. Daniels" wrote:
> 
> For some strange reason, Redhat decided to distribute an unreleased
> version of the compiler with 7.0, and it causes significant grief.
> If not for Swarm, then for HDF5 1.4.0, which is what you need to avoid
> the HDF5Object.m error you mention.  You can also configure with
> "--without-hdf5dir" to disable HDF5.  I just build gcc-2.95.3 whenever
> I need to use Redhat 7.0.  GCC 2.95.3 is at ftp://ftp.gnu.org/pub/gnu/gcc
> 

OK, so I had two problems:  too new a version of gcc (2.96-69), and too old
a version of hdf5 (1.2.2).  I excercised my computer this afternoon by
installing GCC 2.95-3 from source, then installing hdf5-1.4.0 from source,
then trying to rebuild Swarm from source.  I got a lot farther with Swarm
this time, but still not all the way--it can't seem to find a
"swarm_lookup_module".  See "make" errors below.

--Tom

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

make[2]: Entering directory `/home/twain/tmp/swarm-2001-03-20/tools'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src -I../libobjc
-I../libobj
c -I../src/collections -I../src/defobj -I../src/activity
-I../src/objectbase -I.
./src/random -I../src/simtools -I../src/gui -I../src/simtoolsgui
-I../src/misc -
I.   -D_GNU_SOURCE  -g -O2 -Wall -Wno-import -Wno-protocol -Werror -c -o
findImp
.o findImp.m
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -Wno-import -Wno-protocol
-Werr
or   -o findImp -L../src -L../libobjc findImp.o -lswarm
mkdir .libs
gcc -g -O2 -Wall -Wno-import -Wno-protocol -Werror -o .libs/findImp
findImp.o -L
/home/twain/tmp/swarm-2001-03-20/src
-L/home/twain/tmp/swarm-2001-03-20/libobjc/home/twain/tmp/swarm-2001-03-20/src/.libs/libswarm.so
-L/home/twain/tmp/swarm-2
001-03-20/src/space -L/home/twain/tmp/swarm-2001-03-20/src/analysis
-L/home/twai
n/tmp/swarm-2001-03-20/src/simtoolsgui
-L/home/twain/tmp/swarm-2001-03-20/src/si
tmp/swarm-2001-03-20/src/simtools/.libs/libsimtools.so
/home/twain/tmp/swarm-2001-03-20/src/random/.libs/librandom.so
/home/twain/tmp/swarm-2001-03-20/src/tkobjc/.libs/libtkobjc.so
/home/twain/tmp/swarm-2001-03-20/src/tclobjc/.libs/libtclobjc.so
/home/twain/tmp/swarm-2001-03-20/src/objectbase/.libs/libobjectbase.so
/home/twain/tmp/swarm-2001-03-20/src/activity/.libs/libactivity.so
/home/twain/tmp/swarm-2001-03-20/src/defobj/.libs/libdefobj.so
/home/twain/tmp/swarm-2001-03-20/src/collections/.libs/libcollections.so
/home/twain/tmp/swarm-2001-03-20/src/misc/.libs/libmisc.so
/home/twain/tmp/swarm-2001-03-20/libobjc/.libs/libobjc.so -lgcc -lBLT24
-ltk8.3 -ltcl8.3 -lXpm -lpng /usr/local/lib/libhdf5.so -lssl -lcrypto -lz
-lnsl -lm -lX11 -ldl /home/twain/tmp/swarm-2001-03-20/src/.libs/libswarm.so
-Wl,--rpath -Wl,/opt/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/lib -Wl,--rpath -Wl,/usr/X11R6/lib
/home/twain/tmp/swarm-2001-03-20/src/.libs/libswarm.so: undefined reference
to `swarm_lookup_module'
collect2: ld returned 1 exit status
make[2]: *** [findImp] Error 1
make[2]: Leaving directory `/home/twain/tmp/swarm-2001-03-20/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/twain/tmp/swarm-2001-03-20'
make: *** [all-recursive-am] Error 2   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The only other warnings during make occurred in directory "src" just before
the above errors:

/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Directo
ry' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Protoco
l' are not defined
/usr/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Argumen

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]