swarm-support
[Top][All Lists]
Advanced

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

Re: misshaps on RedHat and Slackware


From: Paul Johnson
Subject: Re: misshaps on RedHat and Slackware
Date: Tue, 08 Oct 2002 09:17:47 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606

Dear Sylvester:

Swarm is intended for use on any system that supports gcc and other GNU tools. I am proving RPMS for RedHat linux because RedHat is what I happen to use, but we are eager to have people provide packages for other operating systems or versions of Linux. I vigorously assure you none of the development work on Swarm is in any way oriented to RedHat because there is no developer who uses RedHat linux! (except for me, and I just piddle around doing little particular things I want).

Rather it is best to say we are heavily invested in the idea of Free Software, GNU automake, autoconf, make, gcc, libtool, gperf, tcl/tk/blt. These are all things you can download, read about, and install in your system in order to build Swarm.

About 1 year ago--when I was using RH7.1, I did provide Swarm RPMS and info for that system. You probably need to check out:

http://lark.cc.ku.edu/~pauljohn/Swarm/Swarm-2.x_RPMSforRH7/

That dir has material from the time I was using RH7 and 7.1. It looks to me like I did not build versions for both i386 and i686 every time, but you have a big selection of snapshots. The comments I give indicate that about version 2.1.72 is when I was using RH7.1. If you notice the directory structure I have there, then it indicates I started a new directory for RH7.2, so I believe that means the newest one in the RH7 directory will be the last one I built with RH7.1. The newest one requires a version of gcc3.0.1 I describe.

The problems you are experiencing are somewhat unusual because you are not following the recommended package management scheme.

1. blt comes with the RedHat distribution. I suspect the trouble you are having installing the blt rpm is because you are using a blt edition that is not from RH itself.

At one time, we all had to build blt on our own and it requires one to get the sources of tcl/tk, situate the blt source inside there, do configure etc with some flags. So, if you don't have a blt intended for your distribution, forget it. Just build blt on your own if that's where you are at.

Don't go creating sym links by hand or forcing rpm installs. The system is warning you for a reason.

2. The other problems you are experiencing are due to problems with your compiler and a somewhat old edition of swarm. The configure/compile process is described in greater depth in the SwarmFaq and I think you should check that in case you want to go on building swarm.


Sylvester Zafiroff wrote:
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



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


                 ==================================
  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]