看板FreeBSD
标 题Re: 请教-关於安装ports失败
发信站星情夜语 (Mon Nov 8 23:11:20 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.csie.nctu!News.Math.NCTU!Sta
※ 引述《[email protected] (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