Hi Paul:
Recently I had a chance to download and attempt compiling swarm - a
package I am interested in - or at lease the description thereof.
You receive this mail because from the place I work (client site) I
don't have the luxury to post messages to user groups; I realize how
busy you probably are, and therefore would appreciate your feedback; if
find it appropriate, post it on swarm.support user group on my behalf.
Having great respect to RedHat, I'd say that there are other decent
Linux distributions; please correct me if I am wrong, but it seems
SWARM is designed, built and supported targeting RedHat distribution;
and this somehow restricts the usage and dare to say, the development
of it.
Anyway, being Linux maniac, I have both RedHad 7.1 and Slackware 8.0 on
separate machines; the attachment contains something like a log of my
experience on these machines (it is saved on MS DOS machine (Win 2000
Pro)); this mail is getting too long, so I'd appreciate your advise on
the matter.
Thank you.
------------------------------------------------------------------------
I. RedHat 7.1 Kernel: 2.4.2-2 gcc version: 2.96.20000731
1. Installation of BLT library:
#cd swarm-2.1.1
#./configure
complained about missing BLT library: when I try to install downloaded version of "blt-2.4c-1.i386.rpm" from somewhere on the Web,
#rpm -i blt-2.4c-1.i386.rpm
complains about dependancy from libtcl8.0.so, libtk8.0.so, despite existing soft links
/usr/lib/libtcl.so->/usr/lib/libtcl8.3.so
/usr/lib/libtk.so->/usr/lib/libtk8.3.so
and the same thing after creating :
/usr/lib/libtcl8.0.so->/usr/lib/libtcl8.3.so
/usr/lib/libtk8.0.so->/usr/lib/libtk8.3.so
'rpm -i' again complains;
THEN finally when gnome_rpm offers to ignore these dependencies (the system would become unstable ?!), I
said: yes, make the system unstable, install BLT library and go away ... this time around ./configure went through but apparently Makefile-s are wrong.
2. Configuration and compiling process:
2.1
#make
...
cc1obj: warnings being treated as errors
In file included from objc/typedstream.h:31,
from objc/Object.h:31,
from objc/NXConstStr.h:31,
from NXConstStr.m:28:
objc/hash.h: In function `compare_strings':
objc/hash.h:203: warning: implicit declaration of function `strcmp'
2.2
#make
...
In file included from Object.m:28:
objc/Protocol.h:58:8: extra tokens at end of #endif directive
make[4]: *** [Object.lo] Error 1
2.3
#make
...
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.. -I./.. -I../../libobjc
-I../../libobjc -I./../collections -I./../defobj -I./../misc -I../../avcall
-D_GNU_SOURCE -DBUILDING_SWARM -g -O2 -Wall -Wno-import -Wno-protocol -Werror
-Wno-unknown-pragmas -c -fPIC -DPIC Action.m -o .libs/Action.lo
cc1obj: warnings being treated as errors
Action.m: In function `-[FActionForEachHomogeneous(c) __performAction::]':
Action.m:578: warning: implicit declaration of function `abort'
and so on ... the package did not compile
In slackware machine, fresh install with all tools for development installed
II. Slackware 8.0, Kernel 2.4.5, gcc version: 2.95.3 (200.10.315)
1. Installation of BLT library:
#cd /
#tar -xvzf blt-2.4c-1.i386.tar.gz
2. Configuration and compiling process
#cd ~/swarm-2.1.1
#./configure
#make 1> 2> err.log
This is fragment from err.log:
make[4]: Entering directory `/root/swarm-2.1.1/src/tkobjc'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../.. -I../../libobjc -I../../libobjc -I./../collections -I./../defobj
-I./../objectbase -I.. -I./.. -I./../gui -I./../misc -I./../activity
-I./../tclobjc -D_GNU_SOURCE -DBUILDING_SWARM -g -O2 -Wall -Wno-import
-Wno-protocol -Werror -Wno-unknown-pragmas -I/usr/X11R6/include
-Wno-implicit-int -c -o internal.lo internal.m
rm -f .libs/internal.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libobjc -I../../libobjc
-I./../collections -I./../defobj -I./../objectbase -I.. -I./.. -I./../gui
-I./../misc -I./../activity -I./../tclobjc -D_GNU_SOURCE -DBUILDING_SWARM -g
-O2 -Wall -Wno-import -Wno-protocol -Werror -Wno-unknown-pragmas
-I/usr/X11R6/include -Wno-implicit-int -c -fPIC -DPIC internal.m -o
.libs/internal.lo
gcc: Internal compiler error: program cc1obj got fatal signal 15
make[4]: Leaving directory `/root/swarm-2.1.1/src/tkobjc'
make[3]: Leaving directory `/root/swarm-2.1.1/src/tkobjc'
make[2]: Leaving directory `/root/swarm-2.1.1/src'
make[1]: Leaving directory `/root/swarm-2.1.1'
make[4]: *** [internal.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2