LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
发表于 2007-12-21 02:07:34 | 显示全部楼层 |阅读模式
根据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 08:32:53 | 显示全部楼层
这个问题貌似见过,你翻翻这几天的帖子就能找到
回复 支持 反对

使用道具 举报

发表于 2007-12-21 08:39:34 | 显示全部楼层
Post by LanEast
新版的texinfo在binutils-2.18和gcc-4.2.1 configure的时候检测不出来,它们只考虑了4.X这样的情况,4.11这样的点后面两位数的东西...它们检测不出来

Post by yhyzh
将texinfo4.11卸载,换用texinfo 4.8  

应该是这样,楼主试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-21 12:43:32 | 显示全部楼层
是的,下了texinfo4.9的包编译安装后通过

谢谢楼上的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-24 23:38:01 | 显示全部楼层
这里多说一句,貌似默认安装目录是/usr/local/,而lfs用户的原始PATH中不包含这个路径,所以即使安装了4.9还有可能出错,必须在.bashrc中添加这个路径,或者就是在安装texinfo时直接改安装路径
回复 支持 反对

使用道具 举报

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

本版积分规则

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