ID:               49890
 Updated by:       paj...@php.net
 Reported By:      egemensoylu at hotmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Debian 5
 PHP Version:      5.3.0
 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------

[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=49890&edit=1

Reply via email to