免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2773 | 回复: 5
打印 上一主题 下一主题

[FreeBSD] freebsd中vnc安装故障 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-26 21:52 |只看该作者 |倒序浏览
昨天晚上我在虚拟机里freebsd系统里通过/usr/ports/net/vnc目录
#make install clean (我通过执行该命令来安装vnc,在安装之前我已经将port升到最新了)
编译安装之后找不到启动vnc服务的vncserver文件,再次安装就装不了了报出一个错误:
by ``make reinstall''to upgrade it properly.
If you really wish to overwrite the old port of net/vnc
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
通过命令
# pkg_info | grep -i vnc(查看我所安装的vnc为vnc-4.1.1)
# pkg_info -L vnc-4.1.1 | less(查看我所装的vnc的文件目录为未找到!)
我要怎么做才能重新装好vnc 啊?

论坛徽章:
0
2 [报告]
发表于 2005-12-26 22:10 |只看该作者
我现在重新进入/usr/ports/net/vnc目录
输入:#make install clean
显示:
===>   Install for vnc-4.1.1
===>   vnc-4.1.1 depends on executable: xauth -  found
===>   vnc-4.1.1 depends on file:/user/X11R6/lib/X11/fonts/misc/6x13-ISO8859-1.pcf.gz - found
===>   vnc-4.1.1 depends on file:/user/local/bin/perl5.8.6 - found
===>   vnc-4.1.1 depends on shared library: X11.6 - found
===>   Generating temporay packing list
===>   Checking if net/vnc alredy installed
===>   vnc-4.1.1 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 net/vnc
            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/prts/net/vnc
我在这里说明一下我使用的是freebsd5.4其他的东西基本都没怎么装
在我第一次安装的时候通过port自动下载并编译了上面那段信息里所提到的所有软件,我现在应该怎么做才好!哪位大大帮帮我啊!

论坛徽章:
0
3 [报告]
发表于 2005-12-26 22:25 |只看该作者
You may wish to ``make deinstall'' and install this port again

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
4 [报告]
发表于 2005-12-26 22:36 |只看该作者
FORCE_PKG_REGISTER=yes加上这个

论坛徽章:
0
5 [报告]
发表于 2005-12-26 22:59 |只看该作者
其实仔细看看出错提示就好了。都一股脑的直接来问了,不是先找答案再问问题

论坛徽章:
0
6 [报告]
发表于 2005-12-27 11:02 |只看该作者
谢谢大大们!小弟获宜良多!我用了一个笨办法也解决了这个问题!我把/usr/ports/net/vnc这个目录给删了重新update了ports/net然后重新编译好像现在编译成功了!估计是我上次编译的时候出错了!(在通过port安装软件的时候会在其目录下生成一个work目录将安装是的编译文件放在里面进行安装)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP