Thanks. I also found this from Oracle when trying to determine which
path to specify as the second parameter (I am using the instantclient
RPM install, so its scattered):

http://www.oracle.com/technology/pub/notes/technote_php_instant.html

However, now my rpmbuild is failing with:

checking whether to enable pcntl support... yes
checking for fork... no
configure: error: pcntl: fork() not supported by this platform
error: Bad exit status from /var/tmp/rpm-tmp.28264 (%build)

I can rpmbuild fine without the added "--with-oci8"... Any ideas?

Thanks,

Kevin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dirk Gorny
Sent: Sunday, July 01, 2007 5:02 AM
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: Re: [rhelv5-list] OCI8 extension for PHP5

You have to download and install the intantclient from oracle first.
In php.spec add at section:
"# Shell function to configure and build a PHP tree." 
after: "        --with-xml \" and before:" $*" a new line with:
 --with-oci8=instantclient,/opt/instantclient_10_2 \
where /opt/instantclient_10_2 is my instantclient directory.
then rpmbuild -ba php.spec

Best regards,

Dirk 

Am Donnerstag, 28. Juni 2007 schrieb Collins, Kevin [Beeline]:
> Hi,
>
>       has anyone on the list gotten OCI8 working with PHP5 on RHEL5? I
> was previously (RHEL3, RHEL4) able to do:
>
> Install the php src package then:
>
> cd /usr/src/redhat/SPECS
>
> rpmbuild -bb --define 'oracle 1' php.spec
>
> This did not generate a php-oci8 module and after inspecting the
> php.spec file I do not see a %package entry for oci8...
>
> Thanks,
>
> Kevin


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to