[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swarm-support] Swarm packages for Ubuntu 13.10/14.04
From: |
Paul Johnson |
Subject: |
[Swarm-support] Swarm packages for Ubuntu 13.10/14.04 |
Date: |
Sun, 27 Apr 2014 00:28:26 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Hooray.
I thought this was going to be like the old days when I had to write and
beg for help. Not so fast. I think I've got it.
Today I've been building and testing Swarm-2.4.1 on various Ubuntu. I
believe all problems are solved, I've written out all details here. If
these fixes don't work for you, let me know and I'll try to replicate.
I wrote it out here
http://pj.freefaculty.org/blog/?p=263
In the end, the Swarm apps still can run. There are shared library and
compiler flag woes. But alls well that ends well.
One must replace the blt packages provided by Ubuntu with the ones I
offer. This is necessary because Swarm is trained to tcl/tk 8.5 and we
need BLT to keep its attention in that version. It must not wander over
to the 8.6 side of things. If you ignore this advice, the error you get
is one that we have seen since 1997: TKExtra instance: no such key
Another wrinkle is the Debian/Ubuntu multilib directory structure. Now,
They use /usr/lib/i386-linux-gnu and /usr/lib/amd86_64-linux-gnu. The
Swarm configure statement in 2.4.1 was set to look for dynamic libraries
in /usr/lib, /usr/local/lib, /usr/lib32 and /usr/lib64. I took the easy
road by just editing the Swarm configure script and putting in the path.
One of my long-standing embarrassments is that I just don't understand
GNU automake/autoconf setups and I don't know how to make those changes
in the underlying specification. But I'm pretty sure somebody who does
understand that would understand what I'm saying and know what to do.
The other wrinkle is the gcc linker. I can't understand why this crops
up just now, but the compiler is stricter. If one uses a math function
like pow or sin, it was not previously necessary to explicitly link in
the math library. gcc would just find it. They have eliminated that
convenience, and "-lm" must be added as a flag.
pj
--
Today's Advice: File names should have no spaces.
Paul E. Johnson http://pj.freefaculty.org
Professor Acting Director
Political Science Center for Research Methods & Data Analysis
address@hidden address@hidden
1541 Lilac Lane, Rm 504 1425 Jayhawk Blvd.
University of Kansas Watson Library, Rm. 470
Lawrence, Kansas Lawrence, Kansas
66045-3129 66045-7555
Ph: (785) 864-3523 Ph: (785) 864-3353
- [Swarm-support] Swarm packages for Ubuntu 13.10/14.04,
Paul Johnson <=