swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Installing Swarm on Ubuntu 8.10 x64


From: Paul Johnson
Subject: Re: [Swarm-Support] Installing Swarm on Ubuntu 8.10 x64
Date: Tue, 21 Apr 2009 16:37:09 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Camacho-Trujillo David wrote:
> Dear all,
> 
> 
> I am trying to compile swarm2.2.4 under linux Ubuntu 8.10 x64.
> I have realized that the gcc version has changed and I am aware of the
> new issues that could arise. However, I am following the instructions
> from Jackson Aquino to compile swarm:
> http://jalvesaq.googlepages.com/swarm.html
> Until the point 4. everything runs fine, but then in point 5:
> 
> After:
>  ./configure --with-pic --enable-onelib --with-gnu-ld --disable-jar \
>       --without-jdkdir --with-tcl=/usr/lib/tcl8.5/
> --with-tk=/usr/lib/tk8.5/
> (I used the 8.5 tcl and tk versions I have)

We've been discussing this in the swarm-hackers list. blt does not work
with tcl/tk 8.5. Run any of the blt demos on your system you'll see they
don't work.  They will draw the initial window. Nut they all crash as
soon as you try to interact with the graph on screen.

I've built debian packages for testing and will upload them tomorrow.
I'll post here about that once I double-check my work.  I'm going of the
debian building strategy mapped out by Masayuki Hatta on October 21,
2008 in this list.  His debian packages are here:


He wrote "You can obtain them from:

http://www.mhatta.org/debian/swarm

Actually it's apt-gettable, so adding

deb http://www.mhatta.org/debian/swarm ./
deb-src http://www.mhatta.org/debian/swarm ./

to /etc/apt/sources.list should also work."


Assuming you want to build your own Swarm, here's how.

Remove the blt that comes with Ubuntu 8.10 and install the blt that was
available for 8.04.  Install tcl-dev 8.4, NOT 8.5. I'm creating a blt
package that will work only against your tcl 8.4 version and so it won't
crash and I'll version number it so that the apt updater does not keep
trying to replace it with the newer broken blt.

In your configure line for Swarm, do not tell it tcl or tk 8.5, rather
we need 8.4.



Also, there is a test version of swarm-2.3.0 that Scott Christley put
together.  That's the version I've successfully built. As far as I know,
the most correct version is always in here:

http://ftp.swarm.org/pub/swarm/src/swarm

You appear to be missing some devel packages. You need libtool and
gperf.  Note where the output says "command not found".

I can't tell if your ggg has the objective C support that you need.
Check for the packages "gobjc" and "libobjc2" or such.  In Synaptic, if
you search for "objective" those things pop up.

pj

> 
> I got only this warnings (among other normal info)
> "...
> *************** Warning ****************
> libobjc backend information for x86_64 is
> missing for libobjc.
> Using information from unknown.
> ****************************************
> *************** Warning ****************
> The mframe software has not been ported to x86_64-linux-gnu.
> Using information from
> ${top_srcdir}/config/unknown/compiler-info-generic.h
> ****************************************
> *************** Warning ****************
> The mframe software has not been ported to x86_64-linux-gnu.
> Using information from ${top_srcdir}/config/unknown/mframe-generic.h
> ****************************************
> ..."
> However, at the end there are  no ERROR messages.
> 
> But then after "make" I got:
> 
> make  all-recursive
> make[1]: Entering directory `/home/camacho/swarm-2.2.4'
> Making all in libobjc
> make[2]: Entering directory `/home/camacho/swarm-2.2.4/libobjc'
> make  all-recursive
> make[3]: Entering directory `/home/camacho/swarm-2.2.4/libobjc'
> Making all in objc
> make[4]: Entering directory `/home/camacho/swarm-2.2.4/libobjc/objc'
> make  all-am
> make[5]: Entering directory `/home/camacho/swarm-2.2.4/libobjc/objc'
> make[5]: Leaving directory `/home/camacho/swarm-2.2.4/libobjc/objc'
> make[4]: Leaving directory `/home/camacho/swarm-2.2.4/libobjc/objc'
> Making all in doc
> make[4]: Entering directory `/home/camacho/swarm-2.2.4/libobjc/doc'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/home/camacho/swarm-2.2.4/libobjc/doc'
> Making all in m4
> make[4]: Entering directory `/home/camacho/swarm-2.2.4/libobjc/m4'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/home/camacho/swarm-2.2.4/libobjc/m4'
> make[4]: Entering directory `/home/camacho/swarm-2.2.4/libobjc'
> /bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I./objc -I./objc -I.   -DBUILDING_LIBOBJC  -g -O2 -MT archive.lo -MD
> -MP -MF .deps/archive.Tpo -c -o archive.lo archive.c
> ./libtool: line 769: X--tag=CC: command not found
> ./libtool: line 802: libtool: ignoring unknown tag : command not found
> ./libtool: line 769: X--mode=compile: command not found
> ./libtool: line 919: *** Warning: inferring the mode of operation is
> deprecated.: command not found
> ./libtool: line 920: *** Future versions of Libtool will require
> -mode=MODE be specified.: command not found
> ./libtool: line 1063: Xgcc: command not found
> ./libtool: line 1063: X-DHAVE_CONFIG_H: command not found
> ./libtool: line 1063: X-I.: command not found
> ./libtool: line 1063: X-I./objc: No such file or directory
> ./libtool: line 1063: X-I./objc: No such file or directory
> ./libtool: line 1063: X-I.: command not found
> ./libtool: line 1063: X-DBUILDING_LIBOBJC: command not found
> ./libtool: line 1063: X-g: command not found
> ./libtool: line 1063: X-O2: command not found
> ./libtool: line 1063: X-MT: command not found
> ./libtool: line 1063: Xarchive.lo: command not found
> ./libtool: line 1063: X-MD: command not found
> ./libtool: line 1063: X-MP: command not found
> ./libtool: line 1063: X-MF: command not found
> ./libtool: line 1063: X.deps/archive.Tpo: No such file or directory
> ./libtool: line 1063: X-c: command not found
> ./libtool: line 1111: Xarchive.lo: command not found
> ./libtool: line 1116: libtool: compile: cannot determine name of library
> object from `': command not found
> make[4]: *** [archive.lo] Error 1
> make[4]: Leaving directory `/home/camacho/swarm-2.2.4/libobjc'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/camacho/swarm-2.2.4/libobjc'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/camacho/swarm-2.2.4/libobjc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/camacho/swarm-2.2.4'
> make: *** [all] Error 2
> 
> 
> Dr. David Camacho-Trujillo
> German Cancer Research Center
> Molecular Genetic Epidemiology
> C050
> Im Neuenheimer Feld 580
> Im Technologiepark
> D-69120 Heidelberg
> Tel.: +49.62 21.42-18 02
> Fax: +49.62 21.42-18 10 
> 
> 
> _______________________________________________
> Support mailing list
> address@hidden
> http://www.swarm.org/mailman/listinfo/support


-- 
Paul E. Johnson                       email: address@hidden
Dept. of 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


reply via email to

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