[root@server ~]# more /usr/src/redhat/BUILD/php-5.1.6/build-cgi/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 configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/ usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir =/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info - -cache-file=../config.cache --with-libdir=lib --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --wi th-pic --disable-rpath --without-pear --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --e nable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-expat-dir=/usr --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable- sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-ker beros --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable- dio --with-mime-magic=/etc/httpd/conf/magic --without-sqlite --with-libxml-dir=/usr --with-xml --enable-force-cgi-redirect --enable-pc ntl --with-imap=shared --with-imap-ssl --enable-mbstring=shared --enable-mbstr-enc-trans --enable-mbregex --with-ncurses=shared --with -gd=shared --enable-bcmath=shared --enable-dba=shared --with-db4=/usr --with-xmlrpc=shared --with-ldap=shared --with-mysql=shared,/usr --with-mysqli=shared,/usr/bin/mysql_config --enable-dom=shared --with-dom-xslt=/usr --with-dom-exslt=/usr --with-pgsql=shared --with- snmp=shared,/usr --enable-soap=shared --with-xsl=shared,/usr --enable-xmlreader=shared --enable-xmlwriter=shared --enable-fastcgi --en able-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,/usr --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=share d,/usr ## --------- ## ## Platform. ## ## --------- ## hostname = server uname -m = i686 uname -r = 2.6.9-42.0.2.ELsmp uname -s = Linux uname -v = #1 SMP Wed Aug 23 00:17:26 CDT 2006 /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: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1803: creating cache ../config.cache configure:1884: checking for egrep configure:1894: result: grep -E configure:1899: checking for a sed that does not truncate output configure:1953: result: /bin/sed configure:2026: checking build system type configure:2044: result: i686-redhat-linux-gnu configure:2052: checking host system type configure:2066: result: i686-redhat-linux-gnu configure:2074: checking target system type configure:2088: result: i386-redhat-linux-gnu configure:2203: checking for i686-redhat-linux-gnu-gcc configure:2232: result: no configure:2241: checking for gcc configure:2257: found /usr/bin/gcc configure:2267: result: gcc configure:2511: checking for C compiler version configure:2514: gcc --version &5 gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2517: $? = 0 configure:2519: gcc -v &5 Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/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 --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-lin ux Thread model: posix gcc version 3.4.6 20060404 (Red Hat 3.4.6-3) configure:2522: $? = 0 configure:2524: gcc -V &5 gcc: `-V' option must have argument configure:2527: $? = 1 configure:2550: checking for C compiler default output file name configure:2553: gcc -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -fno-strict-aliasing -Wno-pointer-sign -DLDAP_DEPRECATED=1 conftest .c >&5 cc1: error: unrecognized command line option "-Wno-pointer-sign" configure:2556: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define _GNU_SOURCE 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2595: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-redhat-linux-gnu ac_cv_build_alias=i686-redhat-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -fno-strict-aliasing -Wno-pointer-sign' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-DLDAP_DEPRECATED=1 ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set=set ac_cv_env_FFLAGS_value='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i686-redhat-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-redhat-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=i386-redhat-linux-gnu ac_cv_host=i686-redhat-linux-gnu ac_cv_host_alias=i686-redhat-linux-gnu ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_egrep='grep -E' ac_cv_target=i386-redhat-linux-gnu ac_cv_target_alias=i386-redhat-linux-gnu lt_cv_path_SED=/bin/sed ## ----------------- ## ## Output variables. ## ## ----------------- ## ALLOCA='' AR='' AWK='' CC='gcc' CFLAGS='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -fno-strict-aliasing -Wno-pointer-sign' CONFIGURE_COMMAND=' './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--p rogram-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/sha re' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '-- mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' ' --with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' ' --with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre- regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysv sem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '-- enable-dio' '--with-mime-magic=/etc/httpd/conf/magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--enable-force-cgi-red irect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex ' '--with-ncurses=shared' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' ' --with-ldap=shared' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/bin/mysql_config' '--enable-dom=shared' '--with-dom-xslt=/us r' '--with-dom-exslt=/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-x mlreader=shared' '--enable-xmlwriter=shared' '--enable-fastcgi' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-p do-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr'' CPP='' CPPFLAGS='-DLDAP_DEPRECATED=1' CXX='' CXXCPP='' CXXFLAGS='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' DEBUG_CFLAGS='' DEFS='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' EXEEXT='' EXPANDED_BINDIR='' EXPANDED_DATADIR='' EXPANDED_EXTENSION_DIR='' EXPANDED_LIBDIR='' EXPANDED_LOCALSTATEDIR='' EXPANDED_PEAR_INSTALLDIR='' EXPANDED_PHP_CONFIG_FILE_PATH='' EXPANDED_PHP_CONFIG_FILE_SCAN_DIR='' EXPANDED_SYSCONFDIR='' EXTENSION_DIR='/usr/lib/php/modules' EXTRA_INCLUDES='' EXTRA_LDFLAGS='' EXTRA_LDFLAGS_PROGRAM='' EXTRA_LIBS='' F77='' FFLAGS='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4' INCLUDES='' INCLUDE_PATH='' INLINE_CFLAGS='' INSTALL_IT='' KRB5_CONFIG='' LDFLAGS='' LEMON='' LEX='' LEXLIB='' LEX_OUTPUT_ROOT='' LIBOBJS='' LIBS='' LIBTOOL='' LN_S='' LTLIBOBJS='' LTP='' LTP_GENHTML='' MYSQL_INCLUDE='' MYSQL_LIBS='' MYSQL_MODULE_TYPE='' NATIVE_RPATHS='' OBJEXT='' OCI8_DIR='' OCI8_SHARED_LIBADD='' OCI8_VERSION='' ODBC_INCLUDE='' ODBC_LFLAGS='' ODBC_LIBS='' ODBC_TYPE='' OPENSSL_INCDIR_OPT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PDO_MYSQL_MODULE_TYPE='' PDO_OCI_DIR='' PDO_OCI_SHARED_LIBADD='' PDO_OCI_VERSION='' PEAR_INSTALLDIR='/usr/share/pear' PHP_LDFLAGS='' PHP_LIBS='' PHP_VERSION='5.1.6' PKG_CONFIG='' PROG_SENDMAIL='' PTHREAD_CC='' PTHREAD_CFLAGS='' PTHREAD_LIBS='' RANLIB='' RE2C='' SED='/bin/sed' SHELL='/bin/sh' SHLIB_DL_SUFFIX_NAME='' SHLIB_SUFFIX_NAME='' SNMP_CONFIG='' STRIP='' THREADED='' YACC='' ZEND_EXTRA_LIBS='' abs_builddir='/usr/src/redhat/BUILD/php-5.1.6/build-cgi' abs_srcdir='/usr/src/redhat/BUILD/php-5.1.6' ac_ct_AR='' ac_ct_CC='gcc' ac_ct_CXX='' ac_ct_F77='' ac_ct_RANLIB='' ac_ct_STRIP='' bindir='/usr/bin' build='i686-redhat-linux-gnu' build_alias='i686-redhat-linux-gnu' build_cpu='i686' build_os='linux-gnu' build_vendor='redhat' datadir='/usr/share' exec_prefix='/usr' host='i686-redhat-linux-gnu' host_alias='i686-redhat-linux-gnu' host_cpu='i686' host_os='linux-gnu' host_vendor='redhat' includedir='/usr/include' infodir='/usr/share/info' libdir='/usr/lib' libexecdir='/usr/libexec' localstatedir='/var' mandir='/usr/share/man' oldincludedir='/usr/include' php_abs_top_builddir='/usr/src/redhat/BUILD/php-5.1.6/build-cgi' php_abs_top_srcdir='/usr/src/redhat/BUILD/php-5.1.6' prefix='/usr' program_prefix='' program_suffix='NONE' program_transform_name='s,x,x,' sbindir='/usr/sbin' sharedstatedir='/usr/com' sysconfdir='/etc' target='i386-redhat-linux-gnu' target_alias='i386-redhat-linux-gnu' target_cpu='i386' target_os='linux-gnu' target_vendor='redhat' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define _GNU_SOURCE 1 configure: exit 77