+ -
当前位置:首页 → 问答吧 → 5.4. GCC-4.1.2 - Pass 1时遇见错误

5.4. GCC-4.1.2 - Pass 1时遇见错误

时间:2007-12-21

来源:互联网

根据6.3手册编译GCC-4.1.2遇到这个错误

make[4]: Entering directory `/media/lfs/tools/gcc-build/fastjar'
(echo "@set version-GCC 4.1.2"; \
if [ "" = "experimental" ]; \
then echo "@set DEVELOPMENT"; \
else echo "@clear DEVELOPMENT"; \
fi) > gcc-vers.texiT
mv -f gcc-vers.texiT gcc-vers.texi
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
for f in fastjar.info fastjar.info-[0-9] fastjar.info-[0-9][0-9] fastjar.i[0-9] fastjar.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
if /media/lfs/tools/gcc-4.1.2/missing makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 -I ../../gcc-4.1.2/fastjar/../gcc/doc/include -I ../../gcc-4.1.2/fastjar \
-o fastjar.info `test -f 'fastjar.texi' || echo '../../gcc-4.1.2/fastjar/'`fastjar.texi; \
then \
rc=0; \
else \
rc=$?; \
$restore $backupdir/* `echo "./fastjar.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
make[4]: *** [fastjar.info] Error 1
make[4]: Leaving directory `/media/lfs/tools/gcc-build/fastjar'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/media/lfs/tools/gcc-build/fastjar'
make[2]: *** [all-fastjar] Error 2
make[2]: Leaving directory `/media/lfs/tools/gcc-build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/media/lfs/tools/gcc-build'
make: *** [bootstrap] Error 2

我安装了texinfo,还是不行

我用的host上的gcc是gcc (GCC) 4.2.3 20071210 (prerelease)

会不会是这个版本的问题?

作者: 风雷   发布时间: 2007-12-21

这个问题貌似见过,你翻翻这几天的帖子就能找到

作者: 不开花   发布时间: 2007-12-21

引用:
作者: LanEast
新版的texinfo在binutils-2.18和gcc-4.2.1 configure的时候检测不出来,它们只考虑了4.X这样的情况,4.11这样的点后面两位数的东西...它们检测不出来
引用:
作者: yhyzh
将texinfo4.11卸载,换用texinfo 4.8
应该是这样,楼主试试

作者: 不开花   发布时间: 2007-12-21

是的,下了texinfo4.9的包编译安装后通过

谢谢楼上的

作者: 风雷   发布时间: 2007-12-21

这里多说一句,貌似默认安装目录是/usr/local/,而lfs用户的原始PATH中不包含这个路径,所以即使安装了4.9还有可能出错,必须在.bashrc中添加这个路径,或者就是在安装texinfo时直接改安装路径

作者: 风雷   发布时间: 2007-12-25

热门下载

更多