cnhnln 发表于 2004-11-21 02:12:02

gentoo2004.3编译ttmkfdir出错

localhost / # emerge ttmkfdir
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/ttmkfdir-3.0.9-r2 to /
>>> md5 src_uri ;-) ttmkfdir-3.0.9.tar.bz2
>>> Unpacking source...
>>> Unpacking ttmkfdir-3.0.9.tar.bz2 to /var/tmp/portage/ttmkfdir-3.0.9-r2/work
* Applying ttmkfdir-3.0.9-cpp.patch ...                                 [ ok ] * Applying ttmkfdir-3.0.9-zlib.patch ...                                  [ ok ] * Applying ttmkfdir-3.0.9-gcc34.patch ...                                 [ ok ] * Applying ttmkfdir-3.0.9-encoding.patch ...                              [ ok ]>>> Source unpacked.
libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2   -o ttmkfdir.o -c ttmkfdir.cpp
libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2   -o directory.o -c directory.cpp
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [ttmkfdir.o] 错误 1
make: *** 正在等待未完成的任务....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [directory.o] 错误 1

!!! ERROR: x11-misc/ttmkfdir-3.0.9-r2 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

已经
localhost / # export CFLAGS=""
localhost / # export CXXFLAGS=""

dannycat 发表于 2004-11-21 16:31:23

这个跟 CFLAGS 应该没啥关系,我不记得 emerge ttmkfdir 的时候需要调整参数啊。

你的 libtool 是哪个版本的? 我想应该是它的问题(开发者调整了参数?), emerge 一个稍早一点的 libtool 试试。

樱家冢 发表于 2004-11-21 18:25:59

是不是用了~x86的?用稳定版的试试看?

muraji 发表于 2004-11-21 20:04:54

我不记得 emerge ttmkfdir 的时候需要调整参数啊。

就是啊,这些
localhost / # export CFLAGS=""
localhost / # export CXXFLAGS=""
你是从哪儿看来的?根本就不需要的。

cnhnln 发表于 2004-11-21 21:29:45

排除是CFLAGS引起的问题阿

我去试试

cnhnln 发表于 2004-11-21 23:48:21

多谢
libtool用x86就好了
页: [1]
查看完整版本: gentoo2004.3编译ttmkfdir出错