Subject: Building LPE.
To: None <netbsd-help@netbsd.org>
From: Arto Huusko <arto.huusko@maailma.yok.utu.fi>
List: netbsd-help
Date: 10/09/2000 22:28:40
Hi, I'm trying to compile the lpe, lightweight programmer's editor. This
seems rather strange again.

I'm running 1.5_ALPHA, and this lpe needs SLang. I do have the slang
installed.

At first, when I ran configure it bombed because it couldn't find SLang
libraries and header files. So I do this:

setenv CPPFLAGS -I/usr/pkg/include
setenv LDFLAGS -I/usr/pkg/lib

After this, configure works fine.

Next, I type gmake. I get (approx):


gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -g -O2 -c comp.c
/bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/pkg/lib -o comp.o -lslang -lintl
mkdir .libs
gcc -g -O2 -L/usr/pkg/lib -o comp comp.o -lslang -lintl
../data/comp init.sl
Shared object "libslang.so.1" not found.


So what's the problem, why libslang is not found. It most certainly is
in /usr/pkg/lib. (I tried compiling lpe with 1.4.2 also, which ended up
during the linking with something like this: unknown symbol _sin)

-- 
Arto Huusko
E-Mail : arto.huusko@maailma.yok.utu.fi
WWW: http://maailma.yok.utu.fi/