LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 733|回复: 2

升级时有几个软件编译不通过

[复制链接]
发表于 2011-3-25 22:46:12 | 显示全部楼层 |阅读模式
第一个 virtualbox:

kmk: /usr/lib/jvm/java-6-sun/bin/wsimport: Command not found
kmk: *** [/var/tmp/portage/app-emulation/virtualbox-4.0.4-r1/work/VirtualBox-4.0.4_OSE/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/jwsglue.list] Error 127
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
* ERROR: app-emulation/virtualbox-4.0.4-r1 failed (compile phase):
*   emake failed

===========================
第二个:gvfs
     usr/lib64/libproxy.so: undefined reference to `JS_GetStringBytes'
/usr/lib64/libproxy.so: undefined reference to `JS_NewString'
collect2: ld returned 1 exit status
/usr/lib64/libproxy.so: undefined reference to `JS_GetStringBytes'
/usr/lib64/libproxy.so: undefined reference to `JS_NewString'
collect2: ld returned 1 exit status
make[4]: *** [gvfsd-dav] 错误 1
make[4]: *** 正在等待未完成的任务....
make[4]: *** [gvfsd-http] 错误 1
make[4]: 离开目录“/var/tmp/portage/gnome-base/gvfs-1.6.7/work/gvfs-1.6.7/daemon”
make[3]: *** [all-recursive] 错误 1
make[3]: 离开目录“/var/tmp/portage/gnome-base/gvfs-1.6.7/work/gvfs-1.6.7/daemon”
make[2]: *** [all] 错误 2
make[2]: 离开目录“/var/tmp/portage/gnome-base/gvfs-1.6.7/work/gvfs-1.6.7/daemon”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/var/tmp/portage/gnome-base/gvfs-1.6.7/work/gvfs-1.6.7”
make: *** [all] 错误 2
emake failed
* ERROR: gnome-base/gvfs-1.6.7 failed (compile phase):
*   compile failure
*
* Call stack:
*     ebuild.sh, line   56:  Called src_compile
*   environment, line 3383:  Called gnome2_src_compile
*   environment, line 2659:  Called die
* The specific snippet of code:
*       emake || die "compile failure"


     ====================================

第三个:kdeplasma-addons

     In file included from /var/tmp/portage/kde-base/kdeplasma-addons-4.6.1/work/kdeplasma-addons-4.6.1_build/runners/events/../../../kdeplasma-addons-4.6.1/runners/events/collection_selector.h:27:0,
                 from /var/tmp/portage/kde-base/kdeplasma-addons-4.6.1/work/kdeplasma-addons-4.6.1_build/runners/events/moc_collection_selector.cpp:10,
                 from /var/tmp/portage/kde-base/kdeplasma-addons-4.6.1/work/kdeplasma-addons-4.6.1_build/runners/events/kcm_plasma_runner_events_automoc.cpp:4:
/usr/include/KDE/Akonadi/Collection:1:38: 致命错误:../../akonadi/collection.h:没有那个文件或目录
编译中断。
make[2]: *** [runners/events/CMakeFiles/kcm_plasma_runner_events.dir/kcm_plasma_runner_events_automoc.o] 错误 1
make[1]: *** [runners/events/CMakeFiles/kcm_plasma_runner_events.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
[ 72%] Building CXX object runners/contacts/CMakeFiles/krunner_contacts.dir/imageiconengine.o                                                                        
/var/tmp/portage/kde-base/kdeplasma-addons-4.6.1/work/kdeplasma-addons-4.6.1/runners/contacts/contactsrunner.cpp:26:51: 致命错误:akonadi/contact/contactdefaultactions.h:没有那个文件或目录
编译中断。
make[2]: *** [runners/contacts/CMakeFiles/krunner_contacts.dir/contactsrunner.o] 错误 1
make[2]: *** 正在等待未完成的任务....
[ 72%] Built target plasma_applet_plasmaboard
make[1]: *** [runners/contacts/CMakeFiles/krunner_contacts.dir/all] 错误 2
make: *** [all] 错误 2
emake failed
* ERROR: kde-base/kdeplasma-addons-4.6.1 failed (compile phase):
*   Make failed!
*
* Call stack:
*     ebuild.sh, line   56:  Called src_compile
*   environment, line 3811:  Called kde4-base_src_compile
*   environment, line 2904:  Called cmake-utils_src_compile
*   environment, line 1229:  Called _execute_optionaly 'src_compile'
*   environment, line  603:  Called enable_cmake-utils_src_compile
*   environment, line 1484:  Called cmake-utils_src_make
*   environment, line 1248:  Called die
* The specific snippet of code:
*           emake "$@" || die "Make failed!";
*
* If you need support, post the output of 'emerge --info =kde-base/kdeplasma-addons-4.6.1',
* the complete build log and the output of 'emerge -pqv =kde-base/kdeplasma-addons-4.6.1'.
* The complete build log is located at '/var/tmp/portage/kde-base/kdeplasma-addons-4.6.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/kde-base/kdeplasma-addons-4.6.1/temp/environment'.
* S: '/var/tmp/portage/kde-base/kdeplasma-addons-4.6.1/work/kdeplasma-addons-4.6.1'

>>> Failed to emerge kde-base/kdeplasma-addons-4.6.1, Log file:

>>>  '/var/tmp/portage/kde-base/kdeplasma-addons-4.6.1/temp/build.log'
*** Resuming merge...

These are the packages that would be merged, in order:

Calculating dependencies... done!
* emerge --keep-going: kde-base/kde-meta-4.6.1 dropped due to unsatisfied
* dependency.

求解。
谢谢!
发表于 2011-3-26 03:35:19 | 显示全部楼层
一般来说我们遇到的问题,别人也会遇到,特别是这种更新失败的问题,搜搜gentoo bugs或google一般都能找到解决方案

virtualbox: 装一下sun-jdk
http://bugs.gentoo.org/351096

gvfs:
USE="-xulrunner" emerge libproxy
再重新emerge gvfs
http://bugs.gentoo.org/show_bug.cgi?id=350879

kdeplasma-addons
打一下那里面的patch
http://bugs.gentoo.org/show_bug.cgi?id=353730
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-3-26 12:10:44 | 显示全部楼层
不是我不想找,英语水平有限而已。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表