swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Error in install (RH 7.1)


From: Paul Johnson
Subject: Re: [Swarm-Support] Error in install (RH 7.1)
Date: Wed, 02 Jul 2003 22:09:31 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

You are going to need gcc-3.0.4 or better. I'd recommend that you take the step of updating your RedHat to at least 7.3.

7.1 was a long time ago. I still have online notes from those days

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

It reminds me of lots of hassles.

If you make the minimal upgrade to RH 7.3 (it is free software, you know), then I have online RPMS for Swarm newer than the snap you are trying to build:

http://lark.cc.ku.edu/~pauljohn/Swarm/Swarm-2.2x_RPMSforRH7.3/swarm-2.1.143.20030512-1RH7.3.i386.rpm

If you read that directory's header information, it has some crapola about gcc and j2sdk gyrations that can be used. I do have RPMs you can use for gcc in case you want to compile, but I don't think you should. I think you should try those RPMS.

Last week I upgraded that system to RH9, so now all my systems are RH 9 and I'm not able to make any more RH7.3 RPMS. But if you upgrade to RH7.3, then you could!

Agustin Ramos Fonseca wrote:
Hello.

I'm new to Swarm and I tried to build the 2002-05-14 snapshot on a
RedHat 7.1 system with gcc 2.96. After running configure, make fails
with the following message
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/home/atrf/swarm-2002-05-14/libobjc -I. -I./objc
-I/home/atrf/swarm-2002-05-14/libobjc/objc
-I/home/atrf/swarm-2002-05-14/libobjc   -DBUILDING_LIBOBJC  -Wall -Werror -g
-O2 -c -o NXConstStr.lo `test -f NXConstStr.m || echo
'/home/atrf/swarm-2002-05-14/libobjc/'`NXConstStr.m
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I/home/atrf/swarm-2002-05-14/libobjc -I. -I./objc
-I/home/atrf/swarm-2002-05-14/libobjc/objc
-I/home/atrf/swarm-2002-05-14/libobjc -DBUILDING_LIBOBJC -Wall -Werror -g
-O2 -c NXConstStr.m -MT NXConstStr.lo -MD -MP -MF .deps/NXConstStr.TPlo
-fPIC -DPIC -o .libs/NXConstStr.lo
In file included from objc/Object.h:30,
                 from objc/NXConstStr.h:31,
                 from NXConstStr.m:28:
objc/objc.h:152: conflicting types for `objc_msg_lookup'
NXConstStr.m:27: previous declaration of `objc_msg_lookup'
make[4]: *** [NXConstStr.lo] Error 1
make[4]: Leaving directory `/home/atrf/swarm-2002-05-14/libobjc'
...
...

I'm new to Objective C, but the line
NXConstStr.m:27: previous declaration of `objc_msg_lookup'

is nonsense since line 27 in NXConstStr.m is blank and line 28 is the first
line
of code in the file.
I noted make is trying to build the Objective C library, which is already
installed in my system from the rpm. The installation files are

/usr/lib/gcc-lib/i386-redhat-linux/2.96/cc1obj
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/NXConstStr.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/Object.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/Protocol.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/encoding.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/hash.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/objc-api.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/objc-list.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/objc.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/sarray.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/thr.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/objc/typedstream.h
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libobjc.a
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libobjc.la
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libobjc.so
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libobjc.so.1
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libobjc.so.1.0.0
/usr/lib/libobjc.so.1
/usr/lib/libobjc.so.1.0.0

Has anyone built this snapshot on RH 7.1?
Could any one please give me some help?

Thank you.

Agustín T.Ramos Fonseca
Software Engineer
Insys S.A. de C.V.
Phone: (55) 53225277
e-mail: address@hidden http://www.insys-corp.com.mx

_______________________________________________
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
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700



reply via email to

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