On 1/6/2014 9:49 AM, Pierre M.R. wrote:

> The output of js/src/configure .. --enable-readline shows:
>
> configure: error: No system readline library found.

My configure log shows:

"checking for readline in -lreadline... yes"

This is on a pure LFS-7.4 system using mozjs-17.0.0


> config.log shows:
> configure:14764: gcc -o conftest -ffunction-section -fdata-sections
> -pthread -pipe -lphread conftest.c -lreadline -dl 1>&5
> ()../../libreadline.so: undefined reference to 'tputs'
> ()../../libreadline.so: undefined reference to 'tgoto'
> ()../../libreadline.so: undefined reference to 'tgetflag'
> ()../../libreadline.so: undefined reference to 'UP'
> ...
>
> It's reproductible on my machine.

My config log shows:

"configure:14745: checking for readline in -lreadline
configure:14764: gcc -o conftest  -ffunction-sections -fdata-sections -pthread 
-pipe  -lpthread  conftest.c -lreadline  -ldl  1>&5"

 From the errors you are seeing it appears that there is something
wrong with your ncurses installation. This is just a guess but I
have no issues installing, nor does Fernando. This to me points to
something broken on your system.

Could you check that the ncurses libraries were properly moved
and recreated during the LFS install?

-- 
Randy

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to