Subject: Re: compiling lynx
To: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
From: None <mcmahill@mtl.mit.edu>
List: tech-pkg
Date: 04/26/1999 00:19:28
On Mon, 26 Apr 1999, Hubert Feyrer wrote:

> 
> I'm trying to compile the lynx package on 1.4_BETA on a Shark, and get the
> following error:
> 
> ...
> checking for SLtt_get_screen_size... no
> checking for SLtt_get_screen_size in -lslang... no
> checking for -lslang in /usr/pkg/etc... no
> checking for -lslang in /usr/pkg/etc/slang... no
> checking for -lslang in /usr/pkg/lib... no
> checking for -lslang in /usr/pkg/lib/slang... no
> checking for -lslang in /usr/local/lib... no
> checking for -lslang in /usr/local/lib/slang... no
> checking for -lslang in /usr/lib... no
> checking for -lslang in /usr/lib/slang... no
> configure: error: Cannot link slang library
> *** Error code 1
> 
> 
> I *do* have libslang installed in /usr/pkg/lib:
> nc% ls -la /usr/pkg/lib/libslang*
> -rw-r--r--  1 root  wheel  369390 Mar  8 21:01 /usr/pkg/lib/libslang.a
> -rw-r--r--  1 root  wheel  354418 Mar  8 21:01 /usr/pkg/lib/libslang.so.1.2
> 
> I'm quite clueless what's going on here - can anyone help me out on this,
> please? Thanks!


I'm also clueless, but I just build the slang and lynx packages on a pmax
today and I have:

sy-borg# ls -la /usr/pkg/lib/libslang*
-rw-r--r--  1 root  wheel  653444 Apr 25 12:08 /usr/pkg/lib/libslang.a
lrwxr-xr-x  1 root  wheel      15 Apr 25 12:08 /usr/pkg/lib/libslang.so ->libslang.so.1.2
lrwxr-xr-x  1 root  wheel      15 Apr 25 12:08 /usr/pkg/lib/libslang.so.1->libslang.so.1.2
-rw-r--r--  1 bin   bin    549853 Apr 25 12:08 /usr/pkg/lib/libslang.so.1.2


maybe you need the libslang.so link?  Of course I don't know why it
wouldn't work with the .a one.....

You might be able to look at one of the log files generated by 'configure'
and see what failed, ie why did configure think it wasn't there.


-Dan