Gentoo Archives: gentoo-user

From: Craig Duncan <craigduncan@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] PHP fails
Date: Wed, 15 Feb 2006 21:31:24
Message-Id: 43F3990D.1020905@entuend.com
In Reply to: [gentoo-user] PHP fails by Ernie Schroder
1 Ernie Schroder wrote:
2 > I'm trying to emerge php here and do some playing around. I don't have apache
3 > on this box but installed monkeyd as a light weight webserver. Emerge php
4 > fails as below
5 > checking for tgetent in -lncurses... no
6 > checking for tgetent in -ltermcap... no
7 > checking for readline in -lreadline... no
8 > configure: error: readline library not found
9 >
10 > !!! ERROR: dev-lang/php-5.0.5-r5 failed.
11 > !!! Function php5_0-sapi_src_compile, Line 516, Exitcode 1
12 > !!! configure failed
13 > !!! If you need support, post the topmost build error, NOT this status
14 > message.
15 >
16 > $ locate libreadline
17 > /usr/lib/libreadline.so
18 > /usr/lib/libreadline.a
19 > <snip>
20 > /lib/libreadline.so
21 > /lib/libreadline.so.4
22 > /lib/libreadline.so.5
23 > /lib/libreadline.so.4.3
24 > /lib/libreadline.so.5.0
25 >
26 > Some help?
27 >
28 >
29 >
30 Did you try remerging readline and then retry merging php?
31 emerge -v sys-libs/readline
32
33 OR if the readline libs are not required, merge with USE="-readline"
34
35 Craig
36
37 --
38 gentoo-user@g.o mailing list