php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3528 Can't compile php 3.0.14 with Oracle support
Submitted: 2000-02-17 20:46 UTC Modified: 2002-10-01 13:53 UTC
From: nagel at ursu dot uregina dot ca Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 3.0.14 OS: Linux Mandrake 6.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
35 + 18 = ?
Subscribe to this entry?

 
 [2000-02-17 20:46 UTC] nagel at ursu dot uregina dot ca
I'm tring to build mod_php3 (3.0.14) on Linux Mandrake 6.1 with Apache1.3.9, MySQL 3.22.25 and Oracle 7.3.3.5.0 support (using Oracle 8.1.5.0.2 client libraries). Make seems to fail on internal-functions.c. Here are the options that I fed to configure:

./configure \        --with-apxs=/usr/sbin/apxs \
--prefix=/usr \
--with-gd \
--with-mysql=/usr \
--with-oracle=/usr/local/oracle/8i/u01/app/oracle/product/8.1.5 \
--with-zlib \
--with-dbase \
--with-filepro \
--with-config-file-path=/etc/httpd/conf \
--with-fdftk=no \
--enable-debug=no \
--enable-magic-quotes \
--enable-debugger \
--enable-bcmath \
--enable-track-vars \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--with-system-regex

Here is where make fails:

gcc -g -O2 -O6 -fomit-frame-pointer -fno-exceptions -fno-rtti -pipe -s -mpentium -mcpu=pentium -march=pentium -ffast-math -fexpensive-optimizations -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DLINUX=2 -DNO_DBM_REWRITEMAP -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -O2 -fpic -DSHARED_MODULE  -I. -I.   -I/usr/local/oracle/8i/u01/app/oracle/product/8.1.5/network/public -I/usr/local/oracle/8i/u01/app/oracle/product/8.1.5/plsql/public -I/usr/include/apache                  -I/usr/include/mysql    -c internal_functions.c -o internal_functions.o
In file included from internal_functions.c:53:
functions/php3_oci8.h:53: oci.h: No such file or directory
In file included from internal_functions.c:55:
functions/oracle.h:20: oratypes.h: No such file or directory
functions/oracle.h:21: ocidfn.h: No such file or directory
functions/oracle.h:23: ociapr.h: No such file or directory
In file included from internal_functions.c:53:
functions/php3_oci8.h:60: parse error before `OCIServer'
functions/php3_oci8.h:60: warning: no semicolon at end of struct or union
functions/php3_oci8.h:61: warning: data definition has no type or storage class
functions/php3_oci8.h:62: warning: data definition has no type or storage class
functions/php3_oci8.h:68: parse error before `oci8_server'
functions/php3_oci8.h:68: warning: no semicolon at end of struct or union
functions/php3_oci8.h:69: warning: data definition has no type or storage class
functions/php3_oci8.h:70: parse error before `}'
functions/php3_oci8.h:70: warning: data definition has no type or storage class
functions/php3_oci8.h:75: parse error before `oci8_session'
functions/php3_oci8.h:75: warning: no semicolon at end of struct or union
functions/php3_oci8.h:76: warning: data definition has no type or storage class
functions/php3_oci8.h:77: parse error before `error'
functions/php3_oci8.h:77: warning: data definition has no type or storage class
functions/php3_oci8.h:78: parse error before `*'
functions/php3_oci8.h:78: warning: data definition has no type or storage class
functions/php3_oci8.h:81: parse error before `}'
functions/php3_oci8.h:81: warning: data definition has no type or storage class
functions/php3_oci8.h:84: parse error before `dvoid'
functions/php3_oci8.h:84: warning: no semicolon at end of struct or union
functions/php3_oci8.h:85: warning: data definition has no type or storage class
functions/php3_oci8.h:86: warning: data definition has no type or storage class
functions/php3_oci8.h:90: parse error before `text'
functions/php3_oci8.h:90: warning: no semicolon at end of struct or union
functions/php3_oci8.h:91: warning: data definition has no type or storage class
functions/php3_oci8.h:92: parse error before `type'
functions/php3_oci8.h:92: warning: data definition has no type or storage class
functions/php3_oci8.h:93: warning: data definition has no type or storage class
functions/php3_oci8.h:97: parse error before `oci8_connection'
functions/php3_oci8.h:97: warning: no semicolon at end of struct or union
functions/php3_oci8.h:98: warning: data definition has no type or storage class
functions/php3_oci8.h:99: parse error before `*'
functions/php3_oci8.h:99: warning: data definition has no type or storage class
functions/php3_oci8.h:100: parse error before `*'
functions/php3_oci8.h:100: warning: data definition has no type or storage class
functions/php3_oci8.h:107: parse error before `}'
functions/php3_oci8.h:107: warning: data definition has no type or storage class
functions/php3_oci8.h:110: parse error before `OCIBind'
functions/php3_oci8.h:110: warning: no semicolon at end of struct or union
functions/php3_oci8.h:112: parse error before `*'
functions/php3_oci8.h:112: warning: data definition has no type or storage class
functions/php3_oci8.h:113: parse error before `*'
functions/php3_oci8.h:113: warning: data definition has no type or storage class
functions/php3_oci8.h:114: parse error before `maxsize'
functions/php3_oci8.h:114: warning: data definition has no type or storage class
functions/php3_oci8.h:115: parse error before `indicator'
functions/php3_oci8.h:115: warning: data definition has no type or storage class
functions/php3_oci8.h:116: parse error before `retcode'
functions/php3_oci8.h:116: warning: data definition has no type or storage class
functions/php3_oci8.h:117: warning: data definition has no type or storage class
functions/php3_oci8.h:120: parse error before `oci8_statement'
functions/php3_oci8.h:120: warning: no semicolon at end of struct or union
functions/php3_oci8.h:121: warning: data definition has no type or storage class
functions/php3_oci8.h:123: parse error before `name_len'
functions/php3_oci8.h:123: warning: data definition has no type or storage class
functions/php3_oci8.h:124: parse error before `data_type'
functions/php3_oci8.h:124: warning: data definition has no type or storage class
functions/php3_oci8.h:125: parse error before `data_size'
functions/php3_oci8.h:125: warning: data definition has no type or storage class
functions/php3_oci8.h:126: parse error before `storage_size4'
functions/php3_oci8.h:126: warning: data definition has no type or storage class
functions/php3_oci8.h:127: parse error before `indicator'
functions/php3_oci8.h:127: warning: data definition has no type or storage class
functions/php3_oci8.h:128: parse error before `retcode'
functions/php3_oci8.h:128: warning: data definition has no type or storage class
functions/php3_oci8.h:129: parse error before `retlen'
functions/php3_oci8.h:129: warning: data definition has no type or storage class
functions/php3_oci8.h:130: parse error before `retlen4'
functions/php3_oci8.h:130: warning: data definition has no type or storage class
functions/php3_oci8.h:131: parse error before `is_descr'
functions/php3_oci8.h:131: warning: data definition has no type or storage class
functions/php3_oci8.h:132: parse error before `is_cursor'
functions/php3_oci8.h:132: warning: data definition has no type or storage class
functions/php3_oci8.h:133: conflicting types for `descr'
functions/php3_oci8.h:112: previous declaration of `descr'
functions/php3_oci8.h:134: parse error before `*'
functions/php3_oci8.h:134: warning: data definition has no type or storage class
functions/php3_oci8.h:135: parse error before `*'
functions/php3_oci8.h:135: warning: data definition has no type or storage class
functions/php3_oci8.h:137: conflicting types for `data'
php.h:476: previous declaration of `data'
functions/php3_oci8.h:138: parse error before `*'
functions/php3_oci8.h:138: warning: data definition has no type or storage class
functions/php3_oci8.h:140: parse error before `cb_retlen'
functions/php3_oci8.h:140: warning: data definition has no type or storage class
functions/php3_oci8.h:141: warning: data definition has no type or storage class
functions/php3_oci8.h:144: parse error before `sword'
functions/php3_oci8.h:144: warning: no semicolon at end of struct or union
functions/php3_oci8.h:145: warning: data definition has no type or storage class
functions/php3_oci8.h:171: parse error before `*'
functions/php3_oci8.h:171: warning: data definition has no type or storage class
functions/php3_oci8.h:172: parse error before `}'
functions/php3_oci8.h:172: warning: data definition has no type or storage class
In file included from internal_functions.c:55:
functions/oracle.h:62: parse error before `Lda_Def'
functions/oracle.h:62: warning: no semicolon at end of struct or union
functions/oracle.h:63: warning: data definition has no type or storage class
functions/oracle.h:64: parse error before `}'
functions/oracle.h:64: warning: data definition has no type or storage class
functions/oracle.h:67: parse error before `sb4'
functions/oracle.h:68: warning: data definition has no type or storage class
functions/oracle.h:69: parse error before `cbuf'
functions/oracle.h:69: warning: data definition has no type or storage class
functions/oracle.h:70: parse error before `cbufl'
functions/oracle.h:70: warning: data definition has no type or storage class
functions/oracle.h:71: parse error before `dsize'
functions/oracle.h:71: warning: data definition has no type or storage class
functions/oracle.h:72: parse error before `prec'
functions/oracle.h:72: warning: data definition has no type or storage class
functions/oracle.h:73: parse error before `scale'
functions/oracle.h:73: warning: data definition has no type or storage class
functions/oracle.h:74: parse error before `nullok'
functions/oracle.h:74: warning: data definition has no type or storage class
functions/oracle.h:75: parse error before `*'
functions/oracle.h:75: warning: data definition has no type or storage class
functions/oracle.h:76: parse error before `indp'
functions/oracle.h:76: warning: data definition has no type or storage class
functions/oracle.h:77: parse error before `col_retlen'
functions/oracle.h:77: warning: data definition has no type or storage class
functions/oracle.h:78: parse error before `}'
functions/oracle.h:78: warning: data definition has no type or storage class
functions/oracle.h:81: parse error before `text'
functions/oracle.h:81: warning: no semicolon at end of struct or union
functions/oracle.h:67: warning: no semicolon at end of struct or union
functions/oracle.h:68: warning: data definition has no type or storage class
functions/oracle.h:69: parse error before `cbuf'
functions/oracle.h:69: warning: data definition has no type or storage class
functions/oracle.h:70: parse error before `cbufl'
functions/oracle.h:70: warning: data definition has no type or storage class
functions/oracle.h:71: parse error before `dsize'
functions/oracle.h:71: warning: data definition has no type or storage class
functions/oracle.h:72: parse error before `prec'
functions/oracle.h:72: warning: data definition has no type or storage class
functions/oracle.h:73: parse error before `scale'
functions/oracle.h:73: warning: data definition has no type or storage class
functions/oracle.h:74: parse error before `nullok'
functions/oracle.h:74: warning: data definition has no type or storage class
functions/oracle.h:75: parse error before `*'
functions/oracle.h:75: warning: data definition has no type or storage class
functions/oracle.h:76: parse error before `indp'
functions/oracle.h:76: warning: data definition has no type or storage class
functions/oracle.h:77: parse error before `col_retlen'
functions/oracle.h:77: warning: data definition has no type or storage class
functions/oracle.h:78: parse error before `}'
functions/oracle.h:78: warning: data definition has no type or storage class
functions/oracle.h:81: parse error before `text'
functions/oracle.h:81: warning: no semicolon at end of struct or union
functions/oracle.h:82: warning: data definition has no type or storage class
functions/oracle.h:83: parse error before `inout'
functions/oracle.h:83: warning: data definition has no type or storage class
functions/oracle.h:84: parse error before `alen'
functions/oracle.h:84: warning: data definition has no type or storage class
functions/oracle.h:85: warning: data definition has no type or storage class
functions/oracle.h:89: parse error before `Cda_Def'
functions/oracle.h:89: warning: no semicolon at end of struct or union
functions/oracle.h:90: warning: data definition has no type or storage class
functions/oracle.h:93: parse error before `*'
functions/oracle.h:93: conflicting types for `columns'
functions/php3_oci8.h:102: previous declaration of `columns'
functions/oracle.h:93: warning: data definition has no type or storage class
functions/oracle.h:96: parse error before `*'
functions/oracle.h:96: warning: data definition has no type or storage class
functions/oracle.h:98: parse error before `}'
functions/oracle.h:98: warning: data definition has no type or storage class
make: *** [internal_functions.o] Error 1




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 13:53 UTC] hholzgra@php.net
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 14:01:26 2019 UTC