免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] 关于freebsd的fc6 ports安装 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-29 10:26 |只看该作者 |倒序浏览
10可用积分
删除/usr/ports

使用portsnap更新
portsnap fetch extract

在/etc/sysctl.conf里面加入了内核版本号2.6
compat.linux.osrelease=2.6.16
kern.elf32.fallback_brand=3

安装
cd /usr/ports/emulators/linux_base-fc6
make install clean

出现
  1. ===>  Installing for linux_base-fc6-6_5
  2. ===>   Generating temporary packing list
  3. ===>  Checking if emulators/linux_base-fc6 already installed
  4. pkg_info: package linux_base-fc6-6_5 has no origin recorded
  5. ===>   linux_base-fc6-6_5 is already installed
  6.       You may wish to ``make deinstall'' and install this port again
  7.       by ``make reinstall'' to upgrade it properly.
  8.       If you really wish to overwrite the old port of emulators/linux_base-fc6
  9.       without deleting it first, set the variable "FORCE_PKG_REGISTER"
  10.       in your environment or the "make install" command line.
  11. *** Error code 1

  12. Stop in /usr/ports/emulators/linux_base-fc6.
复制代码


pkg_info 看到是有这个包 不过说明是个问号
  1. autoconf-2.62       Automatically configure source code on many Un*x platforms
  2. autoconf-wrapper-20071109 Wrapper script for GNU autoconf
  3. automake-1.9.6_3    GNU Standards-compliant Makefile generator (1.9)
  4. automake-wrapper-20071109 Wrapper script for GNU automake
  5. axel-1.0b           A download accelerator
  6. gettext-0.16.1_3    GNU gettext package
  7. gmake-3.81_2        GNU version of 'make' utility
  8. help2man-1.36.4_2   Automatically generating simple manual pages from program o
  9. libiconv-1.11_1     A character set conversion library
  10. libtool-1.5.24      Generic shared library support script
  11. pkg_info: show_file: can't open '+COMMENT' for reading
  12. linux_base-fc6-6_5  ???
  13. m4-1.4.11,1         GNU m4
  14. p5-gettext-1.05_2   Message handling functions
  15. perl-5.8.8_1        Practical Extraction and Report Language
  16. popt-1.7_5          A getopt(3) like library with a number of enhancements, fro
  17. rpm-3.0.6_14        The Red Hat Package Manager
复制代码


跟着到cd /var/db/pkg/
  1. total 36
  2. drwxr-xr-x  18 root  wheel  512 Nov 29 09:39 .
  3. drwxr-xr-x   8 root  wheel  512 Nov 28 22:53 ..
  4. drwxr-xr-x   2 root  wheel  512 Nov 29 09:39 autoconf-2.62
  5. drwxr-xr-x   2 root  wheel  512 Nov 29 09:39 autoconf-wrapper-20071109
  6. drwxr-xr-x   2 root  wheel  512 Nov 29 09:13 automake-1.9.6_3
  7. drwxr-xr-x   2 root  wheel  512 Nov 29 09:39 automake-wrapper-20071109
  8. drwxr-xr-x   2 root  wheel  512 Nov 28 23:22 axel-1.0b
  9. drwxr-xr-x   2 root  wheel  512 Nov 28 23:22 gettext-0.16.1_3
  10. drwxr-xr-x   2 root  wheel  512 Nov 28 23:22 gmake-3.81_2
  11. drwxr-xr-x   2 root  wheel  512 Nov 29 00:59 help2man-1.36.4_2
  12. drwxr-xr-x   2 root  wheel  512 Nov 28 23:21 libiconv-1.11_1
  13. drwxr-xr-x   2 root  wheel  512 Nov 28 23:11 libtool-1.5.24
  14. drwxr-xr-x   2 root  wheel  512 Nov 29 00:43 linux_base-fc6-6_5
  15. drwxr-xr-x   2 root  wheel  512 Nov 29 09:39 m4-1.4.11,1
  16. drwxr-xr-x   2 root  wheel  512 Nov 29 00:59 p5-gettext-1.05_2
  17. drwxr-xr-x   2 root  wheel  512 Nov 29 09:39 perl-5.8.8_1
  18. drwxr-xr-x   2 root  wheel  512 Nov 29 01:01 popt-1.7_5
  19. drwxr-xr-x   2 root  wheel  512 Nov 29 01:01 rpm-3.0.6_14
复制代码


却找不到有这个包


执行
/var/db/pkg #pkg_delete -f linux_base-fc6-6_5
  1. pkg_delete: package 'linux_base-fc6-6_5' doesn't have a prefix
复制代码



/usr/ports/emulators/linux_base-fc6. # make deinstall
  1. ===>  Deinstalling for emulators/linux_base-fc6
  2. pkg_info: package linux_base-fc6-6_5 has no origin recorded
  3. ===>   linux_base-fc6 not installed, skipping
复制代码


/usr/ports/emulators/linux_base-fc6. # make reinstall
  1. ===>  Installing for linux_base-fc6-6_5
  2. ===>   Generating temporary packing list
  3. ===>  Checking if emulators/linux_base-fc6 already installed
  4. pkg_info: package linux_base-fc6-6_5 has no origin recorded
  5. ===>   linux_base-fc6-6_5 is already installed
  6.       You may wish to ``make deinstall'' and install this port again
  7.       by ``make reinstall'' to upgrade it properly.
  8.       If you really wish to overwrite the old port of emulators/linux_base-fc6
  9.       without deleting it first, set the variable "FORCE_PKG_REGISTER"
  10.       in your environment or the "make install" command line.
  11. *** Error code 1

  12. Stop in /usr/ports/emulators/linux_base-fc6.
  13. *** Error code 1

  14. Stop in /usr/ports/emulators/linux_base-fc6.
复制代码




求教各位....还有救吗~~~`

最佳答案

查看完整内容

make install clean FORCE_PKG_REGISTER=YES

论坛徽章:
0
2 [报告]
发表于 2008-11-29 10:26 |只看该作者
make install clean FORCE_PKG_REGISTER=YES

论坛徽章:
0
3 [报告]
发表于 2008-11-29 15:43 |只看该作者
fc-6不能再FB6系上工作,装上了也白搭!

论坛徽章:
0
4 [报告]
发表于 2008-11-29 21:25 |只看该作者
原帖由 macafee 于 2008-11-29 15:43 发表
fc-6不能再FB6系上工作,装上了也白搭!


我运行于FB7.0release

论坛徽章:
0
5 [报告]
发表于 2008-11-29 22:01 |只看该作者
原帖由 有点白 于 2008-11-29 10:26 发表
make install clean FORCE_PKG_REGISTER=YES



非常感谢...
原来是这样用的....
一开始用了
set FORCE_PKG_REGISTER=YES
没有反应~~唉~~~丢人了......
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP