免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] 通过ports安装mysql出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-29 17:35 |只看该作者 |倒序浏览
===>  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.



以上是报错信息,看了好久,不知道问题出在哪里。请帮忙看看,谢谢

论坛徽章:
0
2 [报告]
发表于 2008-07-29 19:24 |只看该作者
怎么没人回啊
:em11:

论坛徽章:
0
3 [报告]
发表于 2008-07-29 22:33 |只看该作者
建立pkg_install的ports出错,可以考虑升级ports,也可以用下面的命令安装pkg_install

pkg_add -r pkg_install

之后再继续 make install clean
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP