Hi Paul,
thanks so much for your quick help. Here is what happened:
I was trying to manually compile swarm-2.1.143.20030512. Following your
suggestion, I compiled it in a separate build directory, but I stuck on
gcc 3.2, with GNU libtool 1.4.2 (1.922.2.53 2001/09/11 03:18:52). I just
ran "configure--make--make install" sequence without any change
anywhere.It compiled as smooth as silk (without JDK).
.
I then installed it in a non-standard directory (by ./configure
--prefix=/home/user/swarm).
I then compiled one of my old swarm program in objectC (from swarm 2.0)
and I got this error:
/bin/sh /home/usr/swarm/bin/libtool-swarm --mode link gcc -g -O2
-L/home/usr/swarm/lib -rpath /home/usr/swarm/lib -o base main.o
Person.o Counter.o Genesis.o ModelSwarm.o ObserverSwarm.o Game.o
Groups.o BatchSwarm.o -lswarm -lswarmobjc
libtool-swarm: link: warning: library
`/home/usr/swarm/lib/libswarmobjc.la' was moved.
libtool-swarm: link: cannot find the library
`/usr/local/lib/libswarmobjc.la'
make: *** [base] Error 1
I checked and libswarmobjc.la was in /home/usr/swarm/lib.
I also checked libtool-swarm --config, but nothing pointed to
/home/usr/swarm. I then copied libswarmobjc.* from /home/usr/swarm to
/usr/local/lib, and everything works well. All my programs compile and
run well.
Do you know why I had this problem?
I have read on the mailing list about the problems with gcc 3.2, but it
seems to work fine for me. Is that an illusion?
thanks a lot of the help
marcello
P.S. please let me know if you need any details about my system.