[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: One more time / Arrguments.m
From: |
Alex Lancaster |
Subject: |
Re: One more time / Arrguments.m |
Date: |
27 Jul 1998 19:01:01 -0600 |
>>>>> "LV" == L Thomas Vest, <address@hidden> writes:
LV> Hello all, I'm trying to install Swarm-1.2 on a PowerPC 8500/120
LV> running the latest version of LinuxPPC (to be released later
LV> today, so I hear), which is based on Redhat 5.1. All the
LV> prerequisite libraries went in without a hitch, but I'm having
LV> trouble getting Swarm to put it all together. After configuring
LV> per Paul's faq instructions, with egcs and -lpthread, I ...
LV> ... make snagged at swarm-1.2/src/objectbase:
LV> Entering directory `/swarm/swarm-1.2/src/objectbase'
LV> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
LV> -I.. -I./.. -I./../collections -I./../defobj -I./../activity -I./../misc
LV> -I/swarm/ffi-1.18/include -g -O2 -Wno-import -c Arguments.m
LV> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I./.. -I./../collections
LV> -I./../defobj -I./../activity -I./../misc -I/swarm/ffi-1.18/include -g -O2
LV> -Wno-import -c -fPIC -DPIC Arguments.m
LV> In file included from Arguments.m:19:
LV> version.h:3: parse error before `1.2'
LV> Arguments.m:27: parse error before `1.2'
LV> Arguments.m: In function `findSwarm':
LV> Arguments.m:289: `swarm_version' undeclared (first use this function)
LV> Arguments.m:289: (Each undeclared identifier is reported only once
LV> Arguments.m:289: for each function it appears in.)
LV> make[3]: *** [Arguments.lo] Error 1
LV> make[3]: Leaving directory `/swarm/swarm-1.2/src/objectbase'
LV> make[2]: *** [all-recursive] Error 1
LV> make[2]: Leaving directory `/swarm/swarm-1.2/src'
LV> make[1]: *** [all-recursive] Error 1
LV> make[1]: Leaving directory `/swarm/swarm-1.2'
LV> make: *** [all-recursive-am] Error 2
What do you get if you go into src/objectbase in your build directory
and `cat version.h'?
I suspect that you may not be doing a clean build. If you are still
having problems, ensure that you completely remove your build
directory and start-over.
You should also remove your source directory and untar the archive
from scratch. I recommend using *separate* build and source trees.
Here's the steps, I'd follow to make *absolutely sure* you are doing a
completely clean install (replace home with wherever you want on your
home system).
1. Create your src and build directories:
$ cd /home
$ mkdir src
$ mkdir build
2. Untar your archive:
$ cd /home/src
$ tar zxvf swarm-1.2.tar.gz
$ ls
3. Go into your build directory
$ cd /home/build
$ mkdir swarm-build
$ cd swarm-build
4. Set-up a configure command (which I suggest saving as a shell script):
i.e. save the following as build-swarm-PPC (remember the command is
all on one line!):
#!/bin/sh
/home/src/swarm-1.2/configure --srcdir=/home/src/swarm-1.2
--prefix=<wherever-you-want-swarm-installed>
--<all-your-other-Swarm-configure-options>....
Make it executable:
$ chmod +w build-swarm-PPC
5. Run the shell-script from /home/build/swarm-build:
$ ./build-swarm-PPC
$ make
These steps are good for all systems, PowerPPC or Unix/Linux.
--- Alex
--
Alex Lancaster | e-mail: address@hidden
Swarm Developer | web: http://www.santafe.edu/~alex
Santa Fe Institute | tel: +1-(505) 984-8800 (ext 242)
------------------------------------------------------------------
==================================
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.
==================================