2 Replies Latest reply on Jun 9, 2009 5:48 PM by 452222

    OCI8 compile errors on SLES 10

    452222
      I'm stuck. New to Linux, so the error messages are greek. I've googled for days. Can anyone decipher the issue here? Thanks in advance for any help!!

      Used RPM to install instant client 10.2.0.4 (user didn't want v11).
      PHP 5.2.5 installed.
      Used yast to install php5-dev pacakge

      Receive the following output when trying to install oci8 using pecl (sorry it's so long, but I didn't know which part was important - and I did delete a chunk out of the middle that seemed repetitive, since there is a character limit in this forum...):


      +<server>:~ # pecl install oci8+
      downloading oci8-1.3.5.tar ...
      Starting to download oci8-1.3.5.tar (Unknown size)
      +.............................................done: 1,071,616 bytes+
      +10 source files, building+
      running: phpize
      Configuring for:
      PHP Api Version:         20041225
      Zend Module Api No:      20060613
      Zend Extension Api No:   220060519
      +1. Please provide the path to the ORACLE_HOME directory. Use+

      +'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant+

      Client : autodetect

      +1-1, 'all', 'abort', or Enter to continue:+
      building in /var/tmp/pear-build-<username>/oci8-1.3.5
      +running: /tmp/pear/cache/oci8-1.3.5/configure --with-oci8+
      checking for egrep... grep -E
      checking for a sed that does not truncate output... /usr/bin/sed
      checking for gcc... gcc
      checking for C compiler default output file name... a.out
      checking whether the C compiler works... yes
      checking whether we are cross compiling... no
      checking for suffix of executables...
      checking for suffix of object files... o
      checking whether we are using the GNU C compiler... yes
      checking whether gcc accepts -g... yes
      checking for gcc option to accept ANSI C... none needed
      checking whether gcc and cc understand -c and -o together... yes
      checking for system library directory... lib
      checking if compiler supports -R... no
      checking if compiler supports -Wl,-rpath,... yes
      checking build system type... i686-suse-linux
      checking host system type... i686-suse-linux
      checking target system type... i686-suse-linux
      checking for PHP prefix... /usr
      checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main

      -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext

      -I/usr/include/php5/ext/date/lib
      checking for PHP extension directory... /usr/lib/php5/extensions
      checking for PHP installed headers prefix... /usr/include/php5
      checking for re2c... no
      configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate

      PHP parsers.
      checking for gawk... gawk
      checking for Oracle (OCI8) support... yes, shared
      checking PHP version... 5.2.5, ok
      checking how to run the C preprocessor... gcc -E
      checking for ANSI C header files... yes
      checking for sys/types.h... yes
      checking for sys/stat.h... yes
      checking for stdlib.h... yes
      checking for string.h... yes
      checking for memory.h... yes
      checking for strings.h... yes
      checking for inttypes.h... yes
      checking for stdint.h... yes
      checking for unistd.h... yes
      checking for long int... yes
      checking size of long int... 4
      checking checking if we're on a 64-bit platform... no
      checking Oracle ORACLE_HOME install directory... /usr/lib/oracle/10.2.0.4/client
      checking ORACLE_HOME library validity... lib
      checking Oracle version... 10.1
      checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
      checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
      checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
      checking for BSD-compatible nm... /usr/bin/nm -B
      checking whether ln -s works... yes
      checking how to recognise dependent libraries... pass_all
      checking dlfcn.h usability... yes
      checking dlfcn.h presence... yes
      checking for dlfcn.h... yes
      checking for g77... no
      checking for f77... no
      checking for xlf... no
      checking for frt... no
      checking for pgf77... no
      checking for fort77... no
      checking for fl32... no
      checking for af77... no
      checking for f90... no
      checking for xlf90... no
      checking for pgf90... no
      checking for epcf90... no
      checking for f95... no
      checking for fort... no
      checking for xlf95... no
      checking for ifc... no
      checking for efc... no
      checking for pgf95... no
      checking for lf95... no
      checking for gfortran... gfortran
      checking whether we are using the GNU Fortran 77 compiler... yes
      checking whether gfortran accepts -g... yes
      checking the maximum length of command line arguments... 32768
      checking command to parse /usr/bin/nm -B output from gcc object... ok
      checking for objdir... .libs
      checking for ar... ar
      checking for ranlib... ranlib
      checking for strip... strip
      checking if gcc supports -fno-rtti -fno-exceptions... no
      checking for gcc option to produce PIC... -fPIC
      checking if gcc PIC flag -fPIC works... yes
      checking if gcc static flag -static works... yes
      checking if gcc supports -c -o file.o... yes
      checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared

      libraries... yes
      checking whether -lc should be explicitly linked in... no
      checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such

      file or directory
      GNU/Linux ld.so
      checking how to hardcode library paths into programs... immediate
      checking whether stripping libraries is possible... yes
      checking if libtool supports shared libraries... yes
      checking whether to build shared libraries... yes
      checking whether to build static libraries... no
      configure: creating libtool
      appending configuration tag "CXX" to libtool
      appending configuration tag "F77" to libtool
      checking if libtool supports shared libraries... yes
      checking whether to build shared libraries... yes
      checking whether to build static libraries... no
      checking for gfortran option to produce PIC... -fPIC
      checking if gfortran PIC flag -fPIC works... yes
      checking if gfortran static flag -static works... yes
      checking if gfortran supports -c -o file.o... yes
      checking whether the gfortran linker (/usr/i586-suse-linux/bin/ld) supports shared

      libraries... yes
      checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such

      file or directory
      GNU/Linux ld.so
      checking how to hardcode library paths into programs... immediate
      configure: creating ./config.status
      config.status: creating config.h
      running: make
      +/bin/sh /var/tmp/pear-build-<username>/oci8-1.3.5/libtool --mode=compile gcc  -I.+

      -I/tmp/pear/cache/oci8-1.3.5 -DPHP_ATOM_INC

      -I/var/tmp/pear-build-<username>/oci8-1.3.5/include

      -I/var/tmp/pear-build-<username>/oci8-1.3.5/main -I/tmp/pear/cache/oci8-1.3.5

      -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM

      -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib

      -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/cache/oci8-1.3.5/oci8.c -o oci8.lo
      mkdir .libs
      gcc -I. -I/tmp/pear/cache/oci8-1.3.5 -DPHP_ATOM_INC

      -I/var/tmp/pear-build-<username>/oci8-1.3.5/include

      -I/var/tmp/pear-build-<username>/oci8-1.3.5/main -I/tmp/pear/cache/oci8-1.3.5

      -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM

      -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib

      -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/cache/oci8-1.3.5/oci8.c  -fPIC -DPIC -o

      +.libs/oci8.o+
      In file included from /tmp/pear/cache/oci8-1.3.5/oci8.c:51:
      +/tmp/pear/cache/oci8-1.3.5/php_oci8_int.h:56:17: error: oci.h: No such file or+

      directory
      In file included from /tmp/pear/cache/oci8-1.3.5/oci8.c:51:
      specifier-qualifier-list before 'text'
      +/tmp/pear/cache/oci8-1.3.5/php_oci8_int.h:183: error: expected+

      function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:992: error: (Each undeclared identifier is+

      reported only once
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:992: error: for each function it appears in.)+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:992: error: expected ';' before 'errstatus'+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:993: error: 'sb4' undeclared (first use in this+

      named 'env'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:1042: error: called object+

      +'<erroneous-expression>' is not a function+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:1042: error: 'OCI_HTYPE_ENV' undeclared (first+

      use in this function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:1044: error: 'zend_oci_globals' has no member+


      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2392: error: 'php_oci_out_column' has no+

      member named 'retlen'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2392: warning: assignment makes integer from+

      pointer without a cast
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2401: error: 'php_oci_out_column' has no+

      member named 'data'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2401: warning: initialization from incompatible+

      pointer type
      +/tmp/pear/cache/oci8-1.3.5/oci8.c: In function 'php_oci_fetch_row':+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2416: error: 'ub4' undeclared (first use in this+

      function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2416: error: expected ';' before 'nrows'+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2462: error: 'nrows' undeclared (first use in this+

      function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2462: error: too many arguments to function+

      +'php_oci_statement_fetch'+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2468: error: 'php_oci_statement' has no+

      member named 'ncolumns'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2468: warning: comparison between pointer and+

      integer
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2475: error: 'php_oci_out_column' has no+

      member named 'idle_expiry'
      named 'debug_mode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2568: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2568: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2568: error: 'php_oci_spool' has no member+

      named 'env'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2568: error: 'dvoid' undeclared (first use in this+

      function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2568: error: expected expression before ')'+

      token
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2568: error: invalid operands to binary *+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2568: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2570: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2570: error: 'OCI_SUCCESS' undeclared (first+

      use in this function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2571: error: 'zend_oci_globals' has no member+

      named 'err'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2571: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2580: error: 'zend_oci_globals' has no member+

      named 'debug_mode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2580: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2580: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2580: error: expected expression before ')'+

      token
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2580: error: invalid operands to binary *+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2580: error: 'zend_oci_globals' has no member+

      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2592: error: 'OCI_SPC_HOMOGENEOUS'+

      undeclared (first use in this function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2598: error: 'zend_oci_globals' has no member+

      named 'debug_mode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2598: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2598: error: 'zend_oci_globals' has no member+

      named 'errcode'

      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2598: error: 'OraText' undeclared (first use in+

      this function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2598: error: expected expression before ')'+

      token
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2598: error: invalid operands to binary *+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2598: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2600: error: 'zend_oci_globals' has no member+

      named 'persistent_timeout'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2608: error: expected ';' before 'timeout'+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2610: error: 'zend_oci_globals' has no member+

      named 'debug_mode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2610: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2610: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2610: error: expected expression before ')'+

      token
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2610: error: invalid operands to binary *+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2610: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2612: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2613: error: 'zend_oci_globals' has no member+

      named 'err'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2613: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2625: error: 'zend_oci_globals' has no member+

      named 'debug_mode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c: In function 'php_oci_get_spool':+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2680: error: 'php_oci_spool' has no member+

      named 'spool_hash_key'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2680: error: 'php_oci_spool' has no member+

      named 'spool_hash_key'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2680: warning: passing argument 1 of 'strlen'+

      from incompatible pointer type
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2680: warning: passing argument 2 of+

      +'_zend_hash_add_or_update' from incompatible pointer type+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2682: error: 'php_oci_spool' has no member+

      named 'spool_hash_key'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2682: warning: passing argument 1 of 'strlen'+

      from incompatible pointer type
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2683: error: 'php_oci_spool' has no member+

      named 'spool_hash_key'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c: At top level:+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2703: error: expected '=', ',', ';', 'asm' or+

      +'__attribute__' before '*' token+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c: In function 'php_oci_old_create_session':+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2728: error: 'ub4' undeclared (first use in this+

      function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2728: error: expected ';' before+

      +'statement_cache_size'+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2730: error: 'zend_oci_globals' has no member+

      named 'debug_mode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2735: error: 'php_oci_connection' has no+

      member named 'env'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2735: error: 'php_oci_connection' has no+

      member named 'charset'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2740: error: 'zend_oci_globals' has no member+

      named 'debug_mode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2740: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2740: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2740: error: 'php_oci_connection' has no+

      member named 'env'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2740: error: 'dvoid' undeclared (first use in this+

      function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2740: error: expected expression before ')'+

      token
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2740: error: invalid operands to binary *+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2740: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2742: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2742: error: 'OCI_SUCCESS' undeclared (first+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2748: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2748: error: 'php_oci_connection' has no+


      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2792: error: expected expression before ')'+

      token
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2792: error: invalid operands to binary *+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2792: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2794: error: 'zend_oci_globals' has no member+
      named 'debug_mode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2801: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2801: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2801: error: 'php_oci_connection' has no+

      member named 'svc'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2801: error: 'OCI_HTYPE_SVCCTX' undeclared+

      +(first use in this function)+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2801: error: 'php_oci_connection' has no+

      member named 'server'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2801: error: 'OCI_ATTR_SERVER' undeclared+

      +(first use in this function)+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2801: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2809: error: 'php_oci_connection' has no+

      member named 'svc'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2809: error: 'php_oci_connection' has no+

      member named 'session'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2809: error: 'OCI_ATTR_SESSION' undeclared+

      +(first use in this function)+
      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2818: error: 'php_oci_connection' has no+

      member named 'svc'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2818: error: 'zend_oci_globals' has no member+

      named 'err'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2818: error: expected expression before ')'+

      token
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2818: error: invalid operands to binary *+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2818: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2820: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2821: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2825: error: expected expression before ')'+

      token
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2825: error: invalid operands to binary *+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2825: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2833: error: expected ';' before 'cred_type'+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2837: error: 'cred_type' undeclared (first use in+

      this function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2837: error: 'OCI_CRED_EXT' undeclared (first+

      use in this function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2841: error: 'OCI_STMT_CACHE' undeclared+

      +(first use in this function)+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2841: error: invalid operands to binary |+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2841: error: incompatible types in assignment+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2843: error: 'zend_oci_globals' has no member+
      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2843: error: 'php_oci_connection' has no+

      member named 'svc'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2843: error: 'zend_oci_globals' has no member+

      named 'err'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2843: error: 'php_oci_connection' has no+

      member named 'session'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2843: error: expected ')' before 'cred_type'+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2843: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2845: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2850: error: 'OCI_SUCCESS_WITH_INFO'+

      undeclared (first use in this function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2857: error: 'zend_oci_globals' has no member+

      named 'err'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2857: warning: comparison between pointer and+

      integer
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2858: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2862: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2862: error: expected expression before ')'+

      token
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2862: error: invalid operands to binary *+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2862: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2864: error: 'zend_oci_globals' has no member+

      named 'err'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2991: error: 'ub1' undeclared (first use in this+

      function)
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2991: error: expected expression before ')'+

      token
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2991: error: invalid operands to binary *+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2991: error: 'zend_oci_globals' has no member+

      named 'in_call'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2992: error: 'zend_oci_globals' has no member+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2993: error: 'zend_oci_globals' has no member+
      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2997: error: 'php_oci_connection' has no+

      member named 'next_pingp'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2999: error: 'zend_oci_globals' has no member+

      named 'err'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:2999: warning: comparison between pointer and+

      named 'errcode'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:3003: error: 'php_oci_connection' has no+

      member named 'next_pingp'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:3003: error: invalid operands to binary >+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:3003: error: 'php_oci_connection' has no+

      member named 'next_pingp'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:3003: error: invalid operands to binary >=+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:3006: error: 'php_oci_connection' has no+

      member named 'next_pingp'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:3006: error: 'zend_oci_globals' has no member+

      named 'spool_hash_key'
      +/tmp/pear/cache/oci8-1.3.5/oci8.c: At top level:+
      +/tmp/pear/cache/oci8-1.3.5/oci8.c:3082: error: expected '=', ',', ';', 'asm' or+

      +'__attribute__' before 'php_oci_ping_init'+
      +make: *** [oci8.lo] Error 1+
      ERROR: `make' failed
      +<server>:~ #+
        • 1. Re: OCI8 compile errors on SLES 10
          cj
          Unset ORACLE_HOME. It should not be set for Instant Client (except in one rare case).

          Also instead of leaving the install to "autodetect", try using the form "instantclient,/usr/lib/oracle/10.2.0.4/client/lib". See http://blogs.oracle.com/opal/2009/03/pecl_install_prompts_explained.html for a discussion of answering the PECL install prompts.

          Also see http://www.oracle.com/technology/pub/notes/technote_php_instant.html
          and http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf
          • 2. Re: OCI8 compile errors on SLES 10
            452222
            You're freaking kidding me. That's it?? Thank you so much! I've been typing in that "instantclient,..." path over and over and over when prompted, but nowhere did I see I had to unset the ORACLE_HOME path in env! OCI8 compiled like a charm... now I'm on to the next steps - wish me luck. :)

            Thanks again.