Bug #62612 [NEW]: readline extension compilation fails with sapi/cli/cli.h: No such file
| From: | pgodel at gmail dot com | Date: | Thu, 19 Jul 2012 15:56:31 +0000 |
| Subject: | Bug #62612 [NEW]: readline extension compilation fails with sapi/cli/cli.h: No such file | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-172085@lists.php.net to get a copy of this message | ||
From: pgodel at gmail dot com
Operating system: Centos 6 & Ubuntu 12.04
PHP version: 5.4.4
Package: Compile Failure
Bug Type: Bug
Bug description:readline extension compilation fails with sapi/cli/cli.h: No such file
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 bug report at https://bugs.php.net/bug.php?id=62612&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62612&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62612&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62612&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=62612&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62612&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=62612&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=62612&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=62612&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=62612&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=62612&r=support
Expected behavior: https://bugs.php.net/fix.php?id=62612&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=62612&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=62612&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=62612&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62612&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=62612&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=62612&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=62612&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=62612&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=62612&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=62612&r=mysqlcfg