php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62791 PDO IBM installation error
Submitted: 2012-08-10 13:21 UTC Modified: -
Votes:7
Avg. Score:4.7 ± 0.5
Reproduced:7 of 7 (100.0%)
Same Version:2 (28.6%)
Same OS:3 (42.9%)
From: brijesh dot mishra at osscube dot com Assigned:
Status: Open Package: PDO_IBM (PECL)
PHP Version: 5.3.15 OS: linux
Private report: No CVE-ID: None
 [2012-08-10 13:21 UTC] brijesh dot mishra at osscube dot com
Description:
------------
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# make
/bin/bash /home/administrator/Downloads/PDO_IBM-1.3.1/libtool --mode=compile cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include  -DHAVE_CONFIG_H  -g -O2   -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c -o pdo_ibm.lo 
libtool: compile:  cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -DHAVE_CONFIG_H -g -O2 -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c  -fPIC -DPIC -o .libs/pdo_ibm.o
In file included from /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c:31:0:
/home/administrator/Downloads/PDO_IBM-1.3.1/php_pdo_ibm_int.h:26:21: fatal error: sqlcli1.h: No such file or directory
compilation terminated.
make: *** [pdo_ibm.lo] Error 1
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# 

Test script:
---------------
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# make
/bin/bash /home/administrator/Downloads/PDO_IBM-1.3.1/libtool --mode=compile cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include  -DHAVE_CONFIG_H  -g -O2   -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c -o pdo_ibm.lo 
libtool: compile:  cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -DHAVE_CONFIG_H -g -O2 -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c  -fPIC -DPIC -o .libs/pdo_ibm.o
In file included from /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c:31:0:
/home/administrator/Downloads/PDO_IBM-1.3.1/php_pdo_ibm_int.h:26:21: fatal error: sqlcli1.h: No such file or directory
compilation terminated.
make: *** [pdo_ibm.lo] Error 1
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# 

Expected result:
----------------
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# make
/bin/bash /home/administrator/Downloads/PDO_IBM-1.3.1/libtool --mode=compile cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include  -DHAVE_CONFIG_H  -g -O2   -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c -o pdo_ibm.lo 
libtool: compile:  cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -DHAVE_CONFIG_H -g -O2 -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c  -fPIC -DPIC -o .libs/pdo_ibm.o
In file included from /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c:31:0:
/home/administrator/Downloads/PDO_IBM-1.3.1/php_pdo_ibm_int.h:26:21: fatal error: sqlcli1.h: No such file or directory
compilation terminated.
make: *** [pdo_ibm.lo] Error 1
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# 

Actual result:
--------------
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# make
/bin/bash /home/administrator/Downloads/PDO_IBM-1.3.1/libtool --mode=compile cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include  -DHAVE_CONFIG_H  -g -O2   -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c -o pdo_ibm.lo 
libtool: compile:  cc -I/usr/include/php/ext -I. -I/home/administrator/Downloads/PDO_IBM-1.3.1 -DPHP_ATOM_INC -I/home/administrator/Downloads/PDO_IBM-1.3.1/include -I/home/administrator/Downloads/PDO_IBM-1.3.1/main -I/home/administrator/Downloads/PDO_IBM-1.3.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -DHAVE_CONFIG_H -g -O2 -c /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c  -fPIC -DPIC -o .libs/pdo_ibm.o
In file included from /home/administrator/Downloads/PDO_IBM-1.3.1/pdo_ibm.c:31:0:
/home/administrator/Downloads/PDO_IBM-1.3.1/php_pdo_ibm_int.h:26:21: fatal error: sqlcli1.h: No such file or directory
compilation terminated.
make: *** [pdo_ibm.lo] Error 1
root@administrator:/home/administrator/Downloads/PDO_IBM-1.3.1# 

Patches

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 28 19:01:28 2024 UTC