[more] Здравствуйте! Помогите пожалуйста решить проблему с pdo_mysql.
Ситуация следующая: есть сервер под управлением FreeBSD 8.1-RELEASE (WEB) На крутится сайт на друпале (поднимался и конфигурился сервер не мной) Сейчас осуществляется переход на новыцй сайт и разрабочику понадобился pdo_mysql.
PHP установлен такой:
web# php -v
PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 19 2011 08:10:37)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
При попытке установки установить pdo вижу следующее
web# cd /usr/ports/databases/php5-pdo_mysql
web# make install clean
===> php5-pdo_mysql-5.4.5 depends on file: /usr/local/include/php/main/php.h - found
===> php5-pdo_mysql-5.4.5 depends on file: /usr/local/bin/phpize - found
===> php5-pdo_mysql-5.4.5 depends on file: /usr/local/lib/php/20090626/pdo.so - not found
===> Verifying install for /usr/local/lib/php/20090626/pdo.so in /usr/ports/databases/php5-pdo
===> Building for php5-pdo-5.4.5
/bin/sh /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/libtool --mode=compile cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c -o pdo.lo
/bin/sh /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/libtool --mode=compile cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c -o pdo_dbh.lo
/bin/sh /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/libtool --mode=compile cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c -o pdo_stmt.lo
cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c -fPIC -DPIC -o .libs/pdo.o
cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c -fPIC -DPIC -o .libs/pdo_dbh.o
cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c -fPIC -DPIC -o .libs/pdo_stmt.o
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c:128: error: 'PHP_FE_END' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c:138: error: 'ZEND_MOD_END' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c:139: error: initializer element is not constant
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c:139: error: (near initialization for 'pdo_deps[1].name')
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c: In function 'zim_PDO_dbh_constructor':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:346: error: 'zend_object' has no member named 'properties_table'
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:346: error: 'zend_object' has no member named 'properties_table'
*** Error code 1
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c: In function 'pdo_stmt_construct':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:454: error: too many arguments to function 'std_object_handlers.write_property'
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c: In function 'pdo_hash_methods':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1314: error: 'ZEND_ACC_NEVER_CACHE' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1314: error: (Each undeclared identifier is reported only once
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1314: error: for each function it appears in.)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1319: error: 'zend_internal_function_info' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1319: error: 'info' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1319: error: expected expression before ')' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1330: error: 'ZEND_ACC_PASS_REST_PREFER_REF' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1332: error: 'ZEND_ACC_PASS_REST_BY_REFERENCE' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1336: error: 'ZEND_ACC_RETURN_REFERENCE' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c: At top level:
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1360: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c: In function 'pdo_dbh_init':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1412: error: 'dbh_method_get' undeclared (first use in this function)
*** Error code 1
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2238: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2251: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2270: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c: In function 'pdo_stmt_init':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2356: error: 'dbstmt_prop_write' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2356: error: (Each undeclared identifier is reported only once
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2356: error: for each function it appears in.)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2357: error: 'dbstmt_prop_delete' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2358: error: 'dbstmt_method_get' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c: At top level:
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2584: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c: In function 'row_dim_read':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2625: warning: return makes pointer from integer without a cast
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c: At top level:
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2628: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2638: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2667: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2706: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2765: error: 'row_prop_read' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2766: error: 'row_prop_write' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2772: error: 'row_prop_exists' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2773: error: 'row_prop_delete' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2777: error: 'row_method_get' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2778: warning: initialization from incompatible pointer type
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2781: warning: initialization from incompatible pointer type
*** Error code 1
3 errors
*** Error code 1
Stop in /usr/ports/databases/php5-pdo.
*** Error code 1
Stop in /usr/ports/databases/php5-pdo_mysql.
*** Error code 1
Stop in /usr/ports/databases/php5-pdo_mysql.
Меня смущает что PHP 5.3.5 php5-pdo_mysql-5.4.5 или так и должно быть?
Очень нуждаюсь в вашей помощи) [/more]
Ситуация следующая: есть сервер под управлением FreeBSD 8.1-RELEASE (WEB) На крутится сайт на друпале (поднимался и конфигурился сервер не мной) Сейчас осуществляется переход на новыцй сайт и разрабочику понадобился pdo_mysql.
PHP установлен такой:
web# php -v
PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 19 2011 08:10:37)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
При попытке установки установить pdo вижу следующее
web# cd /usr/ports/databases/php5-pdo_mysql
web# make install clean
===> php5-pdo_mysql-5.4.5 depends on file: /usr/local/include/php/main/php.h - found
===> php5-pdo_mysql-5.4.5 depends on file: /usr/local/bin/phpize - found
===> php5-pdo_mysql-5.4.5 depends on file: /usr/local/lib/php/20090626/pdo.so - not found
===> Verifying install for /usr/local/lib/php/20090626/pdo.so in /usr/ports/databases/php5-pdo
===> Building for php5-pdo-5.4.5
/bin/sh /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/libtool --mode=compile cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c -o pdo.lo
/bin/sh /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/libtool --mode=compile cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c -o pdo_dbh.lo
/bin/sh /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/libtool --mode=compile cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c -o pdo_stmt.lo
cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c -fPIC -DPIC -o .libs/pdo.o
cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c -fPIC -DPIC -o .libs/pdo_dbh.o
cc -I. -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -DPHP_ATOM_INC -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/include -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/main -I/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c -fPIC -DPIC -o .libs/pdo_stmt.o
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c:128: error: 'PHP_FE_END' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c:138: error: 'ZEND_MOD_END' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c:139: error: initializer element is not constant
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo.c:139: error: (near initialization for 'pdo_deps[1].name')
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c: In function 'zim_PDO_dbh_constructor':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:346: error: 'zend_object' has no member named 'properties_table'
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:346: error: 'zend_object' has no member named 'properties_table'
*** Error code 1
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c: In function 'pdo_stmt_construct':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:454: error: too many arguments to function 'std_object_handlers.write_property'
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c: In function 'pdo_hash_methods':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1314: error: 'ZEND_ACC_NEVER_CACHE' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1314: error: (Each undeclared identifier is reported only once
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1314: error: for each function it appears in.)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1319: error: 'zend_internal_function_info' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1319: error: 'info' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1319: error: expected expression before ')' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1330: error: 'ZEND_ACC_PASS_REST_PREFER_REF' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1332: error: 'ZEND_ACC_PASS_REST_BY_REFERENCE' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1336: error: 'ZEND_ACC_RETURN_REFERENCE' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c: At top level:
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1360: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c: In function 'pdo_dbh_init':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_dbh.c:1412: error: 'dbh_method_get' undeclared (first use in this function)
*** Error code 1
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2238: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2251: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2270: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c: In function 'pdo_stmt_init':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2356: error: 'dbstmt_prop_write' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2356: error: (Each undeclared identifier is reported only once
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2356: error: for each function it appears in.)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2357: error: 'dbstmt_prop_delete' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2358: error: 'dbstmt_method_get' undeclared (first use in this function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c: At top level:
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2584: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c: In function 'row_dim_read':
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2625: warning: return makes pointer from integer without a cast
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c: At top level:
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2628: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2638: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2667: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2706: error: expected ';', ',' or ')' before '*' token
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2765: error: 'row_prop_read' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2766: error: 'row_prop_write' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2772: error: 'row_prop_exists' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2773: error: 'row_prop_delete' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2777: error: 'row_method_get' undeclared here (not in a function)
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2778: warning: initialization from incompatible pointer type
/usr/ports/databases/php5-pdo/work/php-5.4.5/ext/pdo/pdo_stmt.c:2781: warning: initialization from incompatible pointer type
*** Error code 1
3 errors
*** Error code 1
Stop in /usr/ports/databases/php5-pdo.
*** Error code 1
Stop in /usr/ports/databases/php5-pdo_mysql.
*** Error code 1
Stop in /usr/ports/databases/php5-pdo_mysql.
Меня смущает что PHP 5.3.5 php5-pdo_mysql-5.4.5 или так и должно быть?
Очень нуждаюсь в вашей помощи) [/more]