Re: ocidfn.h: No such file or directory
| From: | Olivier Bourgeois | Date: | Thu, 02 Nov 2000 19:22:19 +0000 |
| Subject: | Re: ocidfn.h: No such file or directory | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-4153@lists.php.net to get a copy of this message | ||
> Hello everybody,
>
> I am trying to compile php-4.0.3pl1 with oracle support
> (--with-oracle=/opt/oracle). I have installed the latest oracle 8.1.6
> downloaded from the technet.oracle.com. However when php is compiling
> I got the following message error:
>
> php-4.0.3pl1/ext/oracle/php_oracle.h:23: ocidfn.h: No such file or
> directory
> php-4.0.3pl1/ext/oracle/php_oracle.h:24: ociapr.h: No such file or
> directory
> make[2]: *** [internal_functions.lo] Error 1
>
Hi,
for Oracle 8.1.6 you should try :
--with-oci8=$ORACLE_HOME --enable-sigchild [--with-oracle=$ORACLE_HOME ]
of course be sure $ORACLE_HOME is correctly set -normaly you should have
done this during post-install of Oracle- or give complete path to Oracle
: I
think it is '/opt/oracle/product/8iR2'
If it doesn't work, try a basic search on 'ocidfn.h' ....