我在 rh9下编译 xfce 桌面环境出现如下症状,还请版主指点:
make[2]: Leaving directory `/root/garnome-0.24.2-xfce4/gnome/libxml2'
==> Grabbing download/buildDocBookCatalog
==> Trying file//files/buildDocBookCatalog
make[2]: Entering directory `/root/garnome-0.24.2-xfce4/gnome/libxml2'
make[2]: Leaving directory `/root/garnome-0.24.2-xfce4/gnome/libxml2'
[fetch] complete for libxml2.
==> Running checksum on libxml2-2.5.7.tar.bz2
d4eb34a61f44e1cf0694ca0035e46451 download/libxml2-2.5.7.tar.bz2
file libxml2-2.5.7.tar.bz2 passes checksum test!
==> Running checksum on buildDocBookCatalog
03fd5ed2951f830aba7e78ec55f1b156 download/buildDocBookCatalog
file buildDocBookCatalog passes checksum test!
[checksum] complete for libxml2.
install -d work/main.d
==> Extracting download/libxml2-2.5.7.tar.bz2
==> Copying download/buildDocBookCatalog
[extract] complete for libxml2.
[patch] complete for libxml2.
==> Running configure in work/main.d/libxml2-2.5.7
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc-3.2
checking for C compiler default output... configure: error: C compiler cannot create executables
(好象是说 c编译器不能输出可执行文件,纳闷...)
See `config.log' for more details.
make[1]: *** [configure-work/main.d/libxml2-2.5.7/configure] Error 77
make[1]: Leaving directory `/root/garnome-0.24.2-xfce4/gnome/libxml2'
make: *** [../../gnome/libxml2/cookies/main.d/install] Error 2
我的gcc 版本
[root@localhost xfce]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)