[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Problem compiling lynx-2.8.2 with ncurses in an unusual pla
From: |
T.E.Dickey |
Subject: |
Re: lynx-dev Problem compiling lynx-2.8.2 with ncurses in an unusual place |
Date: |
Tue, 14 Dec 1999 14:35:36 -0500 (EST) |
>
> Hi,
>
> I had a problem compiling lynx-2.8.2 on a HP 9000/720 running HP-UX 10.20.
> lynx didn't compile with curses (because of broken HP curses I think) and
> it did compile when changing the library in the makefile after configuring
> manually from curses to ncurses. But when I tried to configure lynx with
> the --with-screen=ncurses I had the following error because our local
> ncurses are under /usr/local/dist/lib/ (an unusual place). configure finds
you're probably also missing also the header files. something like this will
work:
setenv CFLAGS -I/usr/local/dist/include
setenv LIBS -L/usr/local/dist/lib -lncurses
./configure
> ncurses (it prints the version), but it can't figure out where the library
> is. I'm sorry if I missed an option, but I couldn't find one to solve my
> problem.
>
> configure says:
>
> ...
> checking for zcat... /usr/local/dist/bin/zcat
> checking for zip... /usr/local/dist/bin/zip
> checking for telnet... /bin/telnet
> checking for tn3270... tn3270
> checking for rlogin... /bin/rlogin
> checking for working const... (cached) yes
> checking if you want socks library... no
> checking if you want socks5 library... no
> checking for network libraries... working...
> checking for gethostname... yes
> checking for -linet... no
> checking for socket... yes
> checking for gethostbyname... yes
> checking for strcasecmp... (cached) yes
> checking for inet_aton function... yes
> checking for screen type... ncurses
> checking for ncurses header file... predefined
> checking for ncurses version... 4.2.980228
> checking for Gpm_Open in -lgpm... no
> checking for initscr... no
> checking for initscr in -lncurses... no
> checking for -lncurses in /usr/local/lib... no
> checking for -lncurses in /usr/local/lib/ncurses... no
> checking for -lncurses in /usr/lib... no
> checking for -lncurses in /usr/lib/ncurses... no
> configure: error: Cannot link ncurses library
>
>
>
> cu,
> Adrian
>
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey