|
在64位安装手册没有关于grub的安装,所以就照着32位的手册安装grub,可是当configure的时候,出现这样的错误提示:
root:/sources/grub-0.97# ./configure --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for gcc... (cached) gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
然后,又看了config.log,下面是它的内容:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GRUB configure 0.97, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --prefix=/usr
## --------- ##
## Platform. ##
## --------- ##
hostname = lfslivecd
uname -m = x86_64
uname -r = 2.6.22.1-64bit
uname -s = Linux
uname -v = #1 SMP Sun Aug 5 12:32:51 GMT 2007
不知道为什么会出现这样的问题,是grub的版本不对,还是什么别的原因,清个各位指点迷津! |
|