swarm-support
[Top][All Lists]
Advanced

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

Re: Building Swarm 1.2 on Linux 5.0


From: Laurence
Subject: Re: Building Swarm 1.2 on Linux 5.0
Date: Tue, 18 Aug 1998 01:02:54 +0100

Hi

We have finally successfully compiled Swarm 1.2 - thanks for your help.
The problem was solved eventually by changing a line in CustomProbeMap.m
from:
      #import <stdarg.h>
to:
      #include <stdarg.h>

This results in the following guide for installing Swarm in a non-standard
directry....

In /home/laurence

mkdir swarm
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 1.3

cd ../..
cp /tmp/ftp/tclobjc-1.3.tar.gz .
tar -xvzf tclobjc-1.3.tar.gz
rm *.gz
cd tclobjc-1.3
./configure --prefix=/home/laurence/swarm
vi Makefile

Change 
TCL_INCLUDE FLAGS = -I/home/laurence/swarm/include
TK_INCLUDE_FLAGS = -I/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
make install

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/ 
--with-bltdir=/home/laurence/swarm/blt8.0-unoff 
--with-tkdir=/home/laurence/swarm --with-tcldir=/home/laurence/swarm
make

this results in the error:
CustomProbemap.m:18 `va_list' undeclared (first use in this function)

change the #import <stdarg.h> in
/home/laurence/swarm/swarm-1.2/src/objectbase/CustomProbeMap.m to
#include <stdarg.h>

make
make install

in /home/laurence/.profile
add the lines:
export LD_LIBRARY_PATH=/home/laurence/swarm
/lib:/home/laurence/swarm-1.2/lib:$LD_LIBRARY_PATH
export SWARMHOME=/home/laurence/swarm:$SWARMHOME


Best wishes, Laurence (address@hidden)
---------------------
http://www.csc.liv.ac.uk/~laurence


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