[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Slang version
From: |
Ismael Cordeiro |
Subject: |
Re: lynx-dev Slang version |
Date: |
Thu, 29 Jun 2000 00:36:44 -0400 (EDT) |
On Thu, 29 Jun 2000, Atsuhito Kohda wrote:
> When I tried to compile lynx 2.8.4dev.4, I found the followings;
>
> - with Slang 1.2.2 then it failed to link like
>
> LYCurses.o: In function `start_curses':
> LYCurses.o(.text+0x455): undefined reference to `SLsmg_touch_screen'
>
> - with Slang 1.4.0 then 'configure' failed to find out libslang
> and config.log told me
>
> configure:8072: gcc -o conftest -O2 -DLINUX -D_GNU_SOURCE conftest.c
> -lslang-ja -lm -lcurses 1>&5
> /usr/lib/libslang.so: undefined reference to `dlerror'
> /usr/lib/libslang.so: undefined reference to `dlclose'
> /usr/lib/libslang.so: undefined reference to `dlopen'
> /usr/lib/libslang.so: undefined reference to `dlsym'
> collect2: ld returned 1 exit status
>
> A Debian developer in Japan taught me that
>
> - there is no 'SLsmg_touch_screen' in Slang 1.2.2 and perhaps
> it was included since Slang 1.3.8.
>
> - we need to add '-ldl' to configure appropriately in case
> of Slang 1.4.0
I don't know what your problem is (slang compilation/installation?) but I can
compile lynx 2.8.4dev.4 on FreeBSD 3.4 with slang 1.2.2 and 1.4.1 without any
problems. My conf-lynx file is:
#!/bin/csh -f
setenv CPPFLAGS "-I$HOME/slang/include"
setenv LIBS "-L$HOME/slang/lib"
./configure --libdir=$HOME \
--enable-addrlist-page \
--enable-cgi-links \
--enable-change-exec \
--enable-exec-links \
--enable-exec-scripts \
--enable-externs \
--enable-nsl-fork \
--enable-prettysrc \
--enable-source-cache \
--enable-warnings \
--with-screen=slang \
--with-zlib
And my slang directory has:
total 2
drwxr-xr-x 2 ismael pubnix 512 Jun 29 00:14 include/
drwxr-xr-x 2 ismael pubnix 512 Jun 29 00:14 lib/
slang/include:
total 60
-rw-r--r-- 1 ismael pubnix 49484 Jun 29 00:14 slang.h
-rw-r--r-- 1 ismael pubnix 11102 Jun 29 00:14 slcurses.h
slang/lib:
total 304
-rw-r--r-- 1 ismael pubnix 295846 Jun 29 00:14 libslang.a
Ismael
--
________________________________________________________________
| |
| ISMAEL CORDEIRO | mailto:address@hidden |
| Production sound mixer | http://www.pubnix.net/~ismael/ |
| Montréal - Québec - Canada | ftp://ftp.pubnix.net/users/ismael |
|________________________________________________________________|
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden