安裝 Apache+PHP+MySQL - BBS
By Yuri
at 2007-11-23T13:34
at 2007-11-23T13:34
Table of Contents
我是用 port 去裝
安裝的順序是 MySQL 先裝 ver. mysql51-server
裝完 好像會自動幫我裝 Client
中間有去 更新過 port tree 跟 port index
然後才安裝 Apache PHP5
到這邊都沒有問題 但是裝 php5-extention 的時候
裝到最後 出現了下面的訊息
====
===> Returning to build of php5-extensions-1.1
===> php5-extensions-1.1 depends on file:
/usr/local/lib/php/20060613/mysql.so - not found
===> Verifying install for /usr/local/lib/php/20060613/mysql.so in
/usr/ports/databases/php5-mysql
===> Vulnerability check disabled, database not found
===> Extracting for php5-mysql-5.2.5
=> MD5 Checksum OK for php-5.2.5.tar.bz2.
=> SHA256 Checksum OK for php-5.2.5.tar.bz2.
===> Patching for php5-mysql-5.2.5
===> php5-mysql-5.2.5 depends on executable: phpize - found
===> php5-mysql-5.2.5 depends on file: /usr/local/bin/autoconf-2.61 - found
===> php5-mysql-5.2.5 depends on shared library: mysqlclient.16 - not found
===> Verifying install for mysqlclient.16 in
/usr/ports/databases/mysql51-client
===> Installing for mysql-client-5.1.22
===> Generating temporary packing list
===> Checking if databases/mysql51-client already installed
===> An older version of databases/mysql51-client is already installed
(mysql-client-5.1.11)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of databases/mysql51-client
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop in /usr/ports/databases/mysql51-client.
*** Error code 1
Stop in /usr/ports/databases/php5-mysql.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
=========================================
好像是建議我要 deinstall mysql-client
但是 為什麼會這樣勒?
該怎麼解決比較好
還有最後面的 4則 Stop
這樣的話是不是 我這些 都沒裝成功?
所以要重新安裝呢?
有點不太懂 因為每次裝 PHP5-extention 都會遇到 Stop 的訊息
目前還沒成功過 請板上的前輩們指點一下 感謝 ^^
--
安裝的順序是 MySQL 先裝 ver. mysql51-server
裝完 好像會自動幫我裝 Client
中間有去 更新過 port tree 跟 port index
然後才安裝 Apache PHP5
到這邊都沒有問題 但是裝 php5-extention 的時候
裝到最後 出現了下面的訊息
====
===> Returning to build of php5-extensions-1.1
===> php5-extensions-1.1 depends on file:
/usr/local/lib/php/20060613/mysql.so - not found
===> Verifying install for /usr/local/lib/php/20060613/mysql.so in
/usr/ports/databases/php5-mysql
===> Vulnerability check disabled, database not found
===> Extracting for php5-mysql-5.2.5
=> MD5 Checksum OK for php-5.2.5.tar.bz2.
=> SHA256 Checksum OK for php-5.2.5.tar.bz2.
===> Patching for php5-mysql-5.2.5
===> php5-mysql-5.2.5 depends on executable: phpize - found
===> php5-mysql-5.2.5 depends on file: /usr/local/bin/autoconf-2.61 - found
===> php5-mysql-5.2.5 depends on shared library: mysqlclient.16 - not found
===> Verifying install for mysqlclient.16 in
/usr/ports/databases/mysql51-client
===> Installing for mysql-client-5.1.22
===> Generating temporary packing list
===> Checking if databases/mysql51-client already installed
===> An older version of databases/mysql51-client is already installed
(mysql-client-5.1.11)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of databases/mysql51-client
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
Stop in /usr/ports/databases/mysql51-client.
*** Error code 1
Stop in /usr/ports/databases/php5-mysql.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
=========================================
好像是建議我要 deinstall mysql-client
但是 為什麼會這樣勒?
該怎麼解決比較好
還有最後面的 4則 Stop
這樣的話是不是 我這些 都沒裝成功?
所以要重新安裝呢?
有點不太懂 因為每次裝 PHP5-extention 都會遇到 Stop 的訊息
目前還沒成功過 請板上的前輩們指點一下 感謝 ^^
--
Tags:
BBS
All Comments
Related Posts
iconv filesystem
By Una
at 2007-11-22T04:42
at 2007-11-22T04:42
安裝軟體
By Hedy
at 2007-11-21T13:05
at 2007-11-21T13:05
安裝軟體
By Lydia
at 2007-11-21T10:34
at 2007-11-21T10:34
BSD 小技巧分享
By Faithe
at 2007-11-21T10:30
at 2007-11-21T10:30
安裝軟體
By Selena
at 2007-11-20T21:41
at 2007-11-20T21:41