From:             d dot j dot stevenson at sussex dot ac dot uk
Operating system: Solaris 9
PHP version:      5.0.0RC2
PHP Bug Type:     Compile Failure
Bug description:  Parse and other errors reported during make

Description:
------------
Did this once I downloaded the source:

gunzip php-5.0.0RC2.tar.gz
tar xf php-5.0.0RC2.tar
cd php-5.0.0RC2
export ORACLE_HOME=<path to oracle home>
./configure --with-oci8 --enable-dbx
make



Expected result:
----------------
'Build Complete'

Actual result:
--------------
An extract from the output (I can send the full output if you want):

gcc  -Iext/standard/ -I/home/davidst/php-5.0.0RC2/ext/standard/
-DPHP_ATOM_INC -
I/home/davidst/php-5.0.0RC2/include -I/home/davidst/php-5.0.0RC2/main
-I/home/da
vidst/php-5.0.0RC2 -I/home/davidst/php-5.0.0RC2/Zend
-I/usr/local/include/libxml
2 -I/usr/oracle/ora8i/rdbms/public -I/usr/oracle/ora8i/rdbms/demo 
-D_POSIX_PTHR
EAD_SEMANTICS -I/home/davidst/php-5.0.0RC2/TSRM  -g -O2  -c
/home/davidst/php-5.
0.0RC2/ext/standard/proc_open.c -o ext/standard/proc_open.o  && echo >
ext/stand
ard/proc_open.lo
In file included from /home/davidst/php-5.0.0RC2/Zend/zend.h:244,
                 from /home/davidst/php-5.0.0RC2/main/php.h:34,
                 from
/home/davidst/php-5.0.0RC2/ext/standard/proc_open.c:23:
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:39: error: parse error before
'*' to
ken
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:39: error: parse error before
"uint"
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:39: error: `ulong' declared as
funct
ion returning a function
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:49: error: field `h' declared
as a f
unction
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:50: error: parse error before
"uint"
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:50: warning: no semicolon at
end of
struct or union
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:58: error: parse error before
'}' to
ken
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:58: warning: data definition
has no
type or storage class
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:61: error: parse error before
"uint"
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:61: warning: no semicolon at
end of
struct or union
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:62: warning: data definition
has no
type or storage class
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:63: error: parse error before
"nNumO
fElements"
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:63: warning: data definition
has no
type or storage class
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:65: error: parse error before
'*' to
ken
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:65: warning: data definition
has no
type or storage class
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:66: error: parse error before
'*' to
ken
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:66: warning: data definition
has no
type or storage class
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:67: error: parse error before
'*' to
ken
/home/davidst/php-5.0.0RC2/Zend/zend_hash.h:67: warning: data definition
has no
type or storage class


-- 
Edit bug report at http://bugs.php.net/?id=28470&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28470&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28470&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28470&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28470&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28470&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28470&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28470&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28470&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28470&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28470&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28470&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28470&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28470&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28470&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28470&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28470&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28470&r=float

Reply via email to