[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

HELP RPMBUILD (RH 3.0 Enterprise - DELL POWEREDGE 3250 64 bit), problems with php with oracle support



Hi all, i'm marco from florence, italy. We have recently purchased from 
DELL the server Poweredge 3250 (2 processor itanium 2  - 64 bit - 4GB RAM). 
In this server machine we use the Linux Redhat Enterprise server 3 (update 
3 - 64 bit version) . We wish use our server for delivery web application 
togheter at many WEB server in a "WEB - FARM" environment. The our web 
application is in PHP language and use access to ORACLE database and MYSQL 
database, so  want use all the 64 bit power of this machine in these server 
component of redhat linux:
1) Apache web server
2) PHP
Unfortunely the standard rpm of "PHP" (included in red hat enterprise 3 
distribution cd's) don't allow to access to ORACLE database.
So, i was installed the SRPMS of php from Red Hat Enterprise 3.0 (64 bit) 
cd's.
For include the oracle support i have recompiled the php modifying the 
php.spec file for include oracle support:
/usr/src/redhat/SPECS/php.spec:

......
......


%if %{oracle}
         --with-oci8=/home/oracle/u01/app/oracle/product/9.2.0 \    # this 
is the line added for oracle support!!!!!
%endif

.......
........


NOw i have lanched this command:
cd /usr/src/redhat/SPECS/
rpmbuild -bb  php.spec

The compiling process start but.... i got an error at this point:

............
............
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5459: request for member 
`element_type' in something not a structure or union
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5459: request for member 
`in_call' in something not a structure or union
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5472: request for member 
`in_call' in something not a structure or union
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5472: request for member 
`in_call' in something not a structure or union
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5472: syntax error before 
')' token
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5472: request for member 
`in_call' in something not a structure or union
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5480: request for member 
`coll_typecode' in something not a structure or union
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5494: request for member 
`in_call' in something not a structure or union
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5494: request for member 
`in_call' in something not a structure or union
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5494: warning: implicit 
declaration of function `OCIObjectNew'
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5494: request for member 
`tdo' in something not a structure or union
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5494: syntax error before 
')' token
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5494: request for member 
`in_call' in something not a structure or union
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:5502: request for member 
`id' in something not a structure or union
/usr/include/sys/stat.h: At top level:
/usr/src/redhat/BUILD/php-4.3.2/ext/oci8/oci8.c:1027: warning: `oci_ping' 
defined but not used
make: *** [ext/oci8/oci8.lo] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.6048 (%build)
     Bad exit status from /var/tmp/rpm-tmp.6048 (%build)
--------------------
I need help!!!!
Ciao!!!!
MArco



INDIRE(OUTBOUND):messaggio controllato dal server antivirus 






INDIRE(OUTBOUND):messaggio controllato dal server antivirus 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]