URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID8
Нить номер: 7108
[ Назад ]

Исходное сообщение
"Помогите установить pdo_mysql на FreeBSD"

Отправлено Meddoc , 07-Янв-11 23:46 
pkg_info | grep php5-pdo_mysql
cd /usr/ports/databases/php5-pdo_mysql
make install clean

Выдает ошибку:

/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:359: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:359: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c: In function 'mysql_handle_rollback':
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:368: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:368: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:368: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:369: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:369: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:371: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:371: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:371: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:371: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c: In function 'mysql_handle_autocommit':
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:381: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:381: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:381: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:382: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:382: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:383: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:383: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:385: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:385: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:385: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:385: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c: In function 'pdo_mysql_set_attribute':
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:399: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:399: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:399: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:400: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:400: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:401: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:401: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:411: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:411: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:411: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:414: error: 'pdo_mysql_db_handle' has no member named 'buffered'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:415: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:415: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:415: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:418: error: 'pdo_mysql_db_handle' has no member named 'emulate_prepare'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:419: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:419: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:419: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:421: error: 'pdo_mysql_db_handle' has no member named 'fetch_table_names'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:422: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:422: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:422: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:437: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:437: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:437: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c: In function 'pdo_mysql_get_attribute':
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:447: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:447: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:447: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:448: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:448: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:449: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:449: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:452: warning: cast to pointer from integer of different size
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:456: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:456: warning: cast to pointer from integer of different size
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:460: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:460: warning: cast to pointer from integer of different size
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:467: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:467: error: 'PASS' undeclared (first use in this function)
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:475: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:475: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:475: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:484: error: 'pdo_mysql_db_handle' has no member named 'buffered'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:488: error: 'pdo_mysql_db_handle' has no member named 'emulate_prepare'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:498: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:498: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:498: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:501: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:501: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:501: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c: In function 'pdo_mysql_check_liveness':
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:514: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:514: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:514: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:515: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:515: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:523: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:524: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:525: error: 'CR_SERVER_GONE_ERROR' undeclared (first use in this function)
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:526: error: 'CR_SERVER_LOST' undeclared (first use in this function)
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:528: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:528: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:528: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:534: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:534: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:534: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c: In function 'pdo_mysql_handle_factory':
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:590: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:590: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:590: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:591: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:591: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:600: error: 'pdo_mysql_db_handle' has no member named 'einfo'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:601: error: 'pdo_mysql_db_handle' has no member named 'einfo'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:606: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:617: error: 'pdo_mysql_db_handle' has no member named 'buffered'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:617: error: 'pdo_mysql_db_handle' has no member named 'emulate_prepare'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:628: error: 'pdo_mysql_db_handle' has no member named 'buffered'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:630: error: 'pdo_mysql_db_handle' has no member named 'emulate_prepare'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:631: error: 'pdo_mysql_db_handle' has no member named 'emulate_prepare'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:632: error: 'pdo_mysql_db_handle' has no member named 'emulate_prepare'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:633: error: 'pdo_mysql_db_handle' has no member named 'emulate_prepare'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:640: error: 'CLIENT_FOUND_ROWS' undeclared (first use in this function)
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:644: error: 'CLIENT_IGNORE_SPACE' undeclared (first use in this function)
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:647: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:647: error: 'MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function)
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:676: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:676: error: 'MYSQL_INIT_COMMAND' undeclared (first use in this function)
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:733: error: 'pdo_mysql_db_handle' has no member named 'server'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:734: warning: comparison between pointer and integer
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:746: error: 'pdo_mysql_db_handle' has no member named 'attached'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:763: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:763: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
/usr/ports/databases/php5-pdo_mysql/work/php-5.3.3/ext/pdo_mysql/mysql_driver.c:763: error: 'zend_pdo_mysql_globals' has no member named 'dbg'
*** Error code 1
*** Error code 1
3 errors
*** Error code 1

Stop in /usr/ports/databases/php5-pdo_mysql.
*** Error code 1

Stop in /usr/ports/databases/php5-pdo_mysql.


Содержание

Сообщения в этом обсуждении
"Помогите установить pdo_mysql на FreeBSD"
Отправлено Василий , 08-Янв-11 15:12 
Сначало надо установить сам PDO
cd /usr/ports/databases/php5-pdo && make install clean

А потом уже сам модуль mysql для pdo

cd /usr/ports/databases/php5-pdo_mysql && make install clean


"Помогите установить pdo_mysql на FreeBSD"
Отправлено Darvin , 08-Янв-11 18:49 
По идеи он должен был подтянуть его сам, как зависимость. Скорее всего нужно обновить порты и установленные пакеты.