swarm-support
[Top][All Lists]
Advanced

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

Re: Preparing installation for SWARM on SuSE 5.2


From: Paul E. Johnson
Subject: Re: Preparing installation for SWARM on SuSE 5.2
Date: Thu, 01 Oct 1998 09:36:19 -0500

Dear Lorenz:

I think Jan  may be correct about the symlinks.  On one of my Redhat5.1
systems, I too have symlinks libtcl.a->libtcl8.0.a and
libtk.a->libtk.8.0.a.  I don't know how they got there, however. 

HOWEVER, I have a newer Redhat 5.1 system and I note there are no static
libraries whatsoever. (yes, it
has only the .so libraries).  And, as we speak, I'm rebuilding the rpm
for blt8.0 and I've gotten no complaints.  Furthermore, I've got no
symlinks from libtcl.so->libtcl8.0.so or such.  So, although you may be
missing symlinks, I don't think they are necessary!

  I ended up hating blt8.0 because you have to build it in the middle of
the tcl/tk source tree. The directories are somewhat tough to setup. 
Just now, I built it as follows. The tcl/tk source is in
/usr/src/redhat/BUILD/tcltk-8.0.2 and blt8 is extracted inside there.
After making the Linux directory in blt, the configure statement goes
like this: 

TKLIBDIR=/usr/lib \
TCLINCDIR=/usr/src/redhat/BUILD/tcltk-8.0.2/tcl8.0/generic/ \
TCLLIBDIR=/usr/lib \
TKINCDIR=/usr/src/redhat/BUILD/tcltk-8.0.2/tk8.0/generic/ \
../configure --prefix=/usr --enable-shared

So, even though I have no static library, blt still compiled.

You might consider trying the blt2.4e instead.  Wherease blt8.0 has to
be built inside tcl/tk source, the blt2.4e can be built independently of
tcl/tk.  The documentation even says it can be built without any tcl/tk
whatsoever (although I have not done that).  

Isnt SUSE allowing RPMs these days?  I built the Swarm RPMs on a redhat
system that has gcc and egcs (both), and the objective-c stuff is egcs. 
I just watched the build of blt8.0 and notice it used gcc, so it may be
that you can just install the blt-8.0 rpm and it will work out of the
box.  If that didn't work, you could grab the src.rpm file. Rebuild it
for your system, I bet it works fine.  (You know, rpm --rebuild
btl-8.0-unoff.src.rpm).
 



Lorenz Gygax wrote:
> 

> 
> Does anybody know whether these are ok? (I donwloaded the xpm-3.4h but a
> note in the README about problems installing it made me hesitate.)
> 
> - SuSE 5.2 comes with Tcl/Tk 8.0/8.0
> 
> - BLT: Unfortunately SuSE comes with BLT 1.9 (seems to be very old,
> indeed) thus I downlodades blt8.0-unoff-swarm-0. After runnign ./configure
> there remain some __Edit_config.BLT__ in config.BLT where PATHS must be
> specified. Two of these are for libtcl.a and libtk.a which I can not find
> neither with 'find' nor with 'locate'. Does that mean I need to install
> Tcl/Tkl from scratch?
> 
> - doing make check fro the tclobj I get 'undefined reference to
> Tcl_GetFile'; should that worry me and if, what can I do about it?
> 
> - libffi: wow, no error while running ./configure; make; make test; make
> install
> 
> - zlib: seems ok, no error while doing make test and make install
> 
> - libpng: I get error messages while running make test of the form:
>         'undefined reference to ...' (e.g. to png_set_write_status_fn)
> 
> This happens even though ZLIBLIB and ZLIBINC point to the correct
> directory in the Makefile.
> 
> Any Comments are greatly appreciated!
> --
>                         Lorenz Gygax
> 
>         |
>        /|         address@hidden;       room: 36-L-40
>       / |\
>      /  | \       Department of Applied Mathematics
>     /   |  \      University of Zuerich-Irchel
>    /____|   \     Winterthurerstr. 190; CH-8057 Zurich
>   ______|____\    voice: 41-1-635-58-52  fax: 41-1-635-57-05
>  /           /
> ~~~~~~~~~~~~~~~~~ Dachslernstr. 141, 8048 ZH, 41-1-432-51-47
> 
>                   ==================================
>    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.
>                   ==================================

                  ==================================
   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]