From:             jarancibia at nacion-seguros dot com dot ar
Operating system: Debian Etch 4.0
PHP version:      5.2.4
PHP Bug Type:     OCI8 related
Bug description:  Can't compile with support with Oracle 10g

Description:
------------
I try to install php 5.2.4 and php 5.2.3 and not work make step:

make clean

export ORACLE_HOME=/opt/oracle/app/oracle/product/client10g
export
PERL5LIB=\:/opt/oracle/app/oracle/product/client10g/perl/lib/5.8.3\:/opt/oracle/app/oracle/product/client10g/perl/lib/site_perl/5.8.3
export
LD_LIBRARY_PATH=/opt/oracle/app/oracle/product/client10g/lib\:/opt/oracle/app/oracle/product/client10g/network/lib

./configure --prefix=/usr \
  --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin \
  --libexecdir=/usr/libexec --datadir=/usr/share \
  --sysconfdir=/etc --sharedstatedir=/usr/com \
  --localstatedir=/var --libdir=/usr/lib \
  --includedir=/usr/include --infodir=/usr/share/info \
  --mandir=/usr/share/man --with-apxs2=/usr/bin/apxs2 \
  --enable-debug --with-config-file-path=/etc \
  --enable-safe-mode \
  --with-exec-dir \
  --enable-sigchild \
  --disable-ipv6 \
  --with-openssl \
  --with-zlib \
  --with-bz2 \
  --enable-calendar \
  --with-curl \
  --with-gdbm \
  --with-gd \
  --enable-ftp \
  --with-jpeg-dir=/usr \
  --with-png-dir \
  --with-freetype-dir=/usr/lib \
  --with-ttf \
  --with-gettext \
  --enable-magic-quotes \
  --with-gmp \
  --with-mcrypt \
  --with-mysql-sock=/var/run/mysqld/mysqld.sock \
  --with-oci8 \
  --with-pspell \
  --enable-sockets \
  --with-regex=system \
  --enable-sysvsem \
  --enable-sysvshm \
  --enable-wddx \
  --enable-zip \
  --with-zlib-dir \
  --with-pic \
  --disable-rpath \
  --enable-inline-optimization \
  --enable-discard-path=yes \
  --enable-force-cgi-redirect=yes \
  --with-layout=GNU \
  --with-tsrm-pthreads \
  --enable-maintainer-zts


Reproduce code:
---------------
Output of make command:

 /root/php-5.2.3/meta_ccld -Iext/oci8/ -I/root/php-5.2.3/ext/oci8/
-DPHP_ATOM_INC -I/root/php-5.2.3/include -I/root/php-5.2.3/main
-I/root/php-5.2.3 -I/usr/include/libxml2 -I/root/php-5.2.3/ext/date/lib
-I/usr/include/freetype2
-I/opt/oracle/app/oracle/product/client10g/rdbms/public
-I/opt/oracle/app/oracle/product/client10g/rdbms/demo
-I/opt/oracle/app/oracle/product/client10g/plsql/public
-I/usr/include/pspell -I/root/php-5.2.3/TSRM -I/root/php-5.2.3/Zend
-I/root/php-5.2.3/ext/oci8 -D_REENTRANT -I/usr/include -g -pthread -O0
-Wall -DZTS -c /root/php-5.2.3/ext/oci8/oci8.c  -fPIC -DPIC -o
ext/oci8/.libs/oci8.o
In file included from /root/php-5.2.3/ext/oci8/oci8.c:50:
/root/php-5.2.3/ext/oci8/php_oci8_int.h:56:17: error: oci.h: No such file
or directory
In file included from /root/php-5.2.3/ext/oci8/oci8.c:50:
/root/php-5.2.3/ext/oci8/php_oci8_int.h:101: error: expected
specifier-qualifier-list before 'OCIEnv'
/root/php-5.2.3/ext/oci8/php_oci8_int.h:124: error: expected
specifier-qualifier-list before 'dvoid'
/root/php-5.2.3/ext/oci8/php_oci8_int.h:136: error: expected
specifier-qualifier-list before 'ub4'
.
.
.
.
.




-- 
Edit bug report at http://bugs.php.net/?id=42759&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42759&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42759&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42759&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42759&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42759&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42759&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42759&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42759&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42759&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42759&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42759&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42759&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42759&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42759&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42759&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42759&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42759&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42759&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42759&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42759&r=mysqlcfg

Reply via email to