|
From: | beyier wang |
Subject: | [Swarm-Support] how to config eclipse on linux platform for javaswarm ?the detail configure file. |
Date: | Fri, 9 May 2008 13:16:10 +0800 |
Install the software necessary to download and compile swarm:
sudo apt-get install gobjc gperf libxpm-dev libpng12-dev automake1.9 emacs21-nox libhdf5-serial-dev blt-dev cvs autoconf libtool make xfonts-75dpi xfonts-100dpi
Swarm needs automake1.9. Thus, run update-alternatives and select automake1.9 if it was not the default yet (For Debian Etch ― automake 1.9 is already default version):
sudo update-alternatives ―config automake
Now, you can download the swarm source code. There are two options:
Paul Johnson's web site:
wget http://pj.freefaculty.org/Swarm/swarm-2.2.3.tar.gz tar -xzf swarm-2.2.3.tar.gz cd swarm-2.2.3
The official cvs repository:
cvs -z3 -d:pserver:address@hidden:/sources/swarm co swarm cd swarm ./autogen.sh
Then, you can compile swarm with java support:
If you install Java from backport package:(―with-jdkdir is your own jdk home)
./configure --with-jdkdir=/usr/lib/jvm/java-6-sun --with-gnu-ld --with-tclincludedir=/usr/include/tcl8.4/ --with-tclscriptdir=/usr/lib/tcl8.4/ --with-tkscriptdir=/usr/lib/tk8.4/ --with-tcldir=/usr/lib/tcl8.4/ --with-tk=/usr/lib/tk8.4 --with-tkinclude=/usr/include/tcl8.4
make
sudo make install
Swarm is already installed. You should now put this line at the end of your ~/.bashrc, because, by default, the Makefiles that come with swarm applications are configured to look for swarm at /usr, but since we installed it at /usr/local, we need to inform the Makefiles about this:
export SWARMHOME=/usr/local
[Prev in Thread] | Current Thread | [Next in Thread] |