1 |
"Nilesh Govindrajan" <me@××××××××.com> wrote: |
2 |
> On Sunday 23 December 2012 07:25:30 AM IST, Mike Diehl wrote: |
3 |
>> Hi all, |
4 |
>> |
5 |
>> I'm not a PHP programmer, so I'm a bit out of my water. But, I'm |
6 |
>> trying to install the latest eGroupware and need to get PHP to support |
7 |
>> pdo database connectivigy. |
8 |
>> |
9 |
>> After a recent emerge --sync, I did a new emerge of php with |
10 |
>> --newuse... after adding pdo to my tags list. |
11 |
>> |
12 |
>> What I get is: |
13 |
>> |
14 |
>> ...running: make |
15 |
>> /bin/sh /root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/libtool |
16 |
>> --mode=compile cc -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC |
17 |
>> -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include |
18 |
>> -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main |
19 |
>> -I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php |
20 |
>> -I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM |
21 |
>> -I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext |
22 |
>> -I/usr/lib/php5.3/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 |
23 |
>> -c /root/tmp/pear/temp/PDO/pdo.c -o pdo.lo |
24 |
>> libtool: compile: cc -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC |
25 |
>> -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include |
26 |
>> -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main |
27 |
>> -I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php |
28 |
>> -I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM |
29 |
>> -I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext |
30 |
>> -I/usr/lib/php5.3/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c |
31 |
>> /root/tmp/pear/temp/PDO/pdo.c -fPIC -DPIC -o .libs/pdo.o |
32 |
>> /bin/sh /root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/libtool |
33 |
>> --mode=compile cc -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC |
34 |
>> -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include |
35 |
>> -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main |
36 |
>> -I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php |
37 |
>> -I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM |
38 |
>> -I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext |
39 |
>> -I/usr/lib/php5.3/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 |
40 |
>> -c /root/tmp/pear/temp/PDO/pdo_dbh.c -o pdo_dbh.lo |
41 |
>> libtool: compile: cc -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC |
42 |
>> -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include |
43 |
>> -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main |
44 |
>> -I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php |
45 |
>> -I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM |
46 |
>> -I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext |
47 |
>> -I/usr/lib/php5.3/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c |
48 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c -fPIC -DPIC -o .libs/pdo_dbh.o |
49 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'pdo_stmt_instantiate': |
50 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c:410: error: 'zval' has no member |
51 |
>> named 'refcount' |
52 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c:411: error: 'zval' has no member |
53 |
>> named 'is_ref' |
54 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'pdo_stmt_construct': |
55 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c:435: error: 'zend_fcall_info' has no |
56 |
>> member named 'object_pp' |
57 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c:458: error: 'zend_fcall_info_cache' |
58 |
>> has no member named 'object_pp' |
59 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'zim_PDO_setAttribute': |
60 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c:752: error: 'zval' has no member |
61 |
>> named 'refcount' |
62 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'zim_PDO_getAttribute': |
63 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c:818: error: 'zval' has no member |
64 |
>> named 'refcount' |
65 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'pdo_hash_methods': |
66 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c:1122: warning: assignment discards |
67 |
>> qualifiers from pointer target type |
68 |
>> /root/tmp/pear/temp/PDO/pdo_dbh.c:1126: warning: assignment discards |
69 |
>> qualifiers from pointer target type |
70 |
>> make: *** [pdo_dbh.lo] Error 1 |
71 |
>> ERROR: `make' failed |
72 |
>> |
73 |
=========================================================================== |
74 |
>> |
75 |
>> |
76 |
>> Any idea on how to fix this? |
77 |
>> |
78 |
>> Mike. |
79 |
>> ------------------------------------------------------------------------ |
80 |
>> |
81 |
>> Take care and have fun, |
82 |
>> Mike Diehl. |
83 |
> |
84 |
> Which GCC version? Did you do any GCC updates/etc? |
85 |
|
86 |
Using built-in specs. |
87 |
Target: i686-pc-linux-gnu |
88 |
Configured with: |
89 |
/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/configure --prefix=/usr |
90 |
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.4.5 |
91 |
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include |
92 |
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.5 |
93 |
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.5/man |
94 |
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.5/info |
95 |
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include/g++-v4 |
96 |
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec |
97 |
--disable-fixed-point --without-ppl --without-cloog --enable-nls |
98 |
--without-included-gettext --with-system-zlib --disable-werror |
99 |
--enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp |
100 |
--enable-libgomp |
101 |
--with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.4.5/python |
102 |
--enable-checking=release --disable-libgcj --with-arch=i686 |
103 |
--enable-languages=c,c++,fortran --enable-shared --enable-threads=posix |
104 |
--enable-__cxa_atexit --enable-clocale=gnu |
105 |
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.5 p1.2, |
106 |
pie-0.4.5' |
107 |
Thread model: posix |
108 |
gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) |
109 |
|
110 |
|
111 |
Mike. |
112 |
|
113 |
-- |
114 |
|
115 |
Take care and have fun, |
116 |
Mike Diehl. |