Bug #62612 [Opn->Fbk]: readline extension compilation fails with sapi/cli/cli.h: No such file
| From: | laruence@php.net | Date: | Fri, 20 Jul 2012 04:28:47 +0000 |
| Subject: | Bug #62612 [Opn->Fbk]: readline extension compilation fails with sapi/cli/cli.h: No such file | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172101@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62612&edit=1
ID: 62612
Updated by: laruence@php.net
Reported by: pgodel at gmail dot com
Summary: readline extension compilation fails with
sapi/cli/cli.h: No such file
-Status: Open
+Status: Feedback
Type: Bug
Package: Compile Failure
Operating System: Centos 6 & Ubuntu 12.04
PHP Version: 5.4.4
Block user comment: N
Private report: N
New Comment:
can you paste your config steps out?
thanks
Previous Comments:
------------------------------------------------------------------------
[2012-07-19 15:57:27] pgodel at gmail dot com
The symlink is:
cd ext/readline/
ln -s ../../sapi
Sorry about that.
------------------------------------------------------------------------
[2012-07-19 15:56:31] pgodel at gmail dot com
Description:
------------
Trying to compile the readline extension standalone.
cd etx/readline
phpize
./configure
make
It fails with:
php-5.4.4/ext/readline/readline_cli.c:64:26: fatal error: sapi/cli/cli.h: No
such file or directory
If I make a symlink to the sapi directory, the compilation works:
ln -s ../../sap
make
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62612&edit=1