pdo_informix

From: Date: Tue, 05 Oct 2010 13:31:18 +0000
Subject: pdo_informix
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-7712@lists.php.net to get a copy of this message
Hello, I hope i'm in the correct newsgroup. I installed a clean opensuse 11.3. (64bit) Executing the command "pecl install pdo" seems to fail. After some reading I found out it's because PDO is now a real part of php and shouldn't be installed through pecl anymore? Using yast, php5_pdo got installed correctly. The problem with this is that I'm also trying to install pdo_informix. This is not a 'real part' of php. And the only way to install it is through pecl: #pecl install pdo_informix this failes: "pear/PDO_INFORMIX requires package "pear/PDO" #pecl install -n pdo_informix Now the ./configure fails: checking for PDO includes... configure: error: Cannot find php_pdo_driver.h. ERROR: `/tmp/pear/download/PDO_INFORMIX-1.2.6/configure --with-pdo-informix=/opt/IBM/informix' failed because php5_pdo is installed I taught this was a rather strange error. Then I looked in /tmp/pear/download/PDO_INFORMIX-1.2.6/configure There i saw this lines: if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$abs_srcdir/ext elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$abs_srcdir/ext elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$prefix/include/php/ext else as_fn_error "Cannot find php_pdo_driver.h." "$LINENO" 5 fi I added this lines so it would find the header file: (../php5/.. instead of .../php/.. ) elif test -f $prefix/include/php5/ext/pdo/php_pdo_driver.h; then pdo_inc_path=$prefix/include/php5/ext now executing in the temp directory: #./configure #make #make install surprisingly this all went rather good ... if wasn't for this error in /var/log/messages when starting apache: Oct 5 14:53:40 lpjdcSuse01 kernel: [25669.863078] httpd2-prefork[1848]: segfault at 0 ip 00007fa919ab4bce sp 00007fffbb325570 error 4 in mod_php5.so[7fa9198de000+2d2000] When I removed extension=pdo_informix.so from php.ini it all worked fine again. (without the pdo_informix driver offcourse) Is there any way to install this driver?? Or should I use an older version of PHP? switch my os back to 32bits? Write my own driver?(is that a lot of work?)... any help is welcome. grtz, ____________________ Jan Declercq jan.declercq@gmail.com

« previous php.pecl.dev (#7712) next »