Edit report at https://bugs.php.net/bug.php?id=62612&edit=1
ID: 62612 Updated by: larue...@php.net 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: what does your /PATH_TO_PHP_BIN/php-config output? Previous Comments: ------------------------------------------------------------------------ [2012-07-20 13:48:14] pgodel at gmail dot com This is the main PHP configure line: ./configure --with-apxs2=/usr/bin/apxs2 \ --prefix=/usr/local/php54 \ --with-config-file-scan-dir=/etc/php54/conf.d \ --enable-bcmath --enable-ctype --enable-exif --enable-mbstring -- enable-ftp --enable-intl --enable-sockets --enable-sysvmsg --enable-pcntl -- with-bz2 --with-curl --with-gettext --with-gd --enable-gd-native-ttf --enable- exif --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-t1lib=/usr --with- mcrypt --with-openssl --with-kerberos --with-iconv --with-xsl --with-xmlrpc -- with-zlib --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd \ And the when compiling the readline extension I just run: ./configure # from ext/readline ------------------------------------------------------------------------ [2012-07-20 04:28:47] larue...@php.net can you paste your config steps out? thanks ------------------------------------------------------------------------ [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