LinuxSir.cn,穿越时空的Linuxsir!

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

[Solved]emerge samba 和ghostscript 时,提示调用栈出错。

[复制链接]
发表于 2008-6-1 14:27:27 | 显示全部楼层 |阅读模式
emerge samba,提示这样的信息:
* Messages for package net-fs/samba-3.0.28a-r1:

*
* ERROR: net-fs/samba-3.0.28a-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3524:  Called die
* The specific snippet of code:
*       emake everything || die "emake everything failed";
*  The die message:
*   emake everything failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-fs/samba-3.0.28a-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.0.28a-r1/temp/environment'.

在emerge ghostscript的时候,也是提示这样的信息:
* Messages for package app-text/ghostscript-gpl-8.61-r3:

*
* ERROR: app-text/ghostscript-gpl-8.61-r3 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3273:  Called die
* The specific snippet of code:
*       emake -j1 so all || die "emake failed";
*  The die message:
*   emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-8.61-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-8.61-r3/temp/environment'.
发表于 2008-6-1 18:14:47 | 显示全部楼层
A complete build log is located at '/var/tmp/portage/xxxx'
请把 build.log 其中的内容给出。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-1 19:14:25 | 显示全部楼层

两个log文件太大,我分别拷入两个log文件出错片段。

samba build log 片段:
Linking bin/smbd
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libgnutls.so.13, needed by /usr/lib/libcups.so, not found (try using -rpath or -rpath-link)
/usr/lib/libcups.so: undefined reference to `gnutls_bye@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_credentials_set@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_record_check_pending@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_certificate_free_credentials@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_set_default_priority@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_init@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_pull_function@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_global_init@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_handshake@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_ptr@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_push_function@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_certificate_allocate_credentials@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_deinit@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_record_recv@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_record_send@GNUTLS_1_3'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
make: *** Waiting for unfinished jobs....
*
* ERROR: net-fs/samba-3.0.28a-r1 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3524:  Called die
* The specific snippet of code:
*       emake everything || die "emake everything failed";
*  The die message:
*   emake everything failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-fs/samba-3.0.28a-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.0.28a-r1/temp/environment'.

ghostscript build log 片段:
if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
        XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
        FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \
        DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \
        DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \
        DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \
        DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \
        DEVICE_DEVS_EXTRA= \
        /bin/sh <./obj/../soobj/ldt.tr
rm -f ./bin/../sobin/libgs.so.8
ln -s libgs.so.8.61 ./bin/../sobin/libgs.so.8
rm -f ./bin/../sobin/libgs.so
ln -s libgs.so.8.61 ./bin/../sobin/libgs.so
i686-pc-linux-gnu-gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -O3 -march=i686 -pipe -mfpmath=sse -mmmx -msse -msse2 -funroll-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fweb -frename-registers -fbranch-target-load-optimize2 -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib/ghostscript/8.61\" -I./obj/../soobj -I./src  -g -o ./bin/../sobin/gsc ./src/dxmainc.c -L./bin/../sobin -lgs
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libgnutls.so.13, needed by /usr/lib/libcupsimage.so.2, not found (try using -rpath or -rpath-link)
/usr/lib/libcups.so.2: undefined reference to `gnutls_record_check_pending@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_record_send@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_init@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_set_default_priority@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_transport_set_push_function@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_transport_set_pull_function@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_certificate_allocate_credentials@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_record_recv@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_handshake@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_deinit@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_global_init@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_credentials_set@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_transport_set_ptr@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_bye@GNUTLS_1_3'
/usr/lib/libcups.so.2: undefined reference to `gnutls_certificate_free_credentials@GNUTLS_1_3'
collect2: ld returned 1 exit status
make[1]: *** [bin/../sobin/gsc] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/ghostscript-gpl-8.61-r3/work/ghostscript-8.61'
make: *** [so] Error 2
*
* ERROR: app-text/ghostscript-gpl-8.61-r3 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 3273:  Called die
* The specific snippet of code:
*       emake -j1 so all || die "emake failed";
*  The die message:
*   emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-8.61-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-8.61-r3/temp/environment'.
回复 支持 反对

使用道具 举报

发表于 2008-6-1 20:05:46 | 显示全部楼层
好像都是 libgnutls.so 的问题,而且是找不到?楼主试试 revdep-rebuild 看看,如果没有,请 emerge gentoolkit 一下。
  如果不行,个人以为试试 emerge -1 gnutls 一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-2 20:02:51 | 显示全部楼层
解决了。我首先安装了gnutls ,然后又试了一下,还是不行,就把
net-dns/avahi dbus gdbm gtk ipv6 kernel_linux python -autoipd -bookmarks -doc -howl-compat mdnsresponder-compat -mono -qt3 -qt4 -test
放入/etc/portage/package.use中,重新安装了avahi。然后就可以安装这两个软件了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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