swarm-support
[Top][All Lists]
Advanced

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

Install on SuSE Linux


From: Matthew Aylward EG201 G219 SL CKR
Subject: Install on SuSE Linux
Date: Mon, 09 Feb 1998 11:59:14 +0800

Greetings all,

I have compiled swarm on S.u.S.E Linux 5.1 so I thought it may be useful
to others to know what had to be tweaked to make it work.

gcc and objc come with the SuSE distribution and work fine.
Use the standard tcl and tk versions(7.6/4.2)  provided with suse, not
the "new"(8.0) or "old"(7.4/4.1)  versions also on the cdrom
First I compiled libtclobjc-1.1b7 from the swarm site.
When trying to compile libtclobjc I got an error - "can't find
tkConfig.sh" so I put sym-link from /usr/X11R6/lib/tkConfig.sh to
/usr/lib/tkConfig.sh and it  compiled and installed OK
The BLT libraries are also provided with suse but the version is too old
so get the BLT2.3 tgz from the swarm needed software page. I ended up
using ./configure --prefix=/usr because ldconfig couldn't seem to find
BLT in /usr/local (even though /usr/local/lib was in the
/etc/ld.so.conf.in file.

I then had to modify the swarm Makefile.conf using the "Alex's SFI
GNU/Linux setup" as a starting point, as follows:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

SETUP=matt
else
SETUP=$(SWARMSETUP)
endif

......snipped.......

ifeq ($(SETUP),matt)
# Alex's SFI GNU/Linux setup
SYS=GNU/Linux
CC=gcc
OPTFLAGS=-O3 -g
TCLVERS=7.6
#TCLPREFIX=$(P)/swarm/tcl$(TCLVERS)
TCLPREFIX=/usr
TCLINC=$(TCLPREFIX)/include
TCLLIB=$(TCLPREFIX)/lib/tcl$(TCLVERS)
TKVERS=4.2
#TKPREFIX=$(P)/swarm/tk$(TKVERS)
TKPREFIX=/usr
TKINC=$(TKPREFIX)/include
TKLIB=$(TKPREFIX)/lib/tk$(TKVERS)
BLTPREFIX=/usr
BLTINC=$(BLTPREFIX)/include
BLTLIB=$(BLTPREFIX)/lib
XPREFIX=/usr/X11R6

XINC=$(XPREFIX)/include
XLIB=$(XPREFIX)/lib
TCLOBJCPREFIX=$(P)/swarm/tclobjc-new
TCLOBJCLIB=$(TCLOBJCPREFIX)/lib
TCLOBJCINC=$(TCLOBJCPREFIX)/include

....snipped....

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I believe this was all I had to do, I hope there is nothing I did that I
have forgotten, if anyone else has trouble on suse feel free to contact
me.

All the swarm apps compile nicely now.

A note to the developers:
Thanks for all the effort you guys have put in. Swarm is going to be a
huge boost to my research.

-- 
Matt Aylward
Dept of Geography (GIS)
email: address@hidden
Linux Lover and GIS Geek
..............LINUX.....................
   OS for the people by the people

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

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