Gentoo Archives: gentoo-user

From: Mike Diehl <mdiehl@××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Problem installing PHP pdo
Date: Sun, 23 Dec 2012 01:57:09
Message-Id: 4eb3757dcacccd50d16166b01a0f9570@diehlnet.com
1 Hi all,
2
3 I'm not a PHP programmer, so I'm a bit out of my water.  But, I'm trying to
4 install the latest eGroupware and need to get PHP to support pdo database
5 connectivigy.
6
7 After a recent emerge --sync, I did a new emerge of php with --newuse...
8 after adding pdo to my tags list.
9
10 What I get is:
11
12 ...running: make
13 /bin/sh /root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/libtool
14 --mode=compile cc  -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC
15 -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include
16 -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main
17 -I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php
18 -I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM
19 -I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext
20 -I/usr/lib/php5.3/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c
21 /root/tmp/pear/temp/PDO/pdo.c -o pdo.lo
22 libtool: compile:  cc -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC
23 -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include
24 -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main
25 -I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php
26 -I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM
27 -I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext
28 -I/usr/lib/php5.3/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
29 /root/tmp/pear/temp/PDO/pdo.c  -fPIC -DPIC -o .libs/pdo.o
30 /bin/sh /root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/libtool
31 --mode=compile cc  -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC
32 -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include
33 -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main
34 -I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php
35 -I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM
36 -I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext
37 -I/usr/lib/php5.3/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c
38 /root/tmp/pear/temp/PDO/pdo_dbh.c -o pdo_dbh.lo
39 libtool: compile:  cc -I. -I/root/tmp/pear/temp/PDO -DPHP_ATOM_INC
40 -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/include
41 -I/root/tmp/pear/temp/pear-build-rootFqdFar/PDO-1.0.3/main
42 -I/root/tmp/pear/temp/PDO -I/usr/lib/php5.3/include/php
43 -I/usr/lib/php5.3/include/php/main -I/usr/lib/php5.3/include/php/TSRM
44 -I/usr/lib/php5.3/include/php/Zend -I/usr/lib/php5.3/include/php/ext
45 -I/usr/lib/php5.3/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
46 /root/tmp/pear/temp/PDO/pdo_dbh.c  -fPIC -DPIC -o .libs/pdo_dbh.o
47 /root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'pdo_stmt_instantiate':
48 /root/tmp/pear/temp/PDO/pdo_dbh.c:410: error: 'zval' has no member named
49 'refcount'
50 /root/tmp/pear/temp/PDO/pdo_dbh.c:411: error: 'zval' has no member named
51 'is_ref'
52 /root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'pdo_stmt_construct':
53 /root/tmp/pear/temp/PDO/pdo_dbh.c:435: error: 'zend_fcall_info' has no
54 member named 'object_pp'
55 /root/tmp/pear/temp/PDO/pdo_dbh.c:458: error: 'zend_fcall_info_cache' has no
56 member named 'object_pp'
57 /root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'zim_PDO_setAttribute':
58 /root/tmp/pear/temp/PDO/pdo_dbh.c:752: error: 'zval' has no member named
59 'refcount'
60 /root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'zim_PDO_getAttribute':
61 /root/tmp/pear/temp/PDO/pdo_dbh.c:818: error: 'zval' has no member named
62 'refcount'
63 /root/tmp/pear/temp/PDO/pdo_dbh.c: In function 'pdo_hash_methods':
64 /root/tmp/pear/temp/PDO/pdo_dbh.c:1122: warning: assignment discards
65 qualifiers from pointer target type
66 /root/tmp/pear/temp/PDO/pdo_dbh.c:1126: warning: assignment discards
67 qualifiers from pointer target type
68 make: *** [pdo_dbh.lo] Error 1
69 ERROR: `make' failed
70 ===========================================================================
71
72
73 Any idea on how to fix this?
74
75 Mike.
76 --
77
78 Take care and have fun,
79 Mike Diehl.

Replies

Subject Author
Re: [gentoo-user] Problem installing PHP pdo Nilesh Govindrajan <me@××××××××.com>
Re: [gentoo-user] Problem installing PHP pdo Michael Orlitzky <michael@××××××××.com>