Re: 請教-關於安裝ports失敗
※ 引述《pchome.bbs@DDD.twbbs.org (pchome特約編輯)》之銘言:
> 某天小弟使用pputty連上機器
> 在/usr/ports/lang/php4 下make install 指令
> 不想此時winxp sp2作怪,將pputty整個給弄掛了
> 之後再重新登入,下了make clean;make install
> 但它卻告訴我這個程式已安裝? (error code 1)
> 不管是deinstall後reinstall也一樣,不知這個問題該如何解決呢?
> 這是小弟的機器傳來的訊息
> ===> Installing for php4-4.3.9
> ===> php4-4.3.9 depends on file: /usr/local/sbin/apxs - found
> ===> Generating temporary packing list
> ===> Checking if lang/php4 already installed
> ===> php4-4.3.9 is already installed
> 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 lang/php4
> 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/lang/php4.
pkg_info |grep php看看
應該是已經裝了
如果不放心可以用make FORCE_PKG_REGISTER=yes install強制安裝
--
┼─ 即使看不見了星星.它還是在原來的地方 ╱ 。
│ . 。 .╱│
│ 即使離開了視線 感情也不會疏遠 ╱ │
│. 。 。 ☆ ─┼by伊修卡
--
※ Origin: 星情夜語 <gaod.ksitrc.net>
※ From : KH210-203-51-51.dialup.dynamic.apol.com.tw
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章