[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: blt error compiling swarm
From: |
Paul E. Johnson |
Subject: |
Re: blt error compiling swarm |
Date: |
Thu, 20 Aug 1998 17:27:24 -0500 (CDT) |
I've been wrong more often than right lately, but I can say 2 things.
1. in your swarm configure statement, leave out the quotation marks.
2. I'm curious how you got blt installed into /usr/lib and whether
it is the correct blt. blt8.0-unoff, which you should be using,
creates its own subdirectory level under the prefix, so even if you
./configure --prefix=/usr, it will install itself in /usr/blt8.0-unoff
unless you do something special (hack its Makefile). On the off
chance you compiled those libraries and copied them to /usr/lib
by hand, I should warn you there is trouble ahead...
In case you are new to unix/linux, could I give you some advice? Don't
install things in /usr. Generally, especially with something that
changes every few months, you ought to install in /usr/local or
someplace else. On my redhat systems, the Swarm 1.2 stuff like blt and
tclobjc get installed in /swarm/packages and the swarm itself gets
intalled in either /usr/local or something like /swarm/swarm1.2-shared
or the like. There are examples of how to do it in the online faq
(http://valinux.pols.ukans.edu/~pauljohn/SwarmFaq.html) and the older,
more traditional faq too (I'm not sure where it is on the SFI site these
days, but I've got a copy sitting in
http://lark.cc.ukans.edu/~pauljohn/SwarmFaq. Click around in there,
I think you will get the idea).
Good luck. let me know if I can help.
On Thu, 20 Aug 1998, Omar Armas wrote:
>
> i have redhat 5.1 and compiled libraries succesfully, but when i run
> configure of swarm i get an error. i ran ldconfig and i have /usr/lib in
> /etc/ld.so.conf.
>
> this is the error i get:
>
> checking directory of libBLT.a... no
> configure: error: Please use --with-bltdir to specify location of BLT package
>
> but the library is there
>
> address@hidden swarm-1.2]# ls /usr/lib/libBLT.a
> /usr/lib/libBLT.a
>
> this is how i use configure:
>
> ./configure --with-bltdir="/usr/lib/" --with-tclobjcincludedir="/usr/include"
Aside from cutting the quotes, there is one mistake I see right off.
The bltdir is /usr, as you have described it. If its pieces are in
/usr/include, /usr/lib, and so forth, then you need /usr in the blt.
By saying bltdir, you are getting the lib and the include with a single
swipe. You could do the same for tclobjcdir as well, save the trouble.
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (913) 864-9086
Lawrence, Kansas 66045 FAX: (913) 864-5700
==================================
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.
==================================