Bug #62612 [Opn]: readline extension compilation fails with sapi/cli/cli.h: No such file

From: Date: Thu, 19 Jul 2012 15:57:27 +0000
Subject: Bug #62612 [Opn]: 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-172086@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
 User updated by:    pgodel at gmail dot com
 Reported by:        pgodel at gmail dot com
 Summary:            readline extension compilation fails with
                     sapi/cli/cli.h: No such file
 Status:             Open
 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:

The symlink is:
cd ext/readline/
ln -s ../../sapi

Sorry about that.


Previous Comments:
------------------------------------------------------------------------
[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


Thread (9 messages)

« previous php.bugs (#172086) next »