Problem with libcurl loading in PHP 4

started at 09 Oct 2007 by mikeah21
  • mikeah21
    09 Oct 2007

    <p>Sorry for the longwinded post. I have spent 2 weeks trying to figure out what the problem is, and am stumped. Instructions, guidance is appreciated!

    <p>MacOSX 10.4.10, PHP 4.4.7, MySql 4.1.22. PHP was also rebuilt from scratch, before libcurl, because configure was missing on the original OSX installation, and was downloaded from PHP.net.

    <p>Using zencart, can't get https to work with paypal express. https and PHP work otherwise. Have gone through troubleshooting with zencart and the configuration between the cart and paypal is okay. I have also tried PHP configure/make using DIYMacServer tutorials. Both configure and build get through although there are warning messages, but the PHP module installs. However, openssl does not appear to be configured in libcurl based on phpinfo-

    (curl
    CURL support enabled
    CURL Information libcurl/7.16.4 zlib/1.2.3)

    <p>which is strange because, after a clean install of libcurl, curl shows this-

    (curl 7.16.4 (powerpc-apple-darwin8.10.1) libcurl/7.16.4 OpenSSL/0.9.7l zlib/1.2.3
    Protocols: tftp ftp telnet dict ldap http file https ftps
    Features: IPv6 Largefile NTLM SSL libz)

    <p>When PHP is rebuilt, each new configures is ran like this:

    sudo rm -RW ./configure

    sudo ./buildconf --force

    <p>The last configure looked like this: './configure' '--prefix=/usr' '--with-zlib' '--with-xml' '--with-zlib-dir=/usr' '--with-openssl' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-mbregex' '--with-mysql=/usr' '--with-mysql-sock=/var/mysql/mysql.sock' '--enable-sockets' '--enable-dbx' '--with-curl=/usr' '--with-config-file-path=/etc' '--sysconfdir=/private/etc' '--without-pear' '--with-gd' '--with-jpeg-dir=/opt/local' '--with-png-dir=/opt/local' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--with-apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--enable-trans-sid'

    <p>This is the log from the last configure:

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

    configure:1605: checking for egrep
    configure:1620: checking for a sed that does not truncate output
    configure:1785: checking host system type
    configure:1885: checking for gcc
    configure:1998: checking whether the C compiler (gcc ) works
    configure:2014: gcc -o conftest conftest.c 1>&5
    configure:2040: checking whether the C compiler (gcc ) is a cross-compiler
    configure:2045: checking whether we are using GNU C
    configure:2054: gcc -E conftest.c
    configure:2073: checking whether gcc accepts -g
    configure:2106: checking whether gcc and cc understand -c and -o together
    configure:2121: gcc -c conftest.c -o conftest.o 1>&5
    configure:2122: gcc -c conftest.c -o conftest.o 1>&5
    configure:2127: cc -c conftest.c 1>&5
    configure:2129: cc -c conftest.c -o conftest.o 1>&5
    configure:2130: cc -c conftest.c -o conftest.o 1>&5
    configure:2157: checking how to run the C preprocessor
    configure:2178: gcc -E conftest.c >/dev/null 2>conftest.out
    configure:2238: checking for AIX
    configure:2265: checking if compiler supports -R
    configure:2280: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5
    powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-R'
    /usr/bin/ld: can't map file: /usr/lib ((os/kern) invalid argument)
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 2273 "configure"
    #include "confdefs.h"

    int main() {

    ; return 0; }
    configure:2298: checking if compiler supports -Wl,-rpath,
    configure:2313: gcc -o conftest -g -O2 conftest.c -Wl,-rpath,/usr/lib 1>&5
    /usr/bin/ld: unknown flag: -rpath
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 2306 "configure"
    #include "confdefs.h"

    int main() {

    ; return 0; }
    configure:2339: checking for re2c
    configure:2368: checking whether ln -s works
    configure:2393: checking for mawk
    configure:2393: checking for gawk
    configure:2393: checking for nawk
    configure:2393: checking for awk
    configure:2427: checking for bison
    configure:2461: checking bison version
    configure:2471: checking for flex
    configure:2505: checking for yywrap in -lfl
    configure:2524: gcc -o conftest -g -O2 conftest.c -lfl 1>&5
    configure:2548: checking lex output file root
    configure:2569: checking whether yytext is a pointer
    configure:2588: gcc -o conftest -g -O2 conftest.c -lfl 1>&5
    configure:2612: checking for working const
    configure:2666: gcc -c -g -O2 conftest.c 1>&5
    configure:2691: checking flex version
    configure:2707: checking whether byte ordering is bigendian
    configure:2733: gcc -o conftest -g -O2 conftest.c 1>&5
    configure:2945: checking whether to force non-PIC code in shared modules
    configure:3069: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:3089: checking for pthreads_cflags
    configure:3159: checking for pthreads_lib
    configure:3297: checking for AOLserver support
    configure:3538: checking for Apache 1.x module support via DSO through APXS
    configure:4676: checking for mod_charset compatibility option
    configure:4743: checking for member fd in BUFF *
    configure:4762: gcc -c -g -O2 -no-cpp-precomp -I/usr/include/httpd conftest.c 1>&5
    In file included from /usr/include/httpd/ap_config.h:1129,
    from /usr/include/httpd/httpd.h:29,
    from configure:4756:
    /usr/include/httpd/hsregex.h:22:1: warning: "ap_private_extern" redefined
    In file included from /usr/include/httpd/httpd.h:29,
    from configure:4756:
    /usr/include/httpd/ap_config.h:1025:1: warning: this is the location of the previous definition
    configure:4813: checking for Apache 2.0 filter-module support via DSO through APXS
    configure:5635: checking for Apache 2.0 handler-module support via DSO through APXS
    configure:6458: checking for Caudium support
    configure:6788: checking for CLI build
    configure:6851: checking for embedded SAPI library support
    configure:7054: che
    ## ---------------- ##
    ## Cache variables. ##
    ## ---------------- ##

    ac_cv_build=powerpc-apple-darwin8.10.1
    ac_cv_build_alias=powerpc-apple-darwin8.10.1
    ac_cv_c_compiler_gnu=yes
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    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=
    ac_cv_env_CXXFLAGS_value=
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_exeext=
    ac_cv_host=powerpc-apple-darwin8.10.1
    ac_cv_host_alias=powerpc-apple-darwin8.10.1
    ac_cv_objext=o
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_egrep='grep -E'
    lt_cv_path_SED=/usr/bin/sed

    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##

    ALLOCA=''
    AWK=''
    CC='gcc'
    CFLAGS='-g'
    CONFIGURE_COMMAND=' './configure''
    CPP=''
    CPPFLAGS=''
    CXX=''
    CXXCPP=''
    CXXFLAGS=''
    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=''
    EXTRA_INCLUDES=''
    EXTRA_LDFLAGS=''
    EXTRA_LDFLAGS_PROGRAM=''
    EXTRA_LIBS=''
    FRIBIDI_CONFIG=''
    INCLUDES=''
    INCLUDE_PATH=''
    INLINE_CFLAGS=''
    INSTALL_IT=''
    KRB5_CONFIG=''
    LDFLAGS=''
    LEX=''
    LEXLIB=''
    LEX_OUTPUT_ROOT=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LN_S=''
    LTLIBOBJS=''
    MYSQL_INCLUDE=''
    MYSQL_LIBS=''
    MYSQL_MODULE_TYPE=''
    NATIVE_RPATHS=''
    OBJEXT='o'
    OCI8_DIR=''
    OCI8_SHARED_LIBADD=''
    OCI8_VERSION=''
    ODBC_INCLUDE=''
    ODBC_LFLAGS=''
    ODBC_LIBS=''
    ODBC_TYPE=''
    OPENSSL_INCDIR_OPT=''
    ORACLE_DIR=''
    ORACLE_SHARED_LIBADD=''
    ORACLE_VERSION=''
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PEAR_INSTALLDIR=''
    PHP_LDFLAGS=''
    PHP_LIBS=''
    PHP_VERSION='4.4.7'
    PKG_CONFIG=''
    PROG_SENDMAIL=''
    PTHREAD_CC=''
    PTHREAD_CFLAGS=''
    PTHREAD_LIBS=''
    RANLIB=''
    RE2C=''
    SHELL='/bin/sh'
    SHLIB_SUFFIX_NAME=''
    SNMP_CONFIG=''
    STRIP=''
    THREADED=''
    YACC=''
    ZEND_EXTRA_LIBS=''
    abs_builddir='/users/mea/Desktop/stufftobuild/php-4.4.7'
    abs_srcdir='/users/mea/Desktop/stufftobuild/php-4.4.7'
    ac_ct_CC='gcc'
    ac_ct_CXX=''
    ac_ct_RANLIB=''
    ac_ct_STRIP=''
    bindir='${exec_prefix}/bin'
    build='powerpc-apple-darwin8.10.1'
    build_alias=''
    build_cpu='powerpc'
    build_os='darwin8.10.1'
    build_vendor='apple'
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host='powerpc-apple-darwin8.10.1'
    host_alias='powerpc-apple-darwin8.10.1'
    host_cpu='powerpc'
    host_os='darwin8.10.1'
    host_vendor='apple'
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    oldincludedir='/usr/include'
    php_abs_top_builddir='/users/mea/Desktop/stufftobuild/php-4.4.7'
    php_abs_top_srcdir='/users/mea/Desktop/stufftobuild/php-4.4.7'
    prefix='NONE'
    program_transform_name='s,x,x,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''
    yazconfig=''

    configure: caught signal 15
    configure: exit 1
    checking for ANSI C header files
    configure:13958: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14025: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:14020: warning: incompatible implicit declaration of built-in function 'exit'
    configure:14053: checking for dirent.h that defines DIR
    configure:14066: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:14091: checking for opendir in -ldir
    configure:14110: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -ldir -lm 1>&5
    /usr/bin/ld: can't locate file for: -ldir
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 14099 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char opendir();

    int main() {
    opendir()
    ; return 0; }
    configure:14176: checking for fclose declaration
    configure:14185: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:14262: checking for inttypes.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for stdint.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for dirent.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for ApplicationServices/ApplicationServices.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/param.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/types.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/time.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for netinet/in.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for alloca.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for arpa/inet.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for arpa/nameser.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for assert.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for crypt.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14268:19: error: crypt.h: No such file or directory
    configure: failed program was:
    #line 14267 "configure"
    #include "confdefs.h"
    #include <crypt.h>
    configure:14262: checking for fcntl.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for grp.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for ieeefp.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14268:20: error: ieeefp.h: No such file or directory
    configure: failed program was:
    #line 14267 "configure"
    #include "confdefs.h"
    #include <ieeefp.h>
    configure:14262: checking for langinfo.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for limits.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for locale.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for monetary.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for mach-o/dyld.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for netdb.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for pwd.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for resolv.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for signal.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for stdarg.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for stdlib.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for string.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for syslog.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sysexits.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/file.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/mman.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/mount.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/poll.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/resource.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/select.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/socket.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/statfs.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14268:24: error: sys/statfs.h: No such file or directory
    configure: failed program was:
    #line 14267 "configure"
    #include "confdefs.h"
    #include <sys/statfs.h>
    configure:14262: checking for sys/statvfs.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/vfs.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14268:21: error: sys/vfs.h: No such file or directory
    configure: failed program was:
    #line 14267 "configure"
    #include "confdefs.h"
    #include <sys/vfs.h>
    configure:14262: checking for sys/sysexits.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14268:26: error: sys/sysexits.h: No such file or directory
    configure: failed program was:
    #line 14267 "configure"
    #include "confdefs.h"
    #include <sys/sysexits.h>
    configure:14262: checking for sys/varargs.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14268:25: error: sys/varargs.h: No such file or directory
    configure: failed program was:
    #line 14267 "configure"
    #include "confdefs.h"
    #include <sys/varargs.h>
    configure:14262: checking for sys/wait.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for unistd.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for unix.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14268:18: error: unix.h: No such file or directory
    configure: failed program was:
    #line 14267 "configure"
    #include "confdefs.h"
    #include <unix.h>
    configure:14262: checking for utime.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/utsname.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for sys/ipc.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14262: checking for dlfcn.h
    configure:14272: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:14301: checking for fopencookie
    configure:14329: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    /usr/bin/ld: Undefined symbols:
    _fopencookie
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 14306 "configure"
    #include "confdefs.h"
    /* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char fopencookie(); below. */
    #include
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char fopencookie();

    int main() {

    /* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS. Some functions are actually named
    something starting with __ and the normal name is an alias. */
    #if defined (__stub_fopencookie) || defined (__stub___fopencookie)
    choke me
    #else
    fopencookie();
    #endif

    ; return 0; }
    configure:14473: checking for broken getcwd
    configure:14488: checking for broken libc stdio
    configure:14549: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:14533: warning: incompatible implicit declaration of built-in function 'exit'
    configure:14577: checking whether struct tm is in sys/time.h or time.h
    configure:14590: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:14611: checking for tm_zone in struct tm
    configure:14624: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:14683: checking for tm_gmtoff in struct tm
    configure:14696: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:14719: checking for struct flock
    configure:14734: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:14761: checking for socklen_t
    configure:14778: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:14804: checking size of intmax_t
    configure:14823: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:14817: warning: incompatible implicit declaration of built-in function 'exit'
    configure:14818: error: 'intmax_t' undeclared (first use in this function)
    configure:14818: error: (Each undeclared identifier is reported only once
    configure:14818: error: for each function it appears in.)
    configure: failed program was:
    #line 14812 "configure"
    #include "confdefs.h"
    #include <stdio.h>
    main()
    {
    FILE *f=fopen("conftestval", "w");
    if (!f) exit(1);
    fprintf(f, "%d\n", sizeof(intmax_t));
    exit(0);
    }
    configure:14843: checking size of size_t
    configure:14862: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:14856: warning: incompatible implicit declaration of built-in function 'exit'
    configure:14882: checking size of ssize_t
    configure:14901: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:14895: warning: incompatible implicit declaration of built-in function 'exit'
    configure:14896: error: 'ssize_t' undeclared (first use in this function)
    configure:14896: error: (Each undeclared identifier is reported only once
    configure:14896: error: for each function it appears in.)
    configure: failed program was:
    #line 14890 "configure"
    #include "confdefs.h"
    #include <stdio.h>
    main()
    {
    FILE *f=fopen("conftestval", "w");
    if (!f) exit(1);
    fprintf(f, "%d\n", sizeof(ssize_t));
    exit(0);
    }
    configure:14921: checking size of ptrdiff_t
    configure:14940: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:14934: warning: incompatible implicit declaration of built-in function 'exit'
    configure:14935: error: 'ptrdiff_t' undeclared (first use in this function)
    configure:14935: error: (Each undeclared identifier is reported only once
    configure:14935: error: for each function it appears in.)
    configure: failed program was:
    #line 14929 "configure"
    #include "confdefs.h"
    #include <stdio.h>
    main()
    {
    FILE *f=fopen("conftestval", "w");
    if (!f) exit(1);
    fprintf(f, "%d\n", sizeof(ptrdiff_t));
    exit(0);
    }
    configure:14960: checking size of long long
    configure:14979: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:14973: warning: incompatible implicit declaration of built-in function 'exit'
    configure:14999: checking size of long long int
    configure:15018: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:15012: warning: incompatible implicit declaration of built-in function 'exit'
    configure:15038: checking size of long
    configure:15057: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:15051: warning: incompatible implicit declaration of built-in function 'exit'
    configure:15077: checking size of int
    configure:15096: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:15090: warning: incompatible implicit declaration of built-in function 'exit'
    configure:15117: checking for st_blksize in struct stat
    configure:15130: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:15152: checking for st_blocks in struct stat
    configure:15165: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:15192: checking for st_rdev in struct stat
    configure:15205: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:15227: checking for size_t
    configure:15260: checking for uid_t in sys/types.h
    configure:15295: checking for struct sockaddr_storage
    configure:15308: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:15340: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:15353: checking for IPv6 support
    configure:15367: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15385: checking for vprintf
    configure:15413: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15397: warning: conflicting types for built-in function 'vprintf'
    configure:15557: checking for alphasort
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for asctime_r
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for chroot
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for ctime_r
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for cuserid
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    /usr/bin/ld: Undefined symbols:
    _cuserid
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 15562 "configure"
    #include "confdefs.h"
    /* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char cuserid(); below. */
    #include
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char cuserid();

    int main() {

    /* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS. Some functions are actually named
    something starting with __ and the normal name is an alias. */
    #if defined (__stub_cuserid) || defined (__stub___cuserid)
    choke me
    #else
    cuserid();
    #endif

    ; return 0; }
    configure:15557: checking for crypt
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for flock
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for ftok
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for funopen
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for gai_strerror
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for gcvt
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for getlogin
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for getprotobyname
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for getprotobynumber
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for getservbyname
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for getservbyport
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for getrusage
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for gettimeofday
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for gmtime_r
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for isascii
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15569: warning: conflicting types for built-in function 'isascii'
    configure:15557: checking for link
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for localtime_r
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for lockf
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for lrand48
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for memcpy
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15569: warning: conflicting types for built-in function 'memcpy'
    configure:15557: checking for memmove
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15569: warning: conflicting types for built-in function 'memmove'
    configure:15557: checking for mkstemp
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for mmap
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for nl_langinfo
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for perror
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for poll
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for putenv
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for realpath
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for random
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for rand_r
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for regcomp
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for res_search
    configure:15557: checking for scandir
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for setitimer
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for setlocale
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for localeconv
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for setsockopt
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for setvbuf
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for shutdown
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for sin
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15569: warning: conflicting types for built-in function 'sin'
    configure:15557: checking for snprintf
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15569: warning: conflicting types for built-in function 'snprintf'
    configure:15557: checking for srand48
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for srandom
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for statfs
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for statvfs
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for std_syslog
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    /usr/bin/ld: Undefined symbols:
    _std_syslog
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 15562 "configure"
    #include "confdefs.h"
    /* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char std_syslog(); below. */
    #include
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char std_syslog();

    int main() {

    /* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS. Some functions are actually named
    something starting with __ and the normal name is an alias. */
    #if defined (__stub_std_syslog) || defined (__stub___std_syslog)
    choke me
    #else
    std_syslog();
    #endif

    ; return 0; }
    configure:15557: checking for strcasecmp
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for strcoll
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for strdup
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15569: warning: conflicting types for built-in function 'strdup'
    configure:15557: checking for strerror
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for strftime
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15569: warning: conflicting types for built-in function 'strftime'
    configure:15557: checking for strstr
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15569: warning: conflicting types for built-in function 'strstr'
    configure:15557: checking for strtok_r
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for symlink
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for tempnam
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for tzset
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for unsetenv
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for usleep
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for utime
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15557: checking for vsnprintf
    configure:15585: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15569: warning: conflicting types for built-in function 'vsnprintf'
    configure:15611: checking for getaddrinfo
    configure:15623: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15669: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:15639: warning: incompatible implicit declaration of built-in function 'memset'
    configure:15643: warning: incompatible implicit declaration of built-in function 'exit'
    configure:15647: warning: incompatible implicit declaration of built-in function 'exit'
    configure:15655: warning: incompatible implicit declaration of built-in function 'exit'
    configure:15659: warning: incompatible implicit declaration of built-in function 'exit'
    configure:15664: warning: incompatible implicit declaration of built-in function 'exit'
    configure:15701: checking for strlcat
    configure:15729: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15701: checking for strlcpy
    configure:15729: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15701: checking for getopt
    configure:15729: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:15756: checking whether utime accepts a null argument
    configure:15777: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:15771: warning: incompatible implicit declaration of built-in function 'exit'
    configure:15803: checking for working alloca.h
    configure:15836: checking for alloca
    configure:15869: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:16036: checking for declared timezone
    configure:16057: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:16083: checking for type of reentrant time-related functions
    configure:16112: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:16104: warning: assignment makes integer from pointer without a cast
    configure:16105: error: too many arguments to function 'asctime_r'
    configure: failed program was:
    #line 16094 "configure"
    #include "confdefs.h"

    #include <time.h>

    main() {
    char buf[27];
    struct tm t;
    time_t old = 0;
    int r, s;

    s = gmtime_r(&old, &t);
    r = (int) asctime_r(&t, buf, 26);
    if (r == s && s == 0) return (0);
    return (1);
    }

    configure:16142: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:16135: error: too many arguments to function 'asctime_r'
    configure: failed program was:
    #line 16126 "configure"
    #include "confdefs.h"

    #include <time.h>
    main() {
    struct tm t, *s;
    time_t old = 0;
    char buf[27], *p;

    s = gmtime_r(&old, &t);
    p = asctime_r(&t, buf, 26);
    if (p == buf && s == &t) return (0);
    return (1);
    }

    configure:16180: checking for readdir_r
    configure:16208: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure:16230: checking for type of readdir_r
    configure:16266: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lm 1>&5
    configure: In function 'main':
    configure:16258: warning: incompatible implicit declaration of built-in function 'exit'
    configure:16384: checking whether to include debugging symbols
    configure:16417: checking layout of installed files
    configure:16451: checking path to configuration file
    configure:16487: checking directory to be scanned for configuration files
    configure:16517: checking whether to enable safe mode by default
    configure:16552: checking for safe mode exec dir
    configure:16593: checking whether to enable PHP's own SIGCHLD handler
    configure:16630: checking whether to enable magic quotes by default
    configure:16667: checking whether to enable runpaths
    configure:16692: checking whether to explicitly link against libgcc
    configure:16771: checking whether to enable short tags by default
    configure:16808: checking whether to enable dmalloc
    configure:16896: checking whether to enable IPv6 support
    configure:16926: checking whether to enable versioning
    configure:16978: checking for OpenSSL support
    configure:17024: checking for Kerberos support
    configure:17323: checking for krb5-config
    configure:17682: checking for pkg-config
    configure:17870: checking for OpenSSL version
    configure:18010: checking for CRYPTO_free in -lcrypto
    configure:18029: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5
    configure:18169: checking for SSL_CTX_set_ssl_version in -lssl
    configure:18188: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcrypto 1>&5
    configure:18315: checking for PCRE support
    configure:19063: checking for ZLIB support
    configure:19109: checking if the location of ZLIB install directory is defined
    configure:19503: checking for gzgets in -lz
    configure:19522: gcc -o conftest -g -O2 -no-cpp-precomp conftest.c -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5
    configure:19660: checking whether to enable bc style precision math functions
    configure:19995: checking for BZip2 support
    configure:20594: checking whether to enable calendar conversion support
    configure:20914: checking for cpdflib support
    configure:22134: checking for CRACKlib support
    configure:22599: checking whether to enable ctype functions
    configure:22915: checking for CURL support
    configure:22982: checking for cURL 7.9.8 or greater
    configure:23002: checking for SSL support in libcurl
    configure:23012: checking for SSL library used
    configure:23026: checking for openssl/crypto.h
    configure:23036: gcc -E -no-cpp-precomp conftest.c >/dev/null 2>conftest.out
    configure:23403: checking for curl_easy_perform in -lcurl
    configure:23422: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/usr/lib/lib -L/usr/lib/lib -lcurl -lssl -lcrypto -lz conftest.c -lcurl -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:23541: checking for curl_version_info in -lcurl
    configure:23560: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/usr/lib/lib -L/usr/lib/lib -lcurl -lssl -lcrypto -lz conftest.c -lcurl -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:23868: checking for cyrus imap support
    configure:24834: checking for xDBM support
    configure:25506: checking whether to enable DBA
    configure:25831: checking for GDBM support
    configure:26136: checking for NDBM support
    configure:26438: checking for Berkeley DB4 support
    configure:26761: checking for Berkeley DB3 support
    configure:27084: checking for Berkeley DB2 support
    configure:27404: checking for DBM support
    configure:27745: checking for CDB support
    configure:27799: checking for INI File support
    configure:27853: checking for FlatFile support
    configure:27868: checking whether to enable DBA interface
    configure:28164: checking whether to enable dbase support
    configure:28480: checking whether to enable dbx support
    configure:28792: checking whether to enable direct I/O support
    configure:29106: checking for DOM support
    configure:29820: checking for DOM XSLT support
    configure:29845: checking for DOM EXSLT support
    configure:30488: checking whether to enable EXIF (metadata from images) support
    configure:30804: checking for FrontBase SQL92 (fbsql) support
    configure:31279: checking for FDF support
    configure:32044: checking whether to enable the bundled filePro support
    configure:32360: checking for FriBidi support
    configure:32856: checking whether to enable FTP support
    configure:33173: checking for GD support
    configure:33220: checking for the location of libjpeg
    configure:33247: checking for the location of libpng
    configure:33300: checking for the location of libXpm
    configure:33325: checking for FreeType 1.x support
    configure:33350: checking for FreeType 2
    configure:33375: checking for T1lib support
    configure:33400: checking whether to enable truetype string function in GD
    configure:33425: checking whether to enable JIS-mapped Japanese font support in GD
    configure:33479: checking for fabsf
    configure:33507: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib conftest.c -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:33491: warning: conflicting types for built-in function 'fabsf'
    configure:33479: checking for floorf
    configure:33507: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib conftest.c -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:33491: warning: conflicting types for built-in function 'floorf'
    configure:33639: checking for jpeg_read_header in -ljpeg
    configure:33658: gcc -o conftest -g -O2 -no-cpp-precomp -L/opt/local/lib -L/opt/local/lib -L/usr/lib/lib -L/usr/lib/lib conftest.c -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:33922: checking for png_write_image in -lpng
    configure:33941: gcc -o conftest -g -O2 -no-cpp-precomp -L/opt/local/lib -L/opt/local/lib -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -lz conftest.c -lpng -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:40625: checking for GNU gettext support
    configure:41354: checking for GNU MP support
    configure:42074: checking for hwapi support
    configure:42789: checking for Hyperwave support
    configure:43085: checking for iconv support
    configure:44215: checking for IMAP support
    configure:44261: checking for IMAP Kerberos support
    configure:44286: checking for IMAP SSL support
    configure:46412: checking for Informix support
    configure:47065: checking for Ingres II support
    configure:47818: checking for InterBase support
    configure:48546: checking for Java support
    configure:49383: checking for LDAP support
    configure:51700: checking for 3 arg ldap_set_rebind_proc
    configure:51712: gcc -c -g -O2 -no-cpp-precomp -I/usr/include conftest.c 1>&5
    configure:51735: checking for ldap_parse_result
    configure:51763: gcc -o conftest -g -O2 -no-cpp-precomp -I/usr/include -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:51735: checking for ldap_parse_reference
    configure:51763: gcc -o conftest -g -O2 -no-cpp-precomp -I/usr/include -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:51735: checking for ldap_start_tls_s
    configure:51763: gcc -o conftest -g -O2 -no-cpp-precomp -I/usr/include -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:51789: checking for ldap_bind_s
    configure:51817: gcc -o conftest -g -O2 -no-cpp-precomp -I/usr/include -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:51865: checking whether to enable multibyte string support
    configure:51911: checking whether to enable multibyte regex support
    configure:51936: checking for external libmbfl
    configure:52701: checking for MCAL support
    configure:53151: checking for mcrypt support
    configure:54312: checking for MCVE support
    configure:54358: checking OpenSSL dir for MCVE
    configure:55780: checking for mhash support
    configure:56235: checking whether to include mime_magic support
    configure:56573: checking for MING support
    configure:57293: checking for mnoGoSearch support
    configure:57752: checking for msession support
    configure:58191: checking for mSQL support
    configure:58683: checking for MSSQL support via FreeTDS
    configure:59350: checking for MySQL support
    configure:59396: checking for specified location of the MySQL UNIX socket
    configure:59453: checking for MySQL UNIX socket location
    configure:61158: checking size of char
    configure:61177: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure: In function 'main':
    configure:61171: warning: incompatible implicit declaration of built-in function 'exit'
    configure:61198: checking size of int
    configure:61237: checking size of long
    configure:61276: checking size of long long
    configure:61315: checking for size_t
    configure:61348: checking whether time.h and sys/time.h may both be included
    configure:61362: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:61383: checking for uid_t in sys/types.h
    configure:61418: checking for type ulong
    configure:61437: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure: In function 'main':
    configure:61431: error: 'ulong' undeclared (first use in this function)
    configure:61431: error: (Each undeclared identifier is reported only once
    configure:61431: error: for each function it appears in.)
    configure:61431: error: parse error before 'foo'
    configure:61432: error: 'foo' undeclared (first use in this function)
    configure:61433: warning: incompatible implicit declaration of built-in function 'exit'
    configure: failed program was:
    #line 61426 "configure"
    #include "confdefs.h"
    #include <stdio.h>
    #include <sys/types.h>
    main()
    {
    ulong foo;
    foo++;
    exit(0);
    }
    configure:61461: checking for type uchar
    configure:61480: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure: In function 'main':
    configure:61474: error: 'uchar' undeclared (first use in this function)
    configure:61474: error: (Each undeclared identifier is reported only once
    configure:61474: error: for each function it appears in.)
    configure:61474: error: parse error before 'foo'
    configure:61475: error: 'foo' undeclared (first use in this function)
    configure:61476: warning: incompatible implicit declaration of built-in function 'exit'
    configure: failed program was:
    #line 61469 "configure"
    #include "confdefs.h"
    #include <stdio.h>
    #include <sys/types.h>
    main()
    {
    uchar foo;
    foo++;
    exit(0);
    }
    configure:61504: checking for type uint
    configure:61523: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure: In function 'main':
    configure:61519: warning: incompatible implicit declaration of built-in function 'exit'
    configure:61547: checking for type ushort
    configure:61566: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure: In function 'main':
    configure:61562: warning: incompatible implicit declaration of built-in function 'exit'
    configure:61590: checking for int8
    configure:61620: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure: In function 'main':
    configure:61614: error: 'int8' undeclared (first use in this function)
    configure:61614: error: (Each undeclared identifier is reported only once
    configure:61614: error: for each function it appears in.)
    configure:61614: error: parse error before 'i'
    configure: failed program was:
    #line 61598 "configure"
    #include "confdefs.h"

    #ifdef HAVE_STDLIB_H
    #include <stdlib.h>
    #endif

    #ifdef HAVE_STDDEF_H
    #include <stddef.h>
    #endif

    #ifdef HAVE_SYS_TYPES_H
    #include <sys/types.h>
    #endif

    int main()
    {
    int8 i;
    return 0;
    }

    configure:61646: checking base type of last arg to accept
    configure:61674: g++ -c -no-cpp-precomp conftest.C 1>&5
    configure:61723: checking return type of qsort
    configure:61741: gcc -c -g -O2 -no-cpp-precomp conftest.c 1>&5
    configure:62153: checking for mysql_close in -lmysqlclient
    configure:62172: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/mysql -L/usr/lib/mysql -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:62753: checking for ncurses support
    configure:63779: checking for Oracle (OCI8) support using ORACLE_HOME installation
    configure:63826: checking for Oracle (OCI8) support using Oracle Instant Client
    configure:66392: checking for Adabas support
    configure:66585: checking for SAP DB support
    configure:66715: checking for Solid support
    configure:66859: checking for IBM DB2 support
    configure:66931: checking for Empress support
    configure:67001: checking for Empress local access support
    configure:67087: checking for Birdstep support
    configure:67197: checking for a custom ODBC support
    configure:67231: checking for iODBC support
    configure:67373: checking for Easysoft ODBC-ODBC Bridge support
    configure:67433: checking for unixODBC support
    configure:67493: checking for DBMaker support
    configure:68054: checking for Oracle-ORACLE support
    configure:73128: checking whether to enable user-space object overloading support
    configure:73445: checking whether to enable pcntl support
    configure:73936: checking for PDFlib support
    configure:74063: checking for the location of libtiff
    configure:75562: checking for Verisign Payflow Pro support
    configure:76318: checking for PostgreSQL support
    configure:77750: checking whether to enable POSIX-like functions
    configure:78064: checking for seteuid
    configure:78092: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:78064: checking for setegid
    configure:78092: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:78064: checking for setsid
    configure:78092: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:78064: checking for getsid
    configure:78092: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:78064: checking for setpgid
    configure:78092: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:78064: checking for getpgid
    configure:78092: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:78064: checking for ctermid
    configure:78092: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:78064: checking for mkfifo
    configure:78092: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:78064: checking for getrlimit
    configure:78092: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:78064: checking for getlogin
    configure:78064: checking for getgroups
    configure:78092: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:78122: checking for PSPELL support
    configure:78818: checking for QtDOM support
    configure:79477: checking for libedit readline replacement
    configure:79524: checking for readline support
    configure:81287: checking for recode support
    configure:82062: checking whether to enable PHP sessions
    configure:82108: checking for mm support
    configure:82133: checking whether pwrite works
    configure:82166: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure: In function 'main':
    configure:82156: warning: incompatible implicit declaration of built-in function 'exit'
    configure: failed program was:
    #line 82145 "configure"
    #include "confdefs.h"

    #include <sys/types.h>
    #include <sys/stat.h>
    #include <fcntl.h>
    #include <unistd.h>
    #include <errno.h>

    main() {
    int fd = open("conftest_in", O_WRONLY|O_CREAT, 0600);

    if (fd < 0) exit(1);
    if (pwrite(fd, "text", 4, 0) != 4) exit(1);
    /* Linux glibc breakage until 2.2.5 */
    if (pwrite(fd, "text", 4, -1) != -1 || errno != EINVAL) exit(1);
    exit(0);
    }

    configure:82212: gcc -o conftest -g -O2 -no-cpp-precomp -L/usr/lib/lib -L/usr/lib/lib -L/opt/local/lib -L/opt/local/lib -L/usr/lib/mysql -L/usr/lib/mysql conftest.c -lmysqlclient -lldap -llber -lpng -lz -ljpeg -lcurl -lz -lssl -lcrypto -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
    configure:82198: error: parse error before 'off64_t'
    configure: In function 'main':
    configure:82202: warning: incompatible implicit declaration of built-in function 'exit'
    configure: failed program was:
    #line 82191 "configure"
    #include "confdefs.h"

    #include <sys/types.h>
    #include <sys/stat.h>
    #include <fcntl.h>
    #include <unistd.h>
    #include <errno.h>
    ssize_t pwrite(int, void *, size_t, off64_t);
    main() {
    int fd = open("conftest_in", O_WRONLY|O_CREAT, 0600);

    if (fd < 0) exit(1);
    if (pwrite(fd, "text", 4, 0) != 4) exit(1);
    /* Linux glibc bre

  • Richard
    13 Oct 2007

    Sorry for the late reply, but did you do a "make clean" between the different configure actions ?

    Can you mail me the config.log from your last session mail it to info#richard,net (replace the faulty chars)

    Your config is not really what I have but I will give it a try.

Reply

You must log in to post.