#49890 [NEW]: while compiling php from source missing file failure (case sensitive)
From: egemensoylu at hotmail dot com Operating system: Debian 5 PHP version: 5.3.0 PHP Bug Type: Compile Failure Bug description: while compiling php from source missing file failure (case sensitive) Description: I'm trying to compile php with ; ./configure \ --with-oci8=$ORACLE_HOME \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --enable-sigchild configuration OK when try to make #make ... ... Parse error: syntax error, unexpected '/', expecting ')' in /home/eggm an/php-5.3.0/ext/phar/phar.php on line 112 make: *** [ext/phar/phar.phar] Hata 255 actualy when first error occur I try to dig it then I find that compiler looking for that file /home/eggman/php-5.3.0/ext/phar/phar/directorytreeIterator.inc but actual file name is directorytreeIterator.inc mv directorytreeIterator.inc directorytreeiterator.inc .configure make again than same problem with /home/eggman/php-5.3.0/ext/phar/phar/directorygraphIterator.inc = ^ /home/eggman/php-5.3.0/ext/phar/phar/directorygraphiterator.inc rename it too then .configure make telling me Parse error: syntax error, unexpected '/', expecting ')' in /home/eggm an/php-5.3.0/ext/phar/phar.php on line 112 make: *** [ext/phar/phar.phar] Hata 255 at that line an array has ('valuevaluevalue', ) syntax... now i'm try to compile 5.2.11 Thanks. Reproduce code: --- with php-5.3.0.tar.bz2 at offical php source # tar -jxvf php-5.2.9.tar.bz2 # cd php-5.2.9 # export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server # ./configure \ --with-oci8=$ORACLE_HOME \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --enable-sigchild # make Expected result: OK Actual result: -- FAIL -- Edit bug report at http://bugs.php.net/?id=49890edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49890r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49890r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49890r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49890r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49890r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49890r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49890r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49890r=needscript Try newer version: http://bugs.php.net/fix.php?id=49890r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49890r=support Expected behavior: http://bugs.php.net/fix.php?id=49890r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49890r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49890r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49890r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49890r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=49890r=dst IIS Stability: http://bugs.php.net/fix.php?id=49890r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49890r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49890r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49890r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49890r=mysqlcfg
#49890 [Fbk-Opn]: while compiling php from source missing file failure (case sensitive)
ID: 49890 User updated by: egemensoylu at hotmail dot com Reported By: egemensoylu at hotmail dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Debian 5 PHP Version: 5.3.0 New Comment: Pajoye, i'm getting same error with the latest snapshot which you suggest. -- Parse error: syntax error, unexpected '/', expecting ')' in /home/eggman/php5.3-200910151230/ext/phar/phar.php on line 20 make: *** [ext/phar/phar.phar] Hata 255 Hata 255 = Error 255 as you know. -- At the 20. line of phar.php this if block begins; if (!class_exists('DirectoryTreeIterator', 0)) { Warning: file(/home/eggman/php5.3-200910151230/ext/phar/phar/directorytreeIterator.inc): failed to open stream: No such file or directory in /home/eggman/php5.3-200910151230/ext/phar/build_precommand.php on line 31 Warning: join(): Invalid arguments passed in /home/eggman/php5.3-200910151230/ext/phar/build_precommand.php on line 49 } --- actual file name is directorytreeiterator.inc ^ when i rename that file directorygraphiterator.inc error ... ... --- in addition for 5.2.11 configuring ok make ok make test ok squirrel:/home/eggman/php-5.2.11# make install Installing PHP SAPI module: apache2handler /usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la /usr/local/apache/modules /usr/local/apache/build/libtool --mode=install cp libphp5.la /usr/local/apache/modules/ cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /home/eggman/php-5.2.11/libs' chmod 755 /usr/local/apache/modules/libphp5.so after 5 minutes still waiting that line is that normal? Previous Comments: [2009-10-15 13:07:28] paj...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ [2009-10-15 13:04:48] egemensoylu at hotmail dot com Description: I'm trying to compile php with ; ./configure \ --with-oci8=$ORACLE_HOME \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --enable-sigchild configuration OK when try to make #make ... ... Parse error: syntax error, unexpected '/', expecting ')' in /home/eggm an/php-5.3.0/ext/phar/phar.php on line 112 make: *** [ext/phar/phar.phar] Hata 255 actualy when first error occur I try to dig it then I find that compiler looking for that file /home/eggman/php-5.3.0/ext/phar/phar/directorytreeIterator.inc but actual file name is directorytreeIterator.inc mv directorytreeIterator.inc directorytreeiterator.inc .configure make again than same problem with /home/eggman/php-5.3.0/ext/phar/phar/directorygraphIterator.inc = ^ /home/eggman/php-5.3.0/ext/phar/phar/directorygraphiterator.inc rename it too then .configure make telling me Parse error: syntax error, unexpected '/', expecting ')' in /home/eggm an/php-5.3.0/ext/phar/phar.php on line 112 make: *** [ext/phar/phar.phar] Hata 255 at that line an array has ('valuevaluevalue', ) syntax... now i'm try to compile 5.2.11 Thanks. Reproduce code: --- with php-5.3.0.tar.bz2 at offical php source # tar -jxvf php-5.2.9.tar.bz2 # cd php-5.2.9 # export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server # ./configure \ --with-oci8=$ORACLE_HOME \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --enable-sigchild # make Expected result: OK Actual result: -- FAIL -- Edit this bug report at http://bugs.php.net/?id=49890edit=1
#49890 [Asn]: while compiling php from source missing file failure (case sensitive)
ID: 49890 User updated by: egemensoylu at hotmail dot com Reported By: egemensoylu at hotmail dot com Status: Assigned Bug Type: Compile Failure Operating System: Debian 5 PHP Version: 5.3.0 Assigned To: cellog New Comment: Next snapshot php5.3-200910151430 error still... Parse error: syntax error, unexpected '/', expecting ')' in /home/eggman/php5.3-200910151430/ext/phar/phar.php on line 20 make: *** [ext/phar/phar.phar] Hata 255 Previous Comments: [2009-10-15 13:47:13] egemensoylu at hotmail dot com Pajoye, i'm getting same error with the latest snapshot which you suggest. -- Parse error: syntax error, unexpected '/', expecting ')' in /home/eggman/php5.3-200910151230/ext/phar/phar.php on line 20 make: *** [ext/phar/phar.phar] Hata 255 Hata 255 = Error 255 as you know. -- At the 20. line of phar.php this if block begins; if (!class_exists('DirectoryTreeIterator', 0)) { Warning: file(/home/eggman/php5.3-200910151230/ext/phar/phar/directorytreeIterator.inc): failed to open stream: No such file or directory in /home/eggman/php5.3-200910151230/ext/phar/build_precommand.php on line 31 Warning: join(): Invalid arguments passed in /home/eggman/php5.3-200910151230/ext/phar/build_precommand.php on line 49 } --- actual file name is directorytreeiterator.inc ^ when i rename that file directorygraphiterator.inc error ... ... --- in addition for 5.2.11 configuring ok make ok make test ok squirrel:/home/eggman/php-5.2.11# make install Installing PHP SAPI module: apache2handler /usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la /usr/local/apache/modules /usr/local/apache/build/libtool --mode=install cp libphp5.la /usr/local/apache/modules/ cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /home/eggman/php-5.2.11/libs' chmod 755 /usr/local/apache/modules/libphp5.so after 5 minutes still waiting that line is that normal? [2009-10-15 13:07:28] paj...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ [2009-10-15 13:04:48] egemensoylu at hotmail dot com Description: I'm trying to compile php with ; ./configure \ --with-oci8=$ORACLE_HOME \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --enable-sigchild configuration OK when try to make #make ... ... Parse error: syntax error, unexpected '/', expecting ')' in /home/eggm an/php-5.3.0/ext/phar/phar.php on line 112 make: *** [ext/phar/phar.phar] Hata 255 actualy when first error occur I try to dig it then I find that compiler looking for that file /home/eggman/php-5.3.0/ext/phar/phar/directorytreeIterator.inc but actual file name is directorytreeIterator.inc mv directorytreeIterator.inc directorytreeiterator.inc .configure make again than same problem with /home/eggman/php-5.3.0/ext/phar/phar/directorygraphIterator.inc = ^ /home/eggman/php-5.3.0/ext/phar/phar/directorygraphiterator.inc rename it too then .configure make telling me Parse error: syntax error, unexpected '/', expecting ')' in /home/eggm an/php-5.3.0/ext/phar/phar.php on line 112 make: *** [ext/phar/phar.phar] Hata 255 at that line an array has ('valuevaluevalue', ) syntax... now i'm try to compile 5.2.11 Thanks. Reproduce code: --- with php-5.3.0.tar.bz2 at offical php source # tar -jxvf php-5.2.9.tar.bz2 # cd php-5.2.9 # export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server # ./configure \ --with-oci8=$ORACLE_HOME \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --enable-sigchild # make Expected result: OK Actual result: -- FAIL -- Edit this bug report at http://bugs.php.net/?id=49890edit=1