首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装pth时econf失败

安装pth时econf失败
EN

Unix & Linux用户
提问于 2013-10-29 01:20:18
回答 1查看 2K关注 0票数 0

我刚开始使用Gentoo,而且我在用Portage安装程序时有点卡住了。它是美妙的和自动的,除非它不是。

我尝试安装的许多程序(git、gedit、chrome、nautilus)最终都依赖于pth,不管它是什么。但是它失败了,出现了econf错误:

代码语言:javascript
复制
   ERROR: dev-libs/pth-2.0.7-r3::gentoo failed (configure phase):
     econf failed

   Call stack:
            ebuild.sh, line   93:  Called src_configure
          environment, line 2881:  Called econf '--disable-static'
     phase-helpers.sh, line  577:  Called die
   The specific snippet of code:
                die "econf failed"

   If you need support, post the output of `emerge --info '=dev-libs/pth-2.0.7-r3::gentoo'`,
   the complete build log and the output of `emerge -pqv '=dev-libs/pth-2.0.7-r3::gentoo'`.
   The complete build log is located at '/var/tmp/portage/dev-libs/pth-2.0.7-r3/temp/build.log'.
   The ebuild environment file is located at '/var/tmp/portage/dev-libs/pth-2.0.7-r3/temp/environment'.
   Working directory: '/var/tmp/portage/dev-libs/pth-2.0.7-r3/work/pth-2.0.7'

这是ebuild线

代码语言:javascript
复制
[ebuild  N    ] dev-libs/pth-2.0.7-r3  USE="-debug -static-libs"

还有我用的出现信息,因为它的长度。

Buildlog:

代码语言:javascript
复制
 * Package:    dev-libs/pth-2.0.7-r3
 * Repository: gentoo
 * Maintainer: crypto@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking pth-2.0.7.tar.gz to /var/tmp/portage/dev-libs/pth-2.0.7-r3/work
>>> Source unpacked in /var/tmp/portage/dev-libs/pth-2.0.7-r3/work
>>> Preparing source in /var/tmp/portage/dev-libs/pth-2.0.7-r3/work/pth-2.0.7 ...
 * Applying pth-2.0.5-parallelfix.patch ...                              [ ok ]
 * Applying pth-2.0.6-ldflags.patch ...                                  [ ok ]
 * Applying pth-2.0.6-sigstack.patch ...                                 [ ok ]
 * Applying pth-2.0.7-parallel-install.patch ...                         [ ok ]
 * Applying pth-2.0.7-ia64.patch ...                                     [ ok ]
 * Applying pth-2.0.7-kernel-3.patch ...                                 [ ok ]
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed aclocal.m4
 *  - fixed configure
 * Running elibtoolize in: pth-2.0.7/
 *   Applying portage/1.5.10 patch ...
 *   Applying max_cmd_len/1.5.20 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/1.5 patch ...
 *   Applying target-nm/2.4.2 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/pth-2.0.7-r3/work/pth-2.0.7 ...
 * econf: updating pth-2.0.7/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating pth-2.0.7/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-static
./configure: line 286: /tmp/autoconf.25970: Permission denied
./configure: line 297: /tmp/autoconf.25970: Permission denied
./configure: line 310: /tmp/autoconf.25970: No such file or directory
 * ERROR: dev-libs/pth-2.0.7-r3::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 2887:  Called econf '--disable-static'
 *   phase-helpers.sh, line  577:  Called die
 * The specific snippet of code:
 *              die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/pth-2.0.7-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/pth-2.0.7-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/pth-2.0.7-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/pth-2.0.7-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/pth-2.0.7-r3/work/pth-2.0.7'
 * S: '/var/tmp/portage/dev-libs/pth-2.0.7-r3/work/pth-2.0.7'

这里出了什么问题,怎么解决呢?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2013-10-31 13:51:57

事实证明,由于某种原因,除了根,/tmp是不可写的。我用

代码语言:javascript
复制
chmod a+w /tmp

我不知道这是怎么回事;这是一个全新的安装,我当然没有故意将权限更改为drwxr-xr-

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/97991

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档