Cant install php5-mysql on FreeBSD 7.x

stardot

Verified User
Joined
Nov 25, 2008
Messages
18
Just installed Directadmin, and after resolving other problems with the overall installation , I seem to have a problem with installing the PHP5 MySQL extension.

Here is my configure.php5 file :


Code:
#!/bin/sh
./configure \
        --with-apxs2 \
        --with-curl=/usr/local/lib \
        --with-gd \
        --enable-gd-native-ttf \
        --with-ttf \
        --with-gettext \
        --with-jpeg-dir=/usr/local/lib \
        --with-freetype-dir=/usr/local/lib \
        --with-kerberos \
        --with-openssl \
        --with-mcrypt \
        --with-mhash \
        --with-mysql-dir=/usr/local/mysql \
        --with-mysqli-dir=/usr/local/mysql/bin/mysql_config \
        --with-pdo-mysql-dir=/usr/local/mysql \
        --with-pear \
        --with-png-dir=/usr/local/lib \
        --with-zlib \
        --with-zlib-dir=/usr/local/lib \
        --enable-zip \
        --with-iconv=/usr/local \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-magic-quotes \
        --enable-sockets \
        --enable-mbstring

Note i added "-dir" to mysql, mysqli and pdo-mysql, after searching these forums. Php installs now with ./build clean ; ./build php n, however the MySQL extension isnt showing up in my phpinfo.

Here is my config.log for php (before adding the -dir flag as mentioned) :

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

configure:2153: checking for Cygwin environment
configure:2169: cc -c   conftest.c 1>&5
configure: In function 'main':
configure:2165: error: '__CYGWIN32__' undeclared (first use in this function)
configure:2165: error: (Each undeclared identifier is reported only once
configure:2165: error: for each function it appears in.)
configure: failed program was:
#line 2158 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:2186: checking for mingw32 environment
configure:2198: cc -c   conftest.c 1>&5
configure: In function 'main':
configure:2194: error: '__MINGW32__' undeclared (first use in this function)
configure:2194: error: (Each undeclared identifier is reported only once
configure:2194: error: for each function it appears in.)
configure: failed program was:
#line 2191 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:2217: checking for egrep
configure:2232: checking for a sed that does not truncate output
configure:2382: checking host system type
configure:2403: checking target system type
configure:2515: checking for gcc
configure:2628: checking whether the C compiler (gcc  ) works
configure:2644: gcc -o conftest    conftest.c  1>&5
configure:2670: checking whether the C compiler (gcc  ) is a cross-compiler
configure:2675: checking whether we are using GNU C
configure:2684: gcc -E conftest.c
configure:2703: checking whether gcc accepts -g
configure:2735: checking how to run the C preprocessor
configure:2756: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2817: checking for icc
configure:2839: checking whether gcc and cc understand -c and -o together
configure:2854: gcc -c conftest.c -o conftest.o 1>&5
configure:2855: gcc -c conftest.c -o conftest.o 1>&5
configure:2860: cc -c conftest.c 1>&5
configure:2862: cc -c conftest.c -o conftest.o 1>&5
configure:2863: cc -c conftest.c -o conftest.o 1>&5
configure:2890: checking how to run the C preprocessor
configure:2970: checking for AIX
configure:2994: checking whether ln -s works
configure:3019: checking for system library directory
configure:3045: checking whether to enable runpaths
configure:3069: checking if compiler supports -R
configure:3084: gcc -o conftest -g -O2   conftest.c -R /usr/lib  1>&5
configure:3146: checking for re2c
configure:3206: checking for gawk
configure:3206: checking for nawk
configure:3247: checking if nawk is broken
configure:3266: checking for bison
configure:3306: checking for bison version
configure:3346: checking for flex
configure:3380: checking for yywrap in -lfl
configure:3399: gcc -o conftest -g -O2   conftest.c -lfl   1>&5
configure:3423: checking lex output file root
configure:3444: checking whether yytext is a pointer
configure:3463: gcc -o conftest -g -O2   conftest.c  -lfl 1>&5
configure:3487: checking for working const
configure:3541: gcc -c -g -O2  conftest.c 1>&5
configure:3567: checking for flex version
configure:3831: checking whether to force non-PIC code in shared modules
configure:3859: checking whether /dev/urandom exists
configure:3938: gcc -o conftest -g -O2   conftest.c  1>&5
/var/tmp//ccUfWFSZ.o(.text+0x51): In function `main':
/usr/local/directadmin/custombuild/php-5.2.6/configure:3934: undefined reference to `pthread_create'
configure: failed program was:
#line 3920 "configure"
#include "confdefs.h"

#include <pthread.h>
#include <stddef.h>

void *thread_routine(void *data) {
    return data;
}

int main() {
    pthread_t thd;
    pthread_mutexattr_t mattr;
    int data = 1;
    pthread_mutexattr_init(&mattr);
    return pthread_create(&thd, NULL, thread_routine, &data);
}
configure:3958: checking for pthreads_cflags
configure:3998: gcc -o conftest -g -O2 -kthread   conftest.c  1>&5
gcc: unrecognized option '-kthread'
/var/tmp//ccGLLKF4.o(.text+0x51): In function `main':
/usr/local/directadmin/custombuild/php-5.2.6/configure:3994: undefined reference to `pthread_create'
configure: failed program was:
#line 3980 "configure"
#include "confdefs.h"

#include <pthread.h>
#include <stddef.h>

void *thread_routine(void *data) {
    return data;
}
int main() {
    pthread_t thd;
    pthread_mutexattr_t mattr;
    int data = 1;
    pthread_mutexattr_init(&mattr);
    return pthread_create(&thd, NULL, thread_routine, &data);
}
configure:3998: gcc -o conftest -g -O2 -pthread   conftest.c  1>&5
configure:4028: checking for pthreads_lib
configure:4202: checking for AOLserver support
configure:4459: checking for Apache 1.x module support via DSO through APXS
configure:4782: checking for Apache 1.x module support
configure:5615: checking whether to enable Apache charset compatibility option
configure:5788: checking for Apache 2.0 filter-module support via DSO through APXS
configure:6636: checking for Apache 2.0 handler-module support via DSO through APXS
configure:7485: checking for Apache 1.x (hooks) module support via DSO through APXS
configure:7808: checking for Apache 1.x (hooks) module support
configure:8641: checking whether to enable Apache charset compatibility option
configure:8815: checking for Caudium support
configure:9166: checking for CLI build
configure:9212: checking for Continuity support
configure:9489: checking for embedded SAPI library support
configure:9706: checking for Zeus ISAPI support
configure:9955: checking for Milter support
configure:10239: checking for NSAPI support
configure:10591: checking for PHTTPD support
configure:10837: checking for Pi3Web support
configure:11204: checking whether Roxen module is build using ZTS
configure:11228: checking for Roxen/Pike support
configure:11506: checking for thttpd
configure:11767: checking for TUX
configure:12013: checking for webjames
configure:12641: checking for chosen SAPI module
configure:12699: checking for sendmail
configure:12738: checking whether system uses EBCDIC
configure:12757: gcc -o conftest -g -O2   conftest.c  1>&5
configure: failed program was:
#line 12749 "configure"
#include "confdefs.h"

int main(void) {
  return (unsigned char)'A' != (unsigned char)0xC1;
}

configure:12785: checking whether byte ordering is bigendian
configure:12811: gcc -o conftest -g -O2   conftest.c  1>&5
configure: failed program was:
#line 12795 "configure"
#include "confdefs.h"

int main(void)
{
  short one = 1;
  char *cp = (char *)&one;

  if (*cp == 0) {
    return(0);
  } else {
    return(1);
  }
}

configure:12837: checking whether writing to stdout works
configure:12866: gcc -o conftest -g -O2   conftest.c  1>&5
configure:12941: checking for socket
configure:12969: gcc -o conftest -g -O2   conftest.c  1>&5
configure:13198: checking for socketpair
configure:13226: gcc -o conftest -g -O2   conftest.c  1>&5
configure:13455: checking for htonl
configure:13483: gcc -o conftest -g -O2   conftest.c  1>&5
configure:13712: checking for gethostname
configure:13740: gcc -o conftest -g -O2   conftest.c  1>&5
configure:13969: checking for gethostbyaddr
configure:13997: gcc -o conftest -g -O2   conftest.c  1>&5
configure:14226: checking for yp_get_default_domain
configure:14254: gcc -o conftest -g -O2   conftest.c  1>&5
configure:14484: checking for dlopen
configure:14512: gcc -o conftest -g -O2   conftest.c  1>&5
configure:14742: checking for sin in -lm
configure:14761: gcc -o conftest -g -O2   conftest.c -lm   1>&5
configure:14754: warning: conflicting types for built-in function 'sin'
configure:14795: checking for res_search
configure:14823: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:15331: checking for inet_aton
configure:15359: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:15727: checking for dn_skipname
configure:15755: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp//ccJcgQ26.o(.text+0x12): In function `main':
/usr/local/directadmin/custombuild/php-5.2.6/configure:15749: undefined reference to `dn_skipname'
configure: failed program was:
#line 15732 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char dn_skipname(); below.  */
#include <assert.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 dn_skipname();

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_dn_skipname) || defined (__stub___dn_skipname)
choke me
#else
dn_skipname();
#endif

; return 0; }
configure:15773: checking for __dn_skipname
configure:15801: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:16121: checking for ANSI C header files
configure:16134: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16201: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure: In function 'main':
configure:16196: warning: incompatible implicit declaration of built-in function 'exit'
configure:16229: checking for dirent.h that defines DIR
configure:16242: gcc -c -g -O2  conftest.c 1>&5
configure:16267: checking for opendir in -ldir
configure:16286: gcc -o conftest -g -O2   conftest.c -ldir  -lm  1>&5
/usr/bin/ld: cannot find -ldir
configure: failed program was:
#line 16275 "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:16409: checking for inttypes.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for stdint.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for dirent.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for ApplicationServices/ApplicationServices.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16415:53: error: ApplicationServices/ApplicationServices.h: No such file or directory
configure: failed program was:
#line 16414 "configure"
#include "confdefs.h"
#include <ApplicationServices/ApplicationServices.h>
configure:16409: checking for sys/param.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/types.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/time.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for netinet/in.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for alloca.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16415:20: error: alloca.h: No such file or directory
configure: failed program was:
#line 16414 "configure"
#include "confdefs.h"
#include <alloca.h>
configure:16409: checking for arpa/inet.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for arpa/nameser.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for assert.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16415:19: error: crypt.h: No such file or directory
configure: failed program was:
#line 16414 "configure"
#include "confdefs.h"
#include <crypt.h>
configure:16409: checking for fcntl.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for grp.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for ieeefp.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for langinfo.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for limits.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for locale.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for monetary.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for mach-o/dyld.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16415:25: error: mach-o/dyld.h: No such file or directory
configure: failed program was:
#line 16414 "configure"
#include "confdefs.h"
#include <mach-o/dyld.h>
configure:16409: checking for netdb.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for pwd.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for resolv.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for signal.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for stdarg.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for stdlib.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for string.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for syslog.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sysexits.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/ioctl.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/file.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/mman.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/mount.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/poll.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/resource.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/socket.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/stat.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/statfs.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16415:24: error: sys/statfs.h: No such file or directory
configure: failed program was:
#line 16414 "configure"
#include "confdefs.h"
#include <sys/statfs.h>
configure:16409: checking for sys/statvfs.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/vfs.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16415:21: error: sys/vfs.h: No such file or directory
configure: failed program was:
#line 16414 "configure"
#include "confdefs.h"
#include <sys/vfs.h>
configure:16409: checking for sys/sysexits.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16415:26: error: sys/sysexits.h: No such file or directory
configure: failed program was:
#line 16414 "configure"
#include "confdefs.h"
#include <sys/sysexits.h>
configure:16409: checking for sys/varargs.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16415:25: error: sys/varargs.h: No such file or directory
configure: failed program was:
#line 16414 "configure"
#include "confdefs.h"
#include <sys/varargs.h>
configure:16409: checking for sys/wait.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/loadavg.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16415:25: error: sys/loadavg.h: No such file or directory
configure: failed program was:
#line 16414 "configure"
#include "confdefs.h"
#include <sys/loadavg.h>
configure:16409: checking for termios.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for unistd.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for unix.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16415:18: error: unix.h: No such file or directory
configure: failed program was:
#line 16414 "configure"
#include "confdefs.h"
#include <unix.h>
configure:16409: checking for utime.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/utsname.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for sys/ipc.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for dlfcn.h
configure:16419: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:16409: checking for assert.h
configure:16448: checking for fopencookie
configure:16476: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp//ccrHscvN.o(.text+0x12): In function `main':
/usr/local/directadmin/custombuild/php-5.2.6/configure:16470: undefined reference to `fopencookie'
configure: failed program was:
#line 16453 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char fopencookie(); below.  */
#include <assert.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 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:16623: checking for broken getcwd
configure:16638: checking for broken libc stdio
configure:16699: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure: In function 'main':
configure:16683: warning: incompatible implicit declaration of built-in function 'exit'
configure:16727: checking whether struct tm is in sys/time.h or time.h
configure:16740: gcc -c -g -O2  conftest.c 1>&5
configure:16761: checking for tm_zone in struct tm
configure:16774: gcc -c -g -O2  conftest.c 1>&5
configure:16833: checking for missing declarations of reentrant functions
configure:16842: gcc -c -g -O2  conftest.c 1>&5
configure:16867: gcc -c -g -O2  conftest.c 1>&5
configure:16892: gcc -c -g -O2  conftest.c 1>&5
configure:16917: gcc -c -g -O2  conftest.c 1>&5
configure:16942: gcc -c -g -O2  conftest.c 1>&5
configure:16963: checking for fclose declaration
configure:16972: gcc -c -g -O2  conftest.c 1>&5
configure:16998: checking for tm_gmtoff in struct tm
configure:17011: gcc -c -g -O2  conftest.c 1>&5
configure:17034: checking for struct flock
configure:17049: gcc -c -g -O2  conftest.c 1>&5
configure:17076: checking for socklen_t
configure:17093: gcc -c -g -O2  conftest.c 1>&5
configure:17119: checking size of size_t
configure:17138: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:17158: checking size of long long
configure:17177: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:17197: checking size of long long int
configure:17216: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:17236: checking size of long
configure:17255: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:17275: checking size of int
configure:17294: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:17316: checking size of intmax_t
configure:17357: gcc -o conftest -g -O2   conftest.c  1>&5
configure:17396: checking size of ssize_t
configure:17437: gcc -o conftest -g -O2   conftest.c  1>&5
configure:17476: checking size of ptrdiff_t
configure:17517: gcc -o conftest -g -O2   conftest.c  1>&5
configure:17556: checking for st_blksize in struct stat
configure:17569: gcc -c -g -O2  conftest.c 1>&5
configure:17591: checking for st_blocks in struct stat
configure:17604: gcc -c -g -O2  conftest.c 1>&5
configure:17631: checking for st_rdev in struct stat
configure:17644: gcc -c -g -O2  conftest.c 1>&5
configure:17666: checking for size_t
configure:17699: checking for uid_t in sys/types.h
configure:17735: checking for struct sockaddr_storage
configure:17748: gcc -c -g -O2  conftest.c 1>&5
configure:17769: checking for field sa_len in struct sockaddr
configure:17783: gcc -c -g -O2  conftest.c 1>&5
configure:17806: checking for IPv6 support
configure:17820: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:17836: checking for vprintf
configure:17864: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:17848: warning: conflicting types for built-in function 'vprintf'
configure:18023: checking for alphasort
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for asctime_r
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for chroot
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for ctime_r
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for cuserid
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp//ccjm3d4F.o(.text+0x12): In function `main':
/usr/local/directadmin/custombuild/php-5.2.6/configure:18045: undefined reference to `cuserid'
configure: failed program was:
#line 18028 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char cuserid(); below.  */
#include <assert.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 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:18023: checking for crypt
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp//ccgCTmdg.o(.text+0x12): In function `main':
/usr/local/directadmin/custombuild/php-5.2.6/configure:18045: undefined reference to `crypt'
configure: failed program was:
#line 18028 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char crypt(); below.  */
#include <assert.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 crypt();

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_crypt) || defined (__stub___crypt)
choke me
#else
crypt();
#endif

; return 0; }
configure:18023: checking for flock
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for ftok
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for funopen
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for gai_strerror
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for gcvt
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp//cctaGonp.o(.text+0x12): In function `main':
/usr/local/directadmin/custombuild/php-5.2.6/configure:18045: undefined reference to `gcvt'
configure: failed program was:
#line 18028 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gcvt(); below.  */
#include <assert.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 gcvt();

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_gcvt) || defined (__stub___gcvt)
choke me
#else
gcvt();
#endif

; return 0; }
configure:18023: checking for getloadavg
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for getlogin
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for getprotobyname
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for getprotobynumber
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for getservbyname
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for getservbyport
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for getrusage
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for gettimeofday
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for gmtime_r
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for getpwnam_r
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for getgrnam_r
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for getpwuid_r
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for grantpt
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for inet_ntoa
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for inet_ntop
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for inet_pton
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for isascii
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18035: warning: conflicting types for built-in function 'isascii'
configure:18023: checking for link
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for localtime_r
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for lockf
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for lchown
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for lrand48
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for memcpy
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18035: warning: conflicting types for built-in function 'memcpy'
configure:18023: checking for memmove
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18035: warning: conflicting types for built-in function 'memmove'
configure:18023: checking for mkstemp
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for mmap
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for nl_langinfo
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for perror
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for poll
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for ptsname
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for putenv
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for realpath
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for random
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for rand_r
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for regcomp
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for res_search
configure:18023: checking for scandir
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for setitimer
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for setlocale
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for localeconv
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for setenv
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for setpgid
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for setsockopt
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for setvbuf
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for shutdown
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for sin
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18035: warning: conflicting types for built-in function 'sin'
configure:18023: checking for snprintf
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18035: warning: conflicting types for built-in function 'snprintf'
configure:18023: checking for srand48
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for srandom
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for statfs
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for statvfs
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for std_syslog
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp//ccuRE270.o(.text+0x12): In function `main':
/usr/local/directadmin/custombuild/php-5.2.6/configure:18045: undefined reference to `std_syslog'
configure: failed program was:
#line 18028 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char std_syslog(); below.  */
#include <assert.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 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:18023: checking for strcasecmp
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18035: warning: conflicting types for built-in function 'strcasecmp'
configure:18023: checking for strcoll
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for strdup
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18035: warning: conflicting types for built-in function 'strdup'
configure:18023: checking for strerror
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for strftime
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18035: warning: conflicting types for built-in function 'strftime'
configure:18023: checking for strptime
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for strstr
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18035: warning: conflicting types for built-in function 'strstr'
configure:18023: checking for strtok_r
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for symlink
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for tempnam
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp//ccKN6ydM.o(.text+0x12): In function `main':
/usr/local/directadmin/custombuild/php-5.2.6/configure:18045: warning: warning: tempnam() possibly used unsafely; consider using mkstemp()
configure:18023: checking for tzset
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for unlockpt
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for unsetenv
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for usleep
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for nanosleep
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for utime
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18023: checking for vsnprintf
configure:18051: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18035: warning: conflicting types for built-in function 'vsnprintf'
configure:18077: checking for getaddrinfo
configure:18089: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18135: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure: In function 'main':
configure:18105: warning: incompatible implicit declaration of built-in function 'memset'
configure:18109: warning: incompatible implicit declaration of built-in function 'exit'
configure:18113: warning: incompatible implicit declaration of built-in function 'exit'
configure:18121: warning: incompatible implicit declaration of built-in function 'exit'
configure:18125: warning: incompatible implicit declaration of built-in function 'exit'
configure:18130: warning: incompatible implicit declaration of built-in function 'exit'
configure:18167: checking for strlcat
configure:18195: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18167: checking for strlcpy
configure:18195: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18167: checking for getopt
configure:18195: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18222: checking whether utime accepts a null argument
configure:18243: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure: In function 'main':
configure:18237: warning: incompatible implicit declaration of built-in function 'exit'
configure:18269: checking for working alloca.h
configure:18302: checking for alloca
configure:18335: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18502: checking for declared timezone
configure:18523: gcc -c -g -O2  conftest.c 1>&5
configure:18549: checking for type of reentrant time-related functions
configure:18578: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure: In function 'main':
configure:18570: warning: assignment makes integer from pointer without a cast
configure:18571: error: too many arguments to function 'asctime_r'
configure: failed program was:
#line 18560 "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:18610: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure: In function 'main':
configure:18603: error: too many arguments to function 'asctime_r'
configure: failed program was:
#line 18594 "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:18648: checking for readdir_r
configure:18676: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure:18698: checking for type of readdir_r
configure:18734: gcc -o conftest -g -O2   conftest.c -lm  1>&5
configure: In function 'main':
configure:18726: warning: incompatible implicit declaration of built-in function 'exit'
configure:18797: checking for in_addr_t
configure:18836: checking for crypt_r
configure:18864: gcc -o conftest -g -O2   conftest.c -lm  1>&5
/var/tmp//cclD4RP5.o(.text+0x12): In function `main':
/usr/local/directadmin/custombuild/php-5.2.6/configure:18858: undefined reference to `crypt_r'
configure: failed program was:
#line 18841 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char crypt_r(); below.  */
#include <assert.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 crypt_r();

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_crypt_r) || defined (__stub___crypt_r)
choke me
#else
crypt_r();
#endif

; return 0; }
configure:19021: checking whether to include gcov symbols
configure:19184: checking whether to include debugging symbols
configure:19226: checking layout of installed files
configure:19261: checking path to configuration file
configure:19295: checking where to scan for configuration files
configure:19331: checking whether to enable safe mode by default
configure:19366: checking for safe mode exec dir
configure:19410: checking whether to enable PHP's own SIGCHLD handler
configure:19448: checking whether to enable magic quotes by default
configure:19486: checking whether to explicitly link against libgcc
configure:19566: checking whether to enable short tags by default
configure:19604: checking whether to enable dmalloc
configure:19692: checking whether to enable IPv6 support
configure:19722: checking how big to make fd sets
configure:19793: checking whether to enable LIBXML support
configure:19841: checking libxml2 install dir
configure:19870: checking for xml2-config path
configure:20028: checking whether libxml build works
configure:20055: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c 
          
         -lm  -lxml2 -lz -lm 1>&5
configure:20409: checking for OpenSSL support
configure:20456: checking for Kerberos support
configure:20774: checking for krb5-config
configure:21134: checking for DSA_get_default_method in -lssl
configure:21153: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lssl  -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err 1>&5
configure:21195: checking for pkg-config
configure:21400: checking for OpenSSL version
configure:21557: checking for CRYPTO_free in -lcrypto
configure:21576: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lcrypto  -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err 1>&5
configure:21733: checking for SSL_CTX_set_ssl_version in -lssl
configure:21752: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lssl  -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcrypto 1>&5
configure:21874: checking for PCRE support
configure:22706: checking for ZLIB support
configure:22753: checking if the location of ZLIB install directory is defined
configure:23188: checking for gzgets in -lz
configure:23207: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lz  -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err 1>&5
configure:23347: checking whether to enable bc style precision math functions
configure:23704: checking for BZip2 support
configure:24341: checking whether to enable calendar conversion support
configure:24677: checking whether to enable ctype functions
configure:25013: checking for cURL support
configure:25060: checking if we should use cURL for url streams
configure:25087: checking for cURL in default path
configure:25105: checking for cURL 7.10.5 or greater
configure:25125: checking for SSL support in libcurl
configure:25140: checking how to run the C preprocessor
configure:25220: checking for openssl support in libcurl
configure:25242: gcc -o conftest -I/usr/local/include  -L/usr/local/lib -lcurl -lssl -lcrypto -lz -R/usr/local/lib conftest.c -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err 1>&5
configure:25248: checking for openssl/crypto.h
configure:25258: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:25298: checking for gnutls support in libcurl
configure:25320: gcc -o conftest -I/usr/local/include  -L/usr/local/lib -lcurl -lssl -lcrypto -lz -R/usr/local/lib conftest.c -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err 1>&5
configure: failed program was:
#line 25305 "configure"
#include "confdefs.h"

    #include <curl/curl.h>
    int main(int argc, char *argv[]) {
     curl_version_info_data *data = curl_version_info(CURLVERSION_NOW);
     if (data && data->ssl_version && *data->ssl_version) {
      const char *ptr = data->ssl_version;
      while(*ptr == ' ') ++ptr;
      return strncasecmp(ptr, "GnuTLS", sizeof("GnuTLS")-1);
     }
     return 1;
    }
   
configure:25697: checking for curl_easy_perform in -lcurl
configure:25716: gcc -o conftest -g -O2  -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib -lcurl -lssl -lcrypto -lz conftest.c -lcurl  -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
configure:25852: checking for curl_version_info in -lcurl
configure:25871: gcc -o conftest -g -O2  -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib -lcurl -lssl -lcrypto -lz conftest.c -lcurl  -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
configure:26005: checking for curl_easy_strerror in -lcurl
configure:26024: gcc -o conftest -g -O2  -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib -lcurl -lssl -lcrypto -lz conftest.c -lcurl  -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
configure:26158: checking for curl_multi_strerror in -lcurl
configure:26177: gcc -o conftest -g -O2  -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib -lcurl -lssl -lcrypto -lz conftest.c -lcurl  -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
configure:26511: checking size of long
configure:26550: checking size of int
configure:26590: checking for int32_t
configure:26615: gcc -c -g -O2  conftest.c 1>&5
configure:26638: checking for uint32_t
configure:26663: gcc -c -g -O2  conftest.c 1>&5
configure:26695: checking for sys/types.h
configure:26695: checking for inttypes.h
configure:26695: checking for stdint.h
configure:26695: checking for string.h
configure:26695: checking for stdlib.h
configure:26735: checking for strtoll
configure:26763: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
configure:26735: checking for atoll
configure:26763: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz 1>&5
configure:26735: checking for strftime
configure:27734: checking for QDBM support
configure:28065: checking for GDBM support
configure:28382: checking for NDBM support
configure:28693: checking for Berkeley DB4 support
configure:29016: checking for Berkeley DB3 support
configure:29339: checking for Berkeley DB2 support
configure:29578: checking for DB1 support
configure:29933: checking for DBM support
configure:30342: checking for CDB support
configure:30373: checking for INI File support
configure:30404: checking for FlatFile support
configure:30419: checking whether to enable DBA interface
configure:30738: checking whether to enable dbase support
configure:31074: checking whether to enable DOM support
configure:31153: checking for xml2-config path
configure:31311: checking whether libxml build works
configure:31750: checking whether to enable EXIF (metadata from images) support
configure:32086: checking for FrontBase SQL92 (fbsql) support
configure:32582: checking for FDF support
configure:33402: checking whether to enable input filter support
configure:33449: checking pcre install prefix
configure:33857: checking whether to enable FTP support
configure:33904: checking OpenSSL dir for FTP
configure:34439: checking for OpenSSL version
configure:34596: checking for CRYPTO_free in -lcrypto
configure:34772: checking for SSL_CTX_set_ssl_version in -lssl
configure:34910: checking for GD support
configure:34958: checking for the location of libjpeg
configure:34986: checking for the location of libpng
configure:35041: checking for the location of libXpm
configure:35067: checking for FreeType 1.x support
configure:35093: checking for FreeType 2
configure:35119: checking for T1lib support
configure:35145: checking whether to enable truetype string function in GD
configure:35171: checking whether to enable JIS-mapped Japanese font support in GD
configure:35227: checking for fabsf
configure:35255: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:35239: warning: conflicting types for built-in function 'fabsf'
configure:35227: checking for floorf
configure:35255: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:35239: warning: conflicting types for built-in function 'floorf'
configure:35427: checking for jpeg_read_header in -ljpeg
configure:35446: gcc -o conftest -g -O2  -R/usr/local/lib -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -ljpeg  -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:35728: checking for png_write_image in -lpng
configure:35747: gcc -o conftest -g -O2  -R/usr/local/lib -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib -lz conftest.c -lpng  -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:36521: checking for FT_New_Face in -lfreetype
configure:36540: gcc -o conftest -g -O2  -R/usr/local/lib -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -lfreetype  -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:36903: checking for FreeType 1 support
configure:43284: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c    -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:43520: checking for GNU gettext support
configure:43578: checking for bindtextdomain in -lintl
configure:43597: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib -L/usr/local/lib conftest.c -lintl  -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:44091: checking for ngettext in -lintl
configure:44110: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lintl  -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:44134: checking for dngettext in -lintl
configure:44153: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lintl  -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:44177: checking for dcngettext in -lintl
configure:44196: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lintl  -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:44220: checking for bind_textdomain_codeset in -lintl
configure:44239: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lintl  -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:44270: checking for GNU MP support
configure:45045: checking whether to enable hash support
configure:45095: checking whether byte ordering is bigendian
configure:45146: checking size of short
configure:45165: gcc -o conftest -g -O2   -R/usr/local/lib -L/usr/local/lib conftest.c -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:45185: checking size of int
configure:45224: checking size of long
configure:45263: checking size of long long
configure:45619: checking for iconv support
configure:45914: checking for libiconv in -liconv
configure:45933: gcc -o conftest -g -O2  -R/usr/local/lib -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -liconv  -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
configure:46297: checking if iconv is glibc's
configure:46306: gcc -o conftest -I/usr/local/include -g -O2  -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -liconv -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure:46300:30: error: gnu/libc-version.h: No such file or directory
configure: failed program was:
#line 46299 "configure"
#include "confdefs.h"
#include <gnu/libc-version.h>
int main() {
gnu_get_libc_version();
; return 0; }
configure:46324: checking if using GNU libiconv
configure:46344: gcc -o conftest -I/usr/local/include -g -O2  -liconv -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -liconv -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure: In function 'main':
configure:46338: warning: incompatible implicit declaration of built-in function 'printf'
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
configure:46543: checking if iconv supports errno
configure:46578: gcc -o conftest -I/usr/local/include -g -O2  -liconv -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -liconv -liconv -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
configure:46610: checking if your cpp allows macro usage in include lines
configure:46622: gcc -c -I/usr/local/include -g -O2  conftest.c 1>&5
configure:46967: checking for IMAP support
configure:47014: checking for IMAP Kerberos support
configure:47040: checking for IMAP SSL support
configure:49306: checking for InterBase support
configure:50233: checking whether to enable JavaScript Object Serialization support
configure:50282: checking for ANSI C header files
configure:50681: checking for LDAP support
configure:50728: checking for LDAP Cyrus SASL support
configure:53554: checking whether to enable multibyte string support
configure:53601: checking whether to enable multibyte regex support
configure:53627: checking whether to check multibyte regex backtrack
configure:53653: checking for external libmbfl
configure:53689: checking for variable length prototypes and stdarg.h
configure:53723: gcc -o conftest -I/usr/local/include -g -O2  -liconv -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -liconv -liconv -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
configure:53744: checking for stdlib.h
configure:53744: checking for string.h
configure:53744: checking for strings.h
configure:53754: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:53744: checking for unistd.h
configure:53744: checking for sys/time.h
configure:53744: checking for sys/times.h
configure:53754: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:53744: checking for stdarg.h
configure:53781: checking size of int
configure:53820: checking size of short
configure:53859: checking size of long
configure:53898: checking for working const
configure:53973: checking whether time.h and sys/time.h may both be included
configure:53987: gcc -c -I/usr/local/include -g -O2  conftest.c 1>&5
configure:54010: checking for working alloca.h
configure:54043: checking for alloca
configure:54242: checking for 8-bit clean memcmp
configure:54260: gcc -o conftest -I/usr/local/include -g -O2  -liconv -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -liconv -liconv -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
configure: In function 'main':
configure:54255: warning: incompatible implicit declaration of built-in function 'exit'
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
configure:55246: checking for mcrypt support
configure:55302: checking for libmcrypt version
configure:55428: checking for mcrypt_module_open in -lmcrypt
configure:55447: gcc -o conftest -I/usr/local/include -g -O2  -R/usr/local/lib -L/usr/local/lib -liconv -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib -lltdl conftest.c -lmcrypt  -liconv -liconv -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
configure:56081: checking for mhash support
configure:56557: checking whether to include mime_magic support
configure:56915: checking for MING support
configure:58147: checking for mSQL support
configure:58660: checking for MSSQL support via FreeTDS
configure:59313: checking for MySQL support
configure:59360: checking for specified location of the MySQL UNIX socket
configure:59418: checking for MySQL UNIX socket location
configure:59609: checking for mysql_close in -lmysqlclient
configure:59628: gcc -o conftest -I/usr/local/include -g -O2  -R/usr/local/mysql/lib -L/usr/local/mysql/lib -liconv -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib conftest.c -lmysqlclient  -lmhash -lmcrypt -lltdl -liconv -liconv -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/local/mysql/lib/libmysqlclient.a(my_gethostbyname.o)(.text+0x1c): In function `my_gethostbyname_r':
: undefined reference to `__h_error'
configure: failed program was:
#line 59617 "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 mysql_close();

int main() {
mysql_close()
; return 0; }
configure:59851: checking for mysql_error in -lmysqlclient
configure:59870: gcc -o conftest -I/usr/local/include -g -O2  -R/usr/local/mysql/lib -L/usr/local/mysql/lib -liconv -L/usr/local/lib  -R/usr/local/lib -L/usr/local/lib -R/usr -L/usr conftest.c -lmysqlclient  -lz -lmhash -lmcrypt -lltdl -liconv -liconv -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm  -lxml2 -lz -lm -lgssapi -lkrb5 -lasn1 -lcrypto -lroken -lcrypt -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -lm 1>&5
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/libintl.so, may conflict with libiconv.so.6
/usr/local/mysql/lib/libmysqlclient.a(my_gethostbyname.o)(.text+0x1c): In function `my_gethostbyname_r':
: undefined reference to `__h_error'
configure: failed program was:
#line 59859 "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 mysql_error();

int main() {
mysql_error()
; return 0; }


Any help is appreciated, I really need to get this working.
 
Back
Top