免费注册 查看新帖 |

Chinaunix

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

[FreeBSD] 升级到10.1,安装软件出现问题,怎么办? [复制链接]

论坛徽章:
3
操作系统版块每日发帖之星
日期:2016-08-03 06:20:00操作系统版块每日发帖之星
日期:2016-08-04 06:20:00操作系统版块每日发帖之星
日期:2016-08-06 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-11-17 17:17 |只看该作者 |倒序浏览
升级到10.1,安装软件出现问题,怎么办?
checking for library containing lzma_version_string... no
configure: error: unable to find the liblzma
===> Script "configure" failed unexpectedly.
Please report the problem to portmgr@FreeBSD.org [maintainer] and attach the
"/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/src/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1

Stop.
make: stopped in /usr/ports/ports-mgmt/pkg

论坛徽章:
3
操作系统版块每日发帖之星
日期:2016-08-03 06:20:00操作系统版块每日发帖之星
日期:2016-08-04 06:20:00操作系统版块每日发帖之星
日期:2016-08-06 06:20:00
2 [报告]
发表于 2014-11-17 17:17 |只看该作者
root@server2:/usr/ports/ports-mgmt/pkg # cd /usr/ports/www/apache22
root@server2:/usr/ports/www/apache22 # make install
===> apache22-2.2.29_2 depends on file: /usr/local/bin/autoconf-2.69 - not found
===> Verifying install for /usr/local/bin/autoconf-2.69 in /usr/ports/devel/autoconf
===> Returning to build of apache22-2.2.29_2
===> apache22-2.2.29_2 depends on shared library: libexpat.so - not found
===> Verifying for libexpat.so in /usr/ports/textproc/expat2
===> Building for expat-2.1.0_1
--- libexpat.la ---
/bin/sh ./libtool --silent --mode=link cc -I./lib -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -no-undefined -version-info 6 -rpath /usr/local/lib -fstack-protector -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
/usr/bin/ld: /usr/lib/libc.a(rand.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libc.a: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libexpat.la] Error code 1

make[3]: stopped in /usr/ports/textproc/expat2/work/expat-2.1.0
1 error

make[3]: stopped in /usr/ports/textproc/expat2/work/expat-2.1.0
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/textproc/expat2
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/apache22
*** Error code 1

Stop.
make: stopped in /usr/ports/www/apache22

论坛徽章:
3
操作系统版块每日发帖之星
日期:2016-08-03 06:20:00操作系统版块每日发帖之星
日期:2016-08-04 06:20:00操作系统版块每日发帖之星
日期:2016-08-06 06:20:00
3 [报告]
发表于 2014-11-17 17:18 |只看该作者
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
===> Script "Configure" failed unexpectedly.
Please report the problem to perl@FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/perl5.16/work/perl-5.16.3/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[7]: stopped in /usr/ports/lang/perl5.16
*** Error code 1

Stop.
make[6]: stopped in /usr/ports/lang/perl5.16
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/devel/p5-Locale-gettext
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/misc/help2man
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/misc/help2man
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/autoconf
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/apache22
*** Error code 1

Stop.
make: stopped in /usr/ports/www/apache22
root@server2:/usr/ports/www/apache22 #

论坛徽章:
3
操作系统版块每日发帖之星
日期:2016-08-03 06:20:00操作系统版块每日发帖之星
日期:2016-08-04 06:20:00操作系统版块每日发帖之星
日期:2016-08-06 06:20:00
4 [报告]
发表于 2014-11-18 15:38 |只看该作者
没人帮我解决吗?

论坛徽章:
0
5 [报告]
发表于 2014-11-18 16:06 |只看该作者
回复 4# litigerking


    你安装的是什么软件,应该是库出问题了;
    建议:1、阅读freebsd使用手册,看看package和ports使用;
    解决方案: 1、更新ports;
                   2、查看软件版本;
                   3、重新安装或者更新软件

论坛徽章:
3
操作系统版块每日发帖之星
日期:2016-08-03 06:20:00操作系统版块每日发帖之星
日期:2016-08-04 06:20:00操作系统版块每日发帖之星
日期:2016-08-06 06:20:00
6 [报告]
发表于 2014-11-18 16:49 |只看该作者
老爷康 发表于 2014-11-18 16:06
回复 4# litigerking


我把所有软件都删了,重装也是这样提示!有这样一句提示, Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
就是不知道怎么做?

论坛徽章:
0
7 [报告]
发表于 2014-11-18 18:08 |只看该作者
你的系统什么时候装的

论坛徽章:
0
8 [报告]
发表于 2014-11-18 18:28 |只看该作者
重装系统试一下!!

论坛徽章:
0
9 [报告]
发表于 2014-11-18 19:33 |只看该作者
因为PORTS TREE只有一个,所以PORTS应该用HEAD版的。

论坛徽章:
3
操作系统版块每日发帖之星
日期:2016-08-03 06:20:00操作系统版块每日发帖之星
日期:2016-08-04 06:20:00操作系统版块每日发帖之星
日期:2016-08-06 06:20:00
10 [报告]
发表于 2014-11-18 19:56 |只看该作者
老爷康 发表于 2014-11-18 18:08
你的系统什么时候装的

才升级的!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP