[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building Swarm 1.2 on Linux 5.0
From: |
L.A. Clark |
Subject: |
Building Swarm 1.2 on Linux 5.0 |
Date: |
Sat, 15 Aug 1998 16:01:25 +0000 |
Hi
we are having some trouble building Swarm 1.2 on a Linux 5.0 machine.
We do not have full access rights so we can't update to Redhat 5.1 or
install to /swarm. Instead we are having to put swarm in the
/home/laurence/swarm directory. We have tried to follow Paul Johnson's
FAQ but had to defer to the INSTALL file with swarm at several points:
In /home/laurence
mkdir swarm (to hold the tool-chain)
mkdir swarm-1.2 (for the destination version of swarm)
cd swarm
Build libffi-1.18
cp /tmp/ftp/libffi-1.18.tar.gz
tar -xvzf libffi-1.18.tar.gz
rm *.gz
cd libffi-1.18
./configure --prefix=/home/laurence/swarm
make
make install
Build tcl8.0
cd ..
cp /tmp/ftp/tcl8.0p2.tar.gz .
tar -xvzf tcl8.0p2.tar.gz
rm *.gz
cd tcl8.0/unix
./configure --prefix=/home/laurence/swarm --enable-gcc --enable-shared
make
make install
Build Tk8.0
cd ../..
cp /tmp/ftp/tk8.0p2.tar.gz .
tar -xvzf tk8.0p2.tar.gz
rm *.gz
cd tk8.0/unix
./configure --prefix=/home/laurence/swarm --enable-gcc --enable-shared
make
make install
Build Blt8.0unoff
cd ../..
cp /tmp/ftp/blt8.0-unoff-swarm-0.tar.gz .
tar -xvzf blt8.0-unoff-swarm-0.tar.gz .
rm *.gz
cd blt8.0-unoff/unix
mkdir Linux
cd Linux
../configure --prefix=/home/laurence/swarm --enable-shared
make
cd ../../demos
./barchart
cd ../unix/Linux
make install
cd /home/laurence/swarm/blt8.0-unoff/lib
ln -sf shared/libBLT8.0.so libBLT.so
Build tclobjc
cd ../..
cp /tmp/ftp/tclobjc-1.4.tar.gz .
tar -xvzf tclobjc-1.4.tar.gz
rm *.gz
cd tclobjc-1.4
./configure --prefix=/home/laurence/swarm/tclobjc-1.4
vi Makefile
Change the following lines in the Makefile
TCL_INCLUDE FLAGS = /home/laurence/swarm/include
TK_INCLUDE_FLAGS = /home/laurence/swarm/include
TCL_LIBRARY_FLAGS = -L/home/laurence/swarm/lib -ltcl8.0
TK_LIBRARY_FLAGS = -L/home/laurence/swarm/lib -ltk8.0
make
make check
cd /home/laurence/swarm/libffi-1.18/include
cp * /home/laurence/swarm/include
Build Swarm
cd /home/laurence/swarm/
cp /tmp/ftp/swarm-1.2.tar.gz .
tar -xvzf swarm-1.2.tar.gz
rm *.gz
ln -sf swarm-1.2 swarm
cd swarm
./configure --prefix=/home/laurence/swarm-1.2
--with-ffidir=/home/laurence/swarm
--with-tclobjcdir=/home/laurence/swarm/tclobjc-1.4
--with-bltdir=/home/laurence/swarm/blt8.0-unoff
--with-tkdir=/home/laurence/swarm --with-tcldir=/home/laurence/swarm
make
This results in the following error:
make[3]: Entering directory
`/home/laurence/swarm/swarm-1.2/src/objectbase'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I.. -I./.. -I./../collections -I./../defobj -I./../activity -I./../misc
-I/home/laurence/swarm/include -g -O2 -Wno-import -c CustomProbeMap.m
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I./.. -I./../collections
-I./../defobj -I./../activity -I./../misc -I/home/laurence/swarm/include
-g -O2 -Wno-import -c -fPIC -DPIC CustomProbeMap.m
CustomProbeMap.m: In function
`_c_CustomProbeMap__create_forClass_withIdentifiers_':
CustomProbeMap.m:18: `va_list' undeclared (first use this function)
CustomProbeMap.m:18: (Each undeclared identifier is reported only once
CustomProbeMap.m:18: for each function it appears in.)
CustomProbeMap.m:18: parse error before `argumentPointer'
CustomProbeMap.m:29: `argumentPointer' undeclared (first use this
function)
CustomProbeMap.m:40: parse error before `const'
CustomProbeMap.m:44: parse error before `const'
make[3]: *** [CustomProbeMap.lo] Error 1
make[3]: Leaving directory
`/home/laurence/swarm/swarm-1.2/src/objectbase'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/laurence/swarm/swarm-1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/laurence/swarm/swarm-1.2'
make: *** [all-recursive-am] Error 2
address@hidden swarm-1.2]$
Any suggestions?
thanks
Laurence Clark
address@hidden
==================================
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.
==================================
- Building Swarm 1.2 on Linux 5.0,
L.A. Clark <=