|
求救!关于编译autoconf和automake
在用海勇的《手把手教你源代码制作龙芯64位系统》做的automake时出现了
checking build system type... i686-cross-linux-gnu=${CROSS_TARGET} --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips64el-unknown-linux-gnu-strip... mips64el-unknown-linux-gnu-strip
checking for perl... /usr/bin/perl
checking for tex... no
checking whether autoconf is installed... no
configure: error: Autoconf 2.60 or better is required.
Please make sure it is installed and in your PATH
然后我将automake之前编译的autoconf的路径加到PATH:
PATH=/loongson/cross-tools/bin:/bin:/usr/bin:/loongson/usr/bin/
重新configure得到:
checking build system type... i686-cross-linux-gnu=${CROSS_TARGET} --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips64el-unknown-linux-gnu-strip... mips64el-unknown-linux-gnu-strip
checking for perl... /usr/bin/perl
checking for tex... no
checking whether autoconf is installed... yes
checking whether autoconf works... no
configure: error: The installed version of autoconf does not work.
Please check config.log for error messages before this one
怎么办 |
|