免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] freeBSD4.9还能用ports更新吗 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-31 17:36 |只看该作者 |倒序浏览
freeBSD4.9还能用ports更新吗,好像听说不能用了。来求证一下

论坛徽章:
0
2 [报告]
发表于 2008-07-31 17:42 |只看该作者
可以

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:50:28
3 [报告]
发表于 2008-07-31 19:26 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
4 [报告]
发表于 2008-07-31 20:55 |只看该作者
我和ports安装mysql老不成功,
===>  Extracting for mysql-server-4.0.27
=> MD5 Checksum OK for mysql-4.0.27.tar.gz.
===>   mysql-server-4.0.27 depends on file: /usr/local/sbin/pkg_info - not found
===>    Verifying install for /usr/local/sbin/pkg_info in /usr/ports/ports-mgmt/pkg_install
===>  Building for pkg_install-20080530
===> lib
cc -O -pipe   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wnon-const-format -Wno-format-extra-args  -c match.c -o match.o
match.c: In function `matchinstalled':
match.c:101: warning: passing arg 3 of `fts_open' from incompatible pointer type
match.c: In function `matchallbyorigin':
match.c:303: syntax error before `struct'
match.c:304: `store' undeclared (first use in this function)
match.c:304: (Each undeclared identifier is reported only once
match.c:304: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg_install/work/pkg_install-20080530/lib.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg_install/work/pkg_install-20080530.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg_install.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg_install.

上次版主说pkg_install.这个问题,可按那方法做了,还是不行。

论坛徽章:
0
5 [报告]
发表于 2008-07-31 20:57 |只看该作者
我从更新ports 步骤

# cd /usr/ports/net/cvsup-without-gui
# make install clean
# vi /usr/share/examples/cvsup/ports-supfile
将*default host=改成:*default host=cvsup.freebsd.org
# cd /usr/share/examples/cvsup/
# /usr/local/bin/cvsup -g -L 2 ports-supfile
―――――
安装MySQL-4.0.27
# cd /usr/ports/databases/mysql40-server
# make install clean
出现错误提示:
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} in make.conf.On the other hand, if you do wish to use non-default X11BASE, please set variable USE_NONDEFAULT_X11BASE.
# vi /etc/make.conf
加入如下内容:
X11BASE=${LOCALBASE}即可
# make install clean
# /usr/local/bin/mysql_install_db
# /var/db
# chown –R mysql:mysql mysql
# /usr/local/bin/mysqld_safe &

将下列命令加入到/etc/rc.local
/sbin/ldconfig -m /usr/local/lib/mysql/
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP