compile libxml2 errors



The follow erros,how to deal with

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure --prefix=/opt/xfce-beta1 --exec_prefix=/opt/xfce-beta1
--bindir=/opt/xfce-beta1/bin --sbindir=/opt/xfce-beta1/sbin
--libexecdir=/opt/xfce-beta1/libexec --datadir=/opt/xfce-beta1/share
--sysconfdir=/opt/xfce-beta1/etc --sharedstatedir=/opt/xfce-beta1/share
--localstatedir=/opt/xfce-beta1/var --libdir=/opt/xfce-beta1/lib
--infodir=/opt/xfce-beta1/info --includedir=/opt/xfce-beta1/include
--mandir=/opt/xfce-beta1/man --disable-static
--with-html-dir=/opt/xfce-beta1/share/gtk-doc/html --enable-gtk-doc
--enable-debug=no

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = i686
uname -r = 2.4.20-8
uname -s = Linux
uname -v = #1 Thu Mar 13 17:54:28 EST 2003

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/xfce-beta1/bin
PATH: /opt/xfce-beta1/sbin
PATH: /opt/xfce-beta1/bin
PATH: /opt/xfce-beta1/sbin
PATH: /opt/xfce-beta1/bin
PATH: /opt/xfce-beta1/sbin
PATH: /opt/xfce-beta1/bin
PATH: /opt/xfce-beta1/sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/moswenxi/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1495: checking build system type
configure:1513: result: i686-pc-linux-gnu
configure:1521: checking host system type
configure:1535: result: i686-pc-linux-gnu
configure:1574: checking for a BSD-compatible install
configure:1628: result: /usr/bin/install -c
configure:1639: checking whether build environment is sane
configure:1682: result: yes
configure:1697: checking whether make sets $(MAKE)
configure:1717: result: yes
configure:1749: checking for working aclocal-1.4
configure:1756: result: found
configure:1764: checking for working autoconf
configure:1771: result: found
configure:1779: checking for working automake-1.4
configure:1786: result: found
configure:1794: checking for working autoheader
configure:1801: result: found
configure:1809: checking for working makeinfo
configure:1816: result: found
configure:1879: checking for gcc
configure:1905: result: gcc-3.2
configure:2149: checking for C compiler version
configure:2152: gcc-3.2 --version </dev/null >&5
./configure: line 1: gcc-3.2: command not found
configure:2155: $? = 127
configure:2157: gcc-3.2 -v </dev/null >&5
./configure: line 1: gcc-3.2: command not found
configure:2160: $? = 127
configure:2162: gcc-3.2 -V </dev/null >&5
./configure: line 1: gcc-3.2: command not found
configure:2165: $? = 127
configure:2189: checking for C compiler default output
configure:2192: gcc-3.2 -g -I/opt/xfce-beta1/include
-I/usr/X11R6/include -L/opt/xfce-beta1/lib -L/usr/X11R6/lib -O2 -pipe
-falign-functions=4 -mfancy-math-387 -march=athlon-mp
-I/opt/xfce-beta1/include -I/usr/X11R6/include -L/opt/xfce-beta1/lib
-L/usr/X11R6/lib conftest.c  >&5
./configure: line 1: gcc-3.2: command not found
configure:2195: $? = 127
configure: failed program was:
| #line 2168 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libxml2"
| #define VERSION "2.5.7"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2234: error: C compiler cannot create executables
See `config.log' for more details.

my gcc version
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)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]