[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] Problem installing swarm 2.2 on a Ubuntu system
From: |
Paul Johnson |
Subject: |
Re: [Swarm-Support] Problem installing swarm 2.2 on a Ubuntu system |
Date: |
Wed, 16 Aug 2006 14:41:58 -0500 |
User-agent: |
Thunderbird 1.5.0.5 (X11/20060808) |
Robert Lopez wrote:
I am trying to install swarm on my Ubuntu 6.06 LTS (Dapper Drake) system. After
downloading the source, extracting swarm-2.2.tar.gz, and running ./configure I
receive the following error:
I'd suggest you start with the build approach recommended in the FAQ and
then add features.
The message about xpm means that it cannot find xpm.h, which has been
moved about recently because of the re-organization of the X packages.
In Fedora, that's now under
/usr/include/X11/xpm.h
and it comes in a package called libXpm-devel-3.5.4.2-2.2
Whereas it used to be under /usr/X11R6/include/X11/... or something like
that. I find that the default dir setting (illustrated below) gets it.
To build Swarm on Fedora, don't work with Swarm-2.2, but rather a newer
version from CVS that has some corrections applied. Then the build
sequence of commands for the no-java-support version would go something like
> mkdir builddir
> cd builddir
> CC=gcc ../configure --srcdir=../ --with-defaultdir=/usr --prefix=/usr
--enable-onelib --enable-subdirs --with-jdkdir=no
--with-tkscriptdir=/usr/share/tk8.4
I need that tk8.4 thing because the scripts are not in a place that
Swarm expects. Depending on the version of blt you have installed, you
may need to create a symbolic link. see the output below that links from
graph.tcl to bltGraph.tcl.
address@hidden blt2.4]$ cd /usr/lib/blt2.4/
address@hidden blt2.4]$ ls -la
total 308
drwxr-xr-x 4 root root 4096 May 24 00:08 .
drwxr-xr-x 161 root root 118784 Aug 16 10:06 ..
-rw-r--r-- 1 root root 2277 Mar 31 11:07 bltCanvEps.pro
-rw-r--r-- 1 root root 13139 Mar 31 11:07 bltGraph.pro
lrwxrwxrwx 1 root root 25 May 24 00:08 bltGraph.tcl ->
/usr/lib/blt2.4/graph.tcl
drwxr-xr-x 2 root root 4096 May 24 00:07 dd_protocols
drwxr-xr-x 5 root root 4096 May 24 00:07 demos
-rw-r--r-- 1 root root 3250 Mar 31 11:07 dnd.tcl
-rw-r--r-- 1 root root 2790 Mar 31 11:07 dragdrop.tcl
-rw-r--r-- 1 root root 14160 Mar 31 11:07 graph.tcl
-rw-r--r-- 1 root root 13607 Mar 31 11:07 hierbox.tcl
-rw-r--r-- 1 root root 25940 Mar 31 11:07 NEWS
-rw-r--r-- 1 root root 994 Mar 31 11:07 pkgIndex.tcl
-rw-r--r-- 1 root root 5398 Mar 31 11:07 PROBLEMS
-rw-r--r-- 1 root root 5787 Mar 31 11:07 README
-rw-r--r-- 1 root root 10400 Mar 31 11:07 tabnotebook.tcl
-rw-r--r-- 1 root root 10408 Mar 31 11:07 tabset.tcl
-rw-r--r-- 1 root root 653 Mar 31 11:07 tclIndex
-rw-r--r-- 1 root root 331 Mar 31 11:07 treeview_m.xbm
-rw-r--r-- 1 root root 25453 Mar 31 11:07 treeview.tcl
-rw-r--r-- 1 root root 326 Mar 31 11:07 treeview.xbm
Be aware you need to have emacs and gperf installed.
checking directory of libXpm... /usr/lib
configure: error: Please use --with-xpmlibdir to specify location of XPM.
I have installed the libxpm4 and libxpm-dev packages. The libraries are in /usr/lib. Running './configure --with-xpmlibdir=/usr/lib' results in the same error message.
The library is version 4.11, not the version 4.2 specified on the web page
http://www.swarm.org/wiki/Swarm:_stable_release. However, I can't find version
4.2 anywhere, and I'm not sure that this is even the problem.
I was unsuccessful finding help using Google queries.
Thanks in advance...
------------------------------------------------------------------------
_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support
--
Paul E. Johnson email: address@hidden
Professor, Political Science http://pj.freefaculty.org
1541 Lilac Lane, Rm 504
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66044-3177 FAX: (785) 864-5700