无题


http://download.chinaunix.net/download/0007000/6095.shtml

set $libxml_full_version
    IFS=$ac_IFS
    LIBXML_VERSION=`expr $1 \* 1000000 + $2 \* 1000 + $3`
    if test "$LIBXML_VERSION" -ge "2006011"; then
      LIBXML_LIBS=`$XML2_CONFIG --libs`
      LIBXML_INCS=`$XML2_CONFIG --cflags` 




PHP_VAR_SUBST="$PHP_VAR_SUBST SIMPLEXML_SHARED_LIBADD"



    else
      { echo "configure: error: libxml2 version 2.6.11 or greater required." 1>&2; exit 1; }
    fi
else
    { echo "configure: error: xml2-config not found. Please check your libxml2 installation." 1>&2; exit 1; }

  fi



# echo 'main()' >> test.cpp

[root@archive4 php-5.2.3]# gcc -v test.cpp
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
 cc1plus -quiet -v -D_GNU_SOURCE test.cpp -quiet -dumpbase test.cpp -mtune=generic -auxbase test -version -o /tmp/cc8fvN3o.s
gcc: error trying to exec 'cc1plus': execvp: No such file or directory


[root@archive4 php-5.2.3]# gcc -o test test.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory

你可能感兴趣的:(xml,gcc,File,fortran,gtk,archive)