ID:               40821
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mactis at cram-sudest dot fr
-Status:           Open
+Status:           Bogus
 Bug Type:         *Compile Issues
 Operating System: AIX 5.2 64bits
 PHP Version:      5.2.1
 New Comment:

See bug #39178.


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

[2007-03-15 15:02:01] mactis at cram-sudest dot fr

Description:
------------
When attempting to compile PHP 5.2.1 with oci8 for oracle 10G we've got
an error during 'make' : 
/bin/sh /fic/Install/Php/php-5.2.1/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/oci8/ -I/fic/Install/Php/php-5.2.1/ext/oci8/
-DPHP_ATOM_INC -I/fic/Install/Php/php-5.2.1/include
-I/fic/Install/Php/php-5.2.1/main -I/fic/Install/Php/php-5.2.1
-I/opt/freeware/include/libxml2
-I/fic/Install/Php/php-5.2.1/ext/date/lib -I/usr/X11R6/include
-I/usr/include/freetype2
-I/ofa/app/oracle/product/10.2.0/db_1//rdbms/public
-I/ofa/app/oracle/product/10.2.0/db_1//rdbms/demo
-I/ofa/app/oracle/product/10.2.0/db_1//plsql/public
-I/fic/Install/Php/php-5.2.1/TSRM -I/fic/Install/Php/php-5.2.1/Zend   
-I/usr/include -DHAVE_LONG_LONG   -c
/fic/Install/Php/php-5.2.1/ext/oci8/oci8.c -o ext/oci8/oci8.lo
In file included from /fic/Install/Php/php-5.2.1/ext/oci8/oci8.c:50:
/fic/Install/Php/php-5.2.1/ext/oci8/php_oci8_int.h:344: error: parse
error before "oraub8"
make: 1254-004 The error code from the last command is 1.
    

Reproduce code:
---------------
export ORACLE_HOME=/ofa/app/oracle/product/10.2.0/db_1
export
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/instantclient:/opt/freeware/lib
export CFLAGS=" -DHAVE_LONG_LONG"
./configure --prefix=/usr/local \
                    --with-apxs2=/usr/local/apache/bin/apxs \
                    --with-config-file-path=/usr/local/apache/conf \
                    --with-oci8=$ORACLE_HOME \
                    --enable-shared \
                    --disable-static \
                    --with-gd \
                    --enable-sigchild \
                    --with-gettext-dir=/opt/freeware/lib \
                    --with-zlib-dir=/opt/freeware/lib \
                    --with-png-dir=/opt/freeware/lib \
                    --with-zlib-dir=/opt/freeware/lib \
                    --with-xml-dir=/opt/freeware/lib \
                    --with-png-dir=/opt/freeware/lib \
                    --with-jpeg-dir=/opt/freeware/lib \
                    --with-freetype-dir=/opt/freeware/lib \
                    --with-xpm-dir=/opt/freeware/lib

make

Expected result:
----------------
Successful Compile.

Actual result:
--------------
/bin/sh /fic/Install/Php/php-5.2.1/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/oci8/ -I/fic/Install/Php/php-5.2.1/ext/oci8/
-DPHP_ATOM_INC -I/fic/Install/Php/php-5.2.1/include
-I/fic/Install/Php/php-5.2.1/main -I/fic/Install/Php/php-5.2.1
-I/opt/freeware/include/libxml2
-I/fic/Install/Php/php-5.2.1/ext/date/lib -I/usr/X11R6/include
-I/usr/include/freetype2
-I/ofa/app/oracle/product/10.2.0/db_1//rdbms/public
-I/ofa/app/oracle/product/10.2.0/db_1//rdbms/demo
-I/ofa/app/oracle/product/10.2.0/db_1//plsql/public
-I/fic/Install/Php/php-5.2.1/TSRM -I/fic/Install/Php/php-5.2.1/Zend   
-I/usr/include -DHAVE_LONG_LONG   -c
/fic/Install/Php/php-5.2.1/ext/oci8/oci8.c -o ext/oci8/oci8.lo
In file included from /fic/Install/Php/php-5.2.1/ext/oci8/oci8.c:50:
/fic/Install/Php/php-5.2.1/ext/oci8/php_oci8_int.h:344: error: parse
error before "oraub8"
make: 1254-004 The error code from the last command is 1.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40821&edit=1

Reply via email to