[5.4][RC5] Compilation error - build fail - zend_ini_parser.c: No such file or directory

From: Date: Sat, 07 Jan 2012 17:56:25 +0000
Subject: [5.4][RC5] Compilation error - build fail - zend_ini_parser.c: No such file or directory
Groups: php.qa 
Request: Send a blank email to php-qa+get-66036@lists.php.net to get a copy of this message
Hello, I'm encountering problems when I try to compile PHP 5.4 RC5 on a Debian 6.03 : // ... Lot of stuff ... LS -c /usr/local/src/php5.4-201201041830/Zend/zend_ini_parser.c -o Zend/zend_ini_parser.lo cc: /usr/local/src/php5.4-201201041830/Zend/zend_ini_parser.c: Aucun fichier ou dossier de ce typecc: no input filesmake: *** [Zend/zend_ini_parser.lo] Erreur 1 The same problem was previously encountered with the RC4 :http://www.mail-archive.com/internals@lists.php.net/msg55339.html Below are the commands used : PHP_VERSION='5.4'PHP_APC_VERSION='3.1.9'PHP_IGBINARY_VERSION='1.1.1'PHP_MEMCACHED_VERSION='2.0.0b2' # ==============================================================================# PHP# ==============================================================================# http://julien-pauli.developpez.com/tutoriels/php/compilation/?page=page_6echo "- PHP $PHP_VERSION \n" # PHP - Download PHP# ------------------------------------------------------------------------------cd /usr/local/srcsudo rm -rf php$PHP_VERSION*sudo wget -O php$PHP_VERSION.tar.gz "http://snaps.php.net/php$PHP_VERSION-latest.tar.gz"sudo tar -xvzf php$PHP_VERSION.tar.gzsudo rm -rf php$PHP_VERSION.tar.gz # PHP - Install APC (Opcode cache) as a static extension# ------------------------------------------------------------------------------echo " - APC (Opcode cache) \n";cd /usr/local/srcsudo wget -O APC-$PHP_APC_VERSION.tar.gz "http://pecl.php.net/get/APC-$PHP_APC_VERSION.tgz"sudo tar -xvzf APC-$PHP_APC_VERSION.tar.gzsudo rm -rf APC-$PHP_APC_VERSION.tar.gzsudo mv -f package.xml APC-$PHP_APC_VERSION/package.xmlcd php$PHP_VERSION*sudo rm -rf ext/apcsudo mv /usr/local/src/APC-$PHP_APC_VERSION ext/apccd /usr/local/src # PHP - Install IgBinary (Binary serialization) as a static extension# ------------------------------------------------------------------------------# https://github.com/phadej/igbinary# sudo git clone https://github.com/phadej/igbinary.git# Please ignore warnings and errors at compile time !echo " - IgBinary \n"cd /usr/local/srcsudo wget -O igbinary-$PHP_IGBINARY_VERSION.tgz "http://pecl.php.net/get/igbinary-$PHP_IGBINARY_VERSION.tgz"sudo tar -xvzf igbinary-$PHP_IGBINARY_VERSION.tgzsudo rm -rf igbinary-$PHP_IGBINARY_VERSION.tgzsudo mv -f package.xml igbinary-$PHP_IGBINARY_VERSION/package.xmlcd php$PHP_VERSION*sudo rm -rf ext/igbinarysudo mv /usr/local/src/igbinary-$PHP_IGBINARY_VERSION ext/igbinarycd /usr/local/src # PHP - Install Memcached (Distributed memory cache) as a static extension# ------------------------------------------------------------------------------cd /usr/local/srcsudo git clone https://github.com/php-memcached-dev/php-memcached.gitcd php$PHP_VERSION*sudo rm -rf ext/memcachedsudo mv /usr/local/src/php-memcached ext/memcachedcd /usr/local/src # sudo wget -O memcached-$PHP_MEMCACHED_VERSION.tgz "http://pecl.php.net/get/memcached-$PHP_MEMCACHED_VERSION.tgz"# sudo tar -xvzf memcached-$PHP_MEMCACHED_VERSION.tgz# sudo rm -rf memcached-$PHP_MEMCACHED_VERSION.tgz# sudo mv -f package.xml memcached-$PHP_MEMCACHED_VERSION/package.xml# cd php$PHP_VERSION*# sudo rm -rf ext/memcached# sudo mv /usr/local/src/memcached-$PHP_MEMCACHED_VERSION ext/memcachedcd /usr/local/src # PHP - Install PHP# ------------------------------------------------------------------------------cd /usr/local/srccd php$PHP_VERSION*sudo rm -rf configure autom4te.cachesudo ./buildconf --force# sudo ./configure --help List all optionssudo ./configure --enable-apc \ --disable-cgi \ --enable-exif \ --enable-ftp \ --enable-gd-native-ttf \ --enable-igbinary \ --enable-mbstring \ --enable-memcached \ --enable-memcached-igbinary \ --enable-memcached-json \ --enable-soap \ --enable-sockets \ --enable-xmlreader \ --prefix=/usr/local/php \ --with-curl \ --with-curlwrappers \ --with-freetype-dir=/usr/local/lib/ \ --with-gd \ --with-gettext \ --with-iconv=/usr/local/lib/ \ --with-jpeg-dir=/usr/local/lib/ \ --with-mcrypt \ --with-mysql=mysqlnd \ --with-mysqli=mysqlnd \ --with-openssl \ --with-pdo-mysql=mysqlnd \ --with-pdo-sqlite \ --with-png-dir=/usr/local/lib/ \ --with-t1lib=/usr/local/lib/ \ --with-tidy \ --with-vpx-dir=/usr/local/lib/ \ --with-zlibsudo make Best regards, Denis TRUFFAUT

« previous php.qa (#66036) next »