swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Trouble with installing Swarm-2.2


From: Paul Johnson
Subject: Re: [Swarm-Support] Trouble with installing Swarm-2.2
Date: Thu, 25 Aug 2005 16:40:09 -0500
User-agent: Mozilla Thunderbird 1.0.6-1.1.fc4 (X11/20050720)

I don't know what operating system you are using, so I just can't tell you what to do.

Don't ever do "make" as root. Only be root as long as you need to, and only for "make install" if absolutely necessary, but maybe not even then. Install packages someplace else safe if you are doing "make install" There is a danger that you have done some unsolveable damage by building and doing "make install" as root and writing stuff all over /usr. It may be you have to start with a clean system in order to get it put back correctly.

Oh, I can say for sure you are wrong to build swarm the way you are and the SwarmFaq tells how you ought to do it.

Also, "make clean" won't work because it does not fix the failed configure. You should be save and delete the src dir and start fresh, but at bare minimum you need "make distclean" (and that does not always solve the problem).

The blt problem you have may be because blt2.4 changed the name of one file and you can compensate for that by making a symbolic link.

like this

ln -sf %{_libdir}/blt2.4/graph.tcl %{_libdir}/blt2.4/bltGraph.tcl


I have not had success building with jdk1.5, so you may want to forget about that for a while.

Next time you ask, please give us the complete output of the configure statements and all the commands you typed up to that point.

If you are a linux system, there should be pre-build packages for most of these things you are installing.

Rajagopal, Abhilash (UMR-Student) wrote:
Hello

Ok, These are the steps i followed to install Swarm-2.2

I installed the following without errors in </usr> :

BLT2.4z        from soundforge.net
TCL/TK 8.3.3   from soundforge.net
libpng 1.2.8   from soundforge.net
zlib 1.2.2     from soundforge.net
xpm 3.4k       from ftp://ftp.swarm.org/pub/swarm/src/needed
hdf5 1.2.1     from ftp://ftp.swarm.org/pub/swarm/src/needed
jdk1.5         from sun
GCC 3.4.4      from soundforge.net
libffi-1.2     from ftp://ftp.swarm.org/pub/swarm/src/needed
make 3.78.1    from ftp://ftp.swarm.org/pub/swarm/src/needed
kaffe 1.0.5    from ftp://ftp.swarm.org/pub/swarm/src/needed

Then i downloaded swarm2.2 and ran "./configure --prefix=/usr"
then "make". There were some errors about BLT2.4z
so i downloaded
BLT2.4o        from ftp://ftp.swarm.org/pub/swarm/src/needed

ran "make clean" and configured, ran "make" and installed this version without 
errors

and then ran "make clean" for swarm2.2 and configured it and ran "make"

This time it was not showing errors in "make" so i guess it was the BLT version 
problem like you mentioned. So that's fixed now!

Then i ran "make check" and this gave the following errors:

address@hidden swarm-2.2]# make check
Making check in libobjc
make[1]: Entering directory `/usr/swarm2.2/swarm-2.2/libobjc'
Making check in objc
make[2]: Entering directory `/usr/swarm2.2/swarm-2.2/libobjc/objc'
make[2]: Leaving directory `/usr/swarm2.2/swarm-2.2/libobjc/objc'
Making check in doc
make[2]: Entering directory `/usr/swarm2.2/swarm-2.2/libobjc/doc'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/usr/swarm2.2/swarm-2.2/libobjc/doc'
Making check in m4
make[2]: Entering directory `/usr/swarm2.2/swarm-2.2/libobjc/m4'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/usr/swarm2.2/swarm-2.2/libobjc/m4'
make[2]: Entering directory `/usr/swarm2.2/swarm-2.2/libobjc'
make[2]: Leaving directory `/usr/swarm2.2/swarm-2.2/libobjc'
make[1]: Leaving directory `/usr/swarm2.2/swarm-2.2/libobjc'
Making check in avcall
make[1]: Entering directory `/usr/swarm2.2/swarm-2.2/avcall'
gcc -g -O2 -I. -I. -c ./minitests.c
/bin/sh ./libtool --mode=link gcc -g -O2 -x none minitests.o libavcall.la -o 
minitests
gcc -g -O2 -x none minitests.o -o minitests  ./.libs/libavcall.a
./minitests > minitests.out
uniq -u < minitests.out > minitests.output.i686-pc-linux-gnu
test '!' -s minitests.output.i686-pc-linux-gnu
make[1]: *** [check] Error 1
make[1]: Leaving directory `/usr/swarm2.2/swarm-2.2/avcall'
make: *** [check-recursive] Error 1


Can sombody please help me out??

Thank you very much



Regards
-----------------------------------------
Abhilash Rajagopal
Graduate Student & Research Assistant
120 ERL, 1870 Miner Circle
University of Missouri, Rolla
Rolla, MO 65409




-----Original Message-----
From: address@hidden on behalf of Paul Johnson
Sent: Wed 8/17/2005 3:04 PM
To: Swarm Support
Subject: Re: [Swarm-Support] Trouble with installing Swarm-2.2
We need to know more to help you. Tell us exactly the steps you have taken along the lines of this:

http://www.ku.edu/~pauljohn/SwarmFaq/SwarmOnlineFaq.html#2.4

Give us exact information about your Operating System, your version of gcc, your configure statement and output (especially since you have a blt problem) the source package you are starting with, and so forth.

The blt version is important because 2.4z does not by default install a file that Swarm needs, and we have been creating a symbolic link to fix that. In my system, I have a link in /usr/lib/blt2.4/ from graph.tc. to bltGraph.tcl

lrwxrwxrwx 1 root root 25 Dec 27 2004 bltGraph.tcl -> /usr/lib/blt2.4/graph.tcl

Rajagopal, Abhilash (UMR-Student) wrote:

Hello,

I am trying to install Swarm-2.2. I did the configure part and while making the file, i got the following error. I installed the list of other softwares needed for swarm and i didnt have any errors in installing them.
Can someone please help me out?


gcc -g -O2 -fgnu-runtime -fno-strict-aliasing -Wall -Wno-import -Wno-protocol 
-Wno-long-long -o .libs/findImp .libs/findImp.o  -L/usr/swarm2.2/swarm-2.2/src 
-L/usr/swarm2.2/swarm-2.2/libobjc /usr/swarm2.2/swarm-2.2/src/.libs/libswarm.so 
-L/usr/swarm2.2/swarm-2.2/src/space -L/usr/swarm2.2/swarm-2.2/src/analysis 
-L/usr/swarm2.2/swarm-2.2/src/simtoolsgui 
-L/usr/swarm2.2/swarm-2.2/src/simtools -L/usr/swarm2.2/swarm-2.2/src/random 
-L/usr/swarm2.2/swarm-2.2/src/tkobjc -L/usr/swarm2.2/swarm-2.2/src/tclobjc 
-L/usr/swarm2.2/swarm-2.2/src/objectbase -L/usr/swarm2.2/swarm-2.2/src/activity 
-L/usr/swarm2.2/swarm-2.2/src/defobj -L/usr/swarm2.2/swarm-2.2/src/collections 
-L/usr/swarm2.2/swarm-2.2/src/misc -L/usr/lib -L/usr/X11R6/lib 
/usr/swarm2.2/swarm-2.2/src/space/.libs/libspace.so 
/usr/swarm2.2/swarm-2.2/src/analysis/.libs/libanalysis.so 
/usr/swarm2.2/swarm-2.2/src/simtoolsgui/.libs/libsimtoolsgui.so 
/usr/swarm2.2/swarm-2.2/src/simtools/.libs/libsimtools.so 
/usr/swarm2.2/swarm-2.2/src/r


a!

ndom/.libs/librandom.so /usr/swarm2.2/swarm-2.2/src/tkobjc/.libs/libtkobjc.so 
/usr/swarm2.2/swarm-2.2/src/tclobjc/.libs/libtclobjc.so 
/usr/swarm2.2/swarm-2.2/src/objectbase/.libs/libobjectbase.so 
/usr/swarm2.2/swarm-2.2/src/activity/.libs/libactivity.so 
/usr/swarm2.2/swarm-2.2/src/defobj/.libs/libdefobj.so 
/usr/swarm2.2/swarm-2.2/src/collections/.libs/libcollections.so 
/usr/swarm2.2/swarm-2.2/src/misc/.libs/libmisc.so 
/usr/swarm2.2/swarm-2.2/libobjc/.libs/libswarmobjc.so -lBLT24 -ltk8.4 -ltcl8.4 
-lXpm /usr/lib/libpng.so /usr/lib/libhdf5.so -L/usr/ncsa/lib 
/usr/lib/libjpeg.so -lnsl -lz -lX11 -lm -ldl  -Wl,--rpath -Wl,/usr/lib/swarm
/usr/lib/libBLT24.so: undefined reference to `TkSetClassProcs'
collect2: ld returned 1 exit status
make[2]: *** [findImp] Error 1
make[2]: Leaving directory `/usr/swarm2.2/swarm-2.2/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/swarm2.2/swarm-2.2'
make: *** [all] Error 2




Thanks you


-----------------------------------------
Abhilash Rajagopal
Graduate Student & Research Assistant
120 ERL, 1870 Miner Circle
University of Missouri, Rolla
Rolla, MO 65409


_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support




------------------------------------------------------------------------

_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support


--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700


reply via email to

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