Hi all,

I'm not a PHP programmer, so I'm a bit out of my water.  But, I'm trying to
install the latest eGroupware and need to get PHP to support pdo database
connectivigy.

After a recent emerge --sync, I did a new emerge of php with --newuse...
after adding pdo to my tags list.

What I get is:

...running: make
/bin/sh /root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/libtool
--mode=compile cc  -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC
-I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include
-I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main
-I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php
-I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM
-I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext
-I/usr/lib/php5.3/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c
/root/tmp/pear/temp/PDO/pdo.c -o pdo.lo
libtool: compile:  cc -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC
-I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include
-I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main
-I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php
-I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM
-I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext
-I/usr/lib/php5.3/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
/root/tmp/pear/temp/PDO/pdo.c  -fPIC -DPIC -o .libs/pdo.o
/bin/sh /root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/libtool
--mode=compile cc  -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC
-I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include
-I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main
-I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php
-I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM
-I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext
-I/usr/lib/php5.3/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c
/root/tmp/pear/temp/PDO/pdo_dbh.c -o pdo_dbh.lo
libtool: compile:  cc -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC
-I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include
-I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main
-I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php
-I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM
-I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext
-I/usr/lib/php5.3/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
/root/tmp/pear/temp/PDO/pdo_dbh.c  -fPIC -DPIC -o .libs/pdo_dbh.o
/root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'pdo_stmt_instantiate':
/root/tmp/pear/temp/PDO/pdo_dbh.c:410: error: 'zval' has no member named
'refcount'
/root/tmp/pear/temp/PDO/pdo_dbh.c:411: error: 'zval' has no member named
'is_ref'
/root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'pdo_stmt_construct':
/root/tmp/pear/temp/PDO/pdo_dbh.c:435: error: 'zend_fcall_info' has no
member named 'object_pp'
/root/tmp/pear/temp/PDO/pdo_dbh.c:458: error: 'zend_fcall_info_cache' has no
member named 'object_pp'
/root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'zim_PDO_setAttribute':
/root/tmp/pear/temp/PDO/pdo_dbh.c:752: error: 'zval' has no member named
'refcount'
/root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'zim_PDO_getAttribute':
/root/tmp/pear/temp/PDO/pdo_dbh.c:818: error: 'zval' has no member named
'refcount'
/root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'pdo_hash_methods':
/root/tmp/pear/temp/PDO/pdo_dbh.c:1122: warning: assignment discards
qualifiers from pointer target type
/root/tmp/pear/temp/PDO/pdo_dbh.c:1126: warning: assignment discards
qualifiers from pointer target type
make: *** [pdo_dbh.lo] Error 1
ERROR: `make' failed
===========================================================================


Any idea on how to fix this?

Mike.
--

Take care and have fun,
Mike Diehl.

Reply via email to