PHP :: Bug #62612 :: readline extension compilation fails with sapi/cli/cli.h: No such file
[2012-07-19 15:56 UTC] 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
[2012-07-19 15:57 UTC] pgodel at gmail dot com
[2012-07-20 04:28 UTC] laruence@php.net
[2012-07-20 13:48 UTC] 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 13:48 UTC] pgodel at gmail dot com
-Status: Feedback +Status: Open
[2012-07-20 15:57 UTC] laruence@php.net
[2012-07-20 22:18 UTC] pgodel at gmail dot com
[2012-07-21 04:37 UTC] laruence@php.net
[2012-07-22 19:35 UTC] johannes@php.net
[2012-07-22 19:35 UTC] johannes@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: johannes
[2012-07-22 21:31 UTC] johannes@php.net