|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-05-22 13:27 UTC] peter dot siklosi at saint-gobain dot com
[2019-05-22 14:52 UTC] cmb@php.net
-Package: PDO related
+Package: PDO_INFORMIX
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 16 04:00:02 2025 UTC |
Description: ------------ During the compilation of the pdo_informix module (1.3.3), the configure script sets the INFORMIXDIR variable based on the --with-pdo-informix parameter's value, but does not exports it. When the esql command is executed (line 4156) it does not find the informixdir and falls back to the default: /usr/informix and will fail Test script: --------------- [root@ad1svlx10 PDO_INFORMIX-1.3.3]# ./configure --with-php-config=/opt/rh/rh-php72/root/usr/bin/php-config --with-pdo-informix=/opt/IBM/Informix_Client-SDK [...] checking for gawk... gawk checking for Informix driver for PDO... yes, shared checking for PDO includes... /opt/rh/rh-php72/root/usr/include/php/ext checking for includes and libraries... /opt/IBM/Informix_Client-SDK checking Informix version... /opt/IBM/Informix_Client-SDK/bin/esql: line 516: /usr/informix/lib/esql/esqlc: No such file or directory ./configure: line 4156: test: -ge: unary operator expected checking how to print strings... printf [...] configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands [root@ad1svlx10 ~]# egrep 'INFDIR' /opt/IBM/Informix_Client-SDK/bin/esql | head -1 INFDIR=${INFORMIXDIR=/usr/informix} [root@ad1svlx10 ~]# Expected result: ---------------- I do not provide a patch, as my make-fu is not good enough. Actual result: -------------- I expect the autodetection/parameter passing to work as expected.