LinuxSir.cn,穿越时空的Linuxsir!

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

emerge bdftopcf 出错 求助--(已解决) 谢谢斑竹

[复制链接]
发表于 2007-7-18 01:04:09 | 显示全部楼层 |阅读模式
错误信息:
localhost / # emerge bdftopcf
Calculating dependencies... done!

>>> Emerging (1 of 1) x11-apps/bdftopcf-1.0.0 to /
* bdftopcf-1.0.0.tar.bz2 RMD160 ;-) ...                                  [ ok ]
* bdftopcf-1.0.0.tar.bz2 SHA1 ;-) ...                                    [ ok ]
* bdftopcf-1.0.0.tar.bz2 SHA256 ;-) ...                                  [ ok ]
* bdftopcf-1.0.0.tar.bz2 size ;-) ...                                    [ ok ]
* checking ebuild checksums ;-) ...                                      [ ok ]
* checking auxfile checksums ;-) ...                                     [ ok ]
* checking miscfile checksums ;-) ...                                    [ ok ]
* checking bdftopcf-1.0.0.tar.bz2 ;-) ...                                [ ok ]
>>> Unpacking source...
>>> Unpacking bdftopcf-1.0.0.tar.bz2 to /var/tmp/portage/x11-apps/bdftopcf-1.0.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-apps/bdftopcf-1.0.0/work/bdftopcf-1.0.0 ...
* econf: updating bdftopcf-1.0.0/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating bdftopcf-1.0.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a BSD-compatible install... /bin/install -c
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BDFTOPCF... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-am
make[1]: Entering directory `/var/tmp/portage/x11-apps/bdftopcf-1.0.0/work/bdftopcf-1.0.0'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/include/freetype2   -O3 -march=pentium4 -pipe -fomit-frame-pointer -MT bdftopcf-bdftopcf.o -MD -MP -MF ".deps/bdftopcf-bdftopcf.Tpo" \
          -c -o bdftopcf-bdftopcf.o `test -f 'bdftopcf.c' || echo './'`bdftopcf.c; \
        then mv -f ".deps/bdftopcf-bdftopcf.Tpo" ".deps/bdftopcf-bdftopcf.Po"; \
        else rm -f ".deps/bdftopcf-bdftopcf.Tpo"; exit 1; \
        fi
i686-pc-linux-gnu-gcc  -O3 -march=pentium4 -pipe -fomit-frame-pointer  -Wl,-O1 -o bdftopcf  bdftopcf-bdftopcf.o -lXfont
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libXfont.so: undefined reference to `ft_isdigit'
collect2: ld returned 1 exit status
make[1]: *** [bdftopcf] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-apps/bdftopcf-1.0.0/work/bdftopcf-1.0.0'
make: *** [all] Error 2

!!! ERROR: x11-apps/bdftopcf-1.0.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3811:   Called src_compile
  ebuild.sh, line 1304:   Called x-modular_src_compile
  x-modular.eclass, line 337:   Called x-modular_src_make
  x-modular.eclass, line 332:   Called die

!!! 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/x11-apps/bdftopcf-1.0.0/temp/build.log'.
 楼主| 发表于 2007-7-18 01:09:30 | 显示全部楼层

make.conf 文件

make.conf 文件
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
#CFLAGS="-O3 -march=pentium4 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS=" ftp://mirror.pacific.net.au/linux/Gentoo"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN.UTF-8 zh_CN zh_CN.GBK  zh_TW en_US en_US.UTF-8"
USE=" cjk nls -alsa  -kde"
回复 支持 反对

使用道具 举报

发表于 2007-7-18 02:24:01 | 显示全部楼层
revdep-rebuild
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-18 02:31:38 | 显示全部楼层

已经运行过revdep-rebuild 了可是还是提示出错误

已经运行过revdep-rebuild 了可是还是提示出错误
错误内容和以前一样
回复 支持 反对

使用道具 举报

发表于 2007-7-18 02:46:11 | 显示全部楼层
emerge -1av libXfont
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-18 02:52:44 | 显示全部楼层
emerge -1av libXfont  
emerge过了 还是提示错误 ... ...
回复 支持 反对

使用道具 举报

发表于 2007-7-18 03:12:22 | 显示全部楼层
你的系统是最新的么?
emerge --sync && emerge -tauvDN world
另外你可以搜索一下 bugs.gentoo.org
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-18 09:28:49 | 显示全部楼层

真心感谢斑竹的热心帮助

谢谢斑竹的提示 已解决
wget http://xorg.freedesktop.org/rele ... bXfont-1.3.0.tar.gz

./configure --prefix=/usr
make && make install
emerge bdftopcf

原文地址:
http://forums.gentoo.org/viewtop ... 1e65b3b78e10e3e35c2
回复 支持 反对

使用道具 举报

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

本版积分规则

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