|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57849 include oci.h in php_oci8_int.h
Submitted: 2007-09-26 05:09 UTC Modified: 2007-09-26 05:14 UTC
From: deusman at gmail dot com Assigned:
Status: Not a bug Package: oci8 (PECL)
PHP Version: 5.1.2 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: deusman at gmail dot com
New email:
PHP Version: OS:


 [2007-09-26 05:09 UTC] deusman at gmail dot com

currently using oci8-1.2.3 just fine.
Trying to upgrade to 1.2.4 fails to compile

oci8 fails to compile (make) when using the pecl interface.

Manual compilation was OK, after changing the line
#include <oci.h>


#include "oci.h"

Error happens at about line 140 of the compilation output

See output in section "Actual Result"

Actual result:
133 configure: creating ./config.status
    134 config.status: creating config.h
    135 running: make
    136 /bin/sh /var/tmp/pear-build-root/oci8-1.2.4/libtool --mode=compile gcc  -I. -I/tmp/pear/download/oci8-1.2.4 -DPHP_ATO
    136 M_INC -I/var/tmp/pear-build-root/oci8-1.2.4/include -I/var/tmp/pear-build-root/oci8-1.2.4/main -I/tmp/pear/download/o
    136 ci8-1.2.4 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/inclu
    136 de/php5/ext  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/download/oci8-1.2.4/oci8.c -o oci8.lo
    137 mkdir .libs
    138  gcc -I. -I/tmp/pear/download/oci8-1.2.4 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/oci8-1.2.4/include -I/var/tmp/pear
    138 -build-root/oci8-1.2.4/main -I/tmp/pear/download/oci8-1.2.4 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/inclu
    138 de/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/download/oci8-1.2.4
    138 /oci8.c  -fPIC -DPIC -o .libs/oci8.o
    139 In file included from /tmp/pear/download/oci8-1.2.4/oci8.c:50:
    140 /tmp/pear/download/oci8-1.2.4/php_oci8_int.h:56:17: error: oci.h: No such file or directory
    141 In file included from /tmp/pear/download/oci8-1.2.4/oci8.c:50:
    142 /tmp/pear/download/oci8-1.2.4/php_oci8_int.h:101: error: expected specifier-qualifier-list before 'OCIEnv'
    143 /tmp/pear/download/oci8-1.2.4/php_oci8_int.h:125: error: expected specifier-qualifier-list before 'dvoid'
    144 /tmp/pear/download/oci8-1.2.4/php_oci8_int.h:137: error: expected specifier-qualifier-list before 'ub4'
    145 /tmp/pear/download/oci8-1.2.4/php_oci8_int.h:144: error: expected specifier-qualifier-list before 'OCIType'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-26 05:14 UTC] tony at daylessday dot org
oci.h: No such file or directory

You're missing Oracle headers.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Sep 28 07:05:52 2022 UTC