swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Error compiling Swarm on Debian


From: Paul Johnson
Subject: Re: [Swarm-Support] Error compiling Swarm on Debian
Date: Wed, 10 Nov 2004 10:11:42 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922

Before you go to the trouble of trying to specify tcl/tk dirs, you should consider doing it the way I do it in RedHat/Fedora.

First, don't build in the source tree itself

# cd swarm-2.1.150
# mkdir build
# cd build

# JAVAC=jikes CC=gcc ../configure --with-defaultdir=/usr --prefix=/usr --enable-onelib --enable-subdirs --with-jdkdir=/usr/java/j2sdk1.4.2_04

If you have blt properly installed and you have worked around that problem about the renamed file* already, it should go.

*Around blt-2.4v, they renamed the file "bltGraph.tcl" to "graph.tcl". As a result, you must fool Swarm with

ln -sf /usr/lib/blt2.4/graph.tcl /usr/lib/blt2.4/bltGraph.tcl

good luck

pj


bear wrote:
hi all,
When I configure with
./configure --with-tclincludedir=/usr/include/tcl8.4/
--with-tkincludedir=/usr/include/tcl8.4 --with-tclscriptdir=/usr/lib/tcl8.4
--with-tkscriptdir=/usr/lib/tk8.4

Always saying:
checking directory of libBLT30... no
checking directory of libBLT30... no
checking directory of libBLT24... no
checking directory of libBLT24... no
checking directory of libBLT8.0... no
checking directory of libBLT8.0... no
checking directory of libBLT80... no
checking directory of libBLT80... no
checking directory of libBLT... /usr/lib
checking directory of libBLT... /usr/lib
configure: error: Please use --with-bltdir to specify location of BLT.

I have installed blt-2.4 and there are
libBLT.2.4.8.0.a       libBLT.a               libBLTlite.2.4.so.8.4
libBLT.2.4.8.3.a       libBLTlite.2.4.8.0.a   libBLTlite.a
libBLT.2.4.8.4.a       libBLTlite.2.4.8.3.a   libBLTlite.so
libBLT.2.4.so.8.0      libBLTlite.2.4.8.4.a   libBLT.so
libBLT.2.4.so.8.3      libBLTlite.2.4.so.8.0
libBLT.2.4.so.8.4      libBLTlite.2.4.so.8.3
under /usr/lib and
bltBind.h    blt.h        bltList.h    bltTree.h
bltChain.h   bltHash.h    bltPool.h    bltVector.h
under /usr/include

What parameter should I pass to configure? --with-bltdir=DIR and
--with-bltlibname=NAME seem no use.
Thank you!

                                                     bear


_______________________________________________
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
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700


reply via email to

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