php-install Digest 13 Aug 2002 15:58:25 -0000 Issue 977

Topics (messages 8097 through 8103):

Re: PHP-4.2.2 - problem configure with mysql
        8097 by: Bob Lockie

php 4.2.2, apache 2.0.40 make problem from source
        8098 by: alex stinson

Installing PHP on Win XP
        8099 by: Jocke
        8100 by: Ezekiel

help me install php4.2.2 on Apache2.0.40 for winXP
        8101 by: Le Long Minh

Re: Garbled libphp4.so - what?
        8102 by: Jim Thome

compiling issue with apxs it appears....
        8103 by: temp

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---

Does "/usr/local/mysql-3.23.43-pc-linux-gnu-i686" directory exist?

>Hi,
>
>       I have problem with configure PHP with mysql or with something about 
>that, I have tried to solve that, but I can't. I don't know, where is 
>mistake, please help me.
>
>Here is my attributes for script ./configure
>
>'./configure' \
>'--with-apxs' \
>'--with-gdbm' \
>'--enable-filepro' \
>'--with-interbase' \
>'--with-mysql=/usr/local/mysql-3.23.43-pc-linux-gnu-i686' \
>'--with-gd' \
>'--with-jpeg' \
>'--with-png' \
>'--with-bz2=/install/source/tmp/bzip2-1.0.2' \
>'--enable-calendar' \
>'--enable-ftp' \
>'--with-gettext' \
>'--with-imap' \
>'--with-kerberos' \
>'--with-mhash=/install/source/tmp/mhash-0.8.16' \
>'--enable-trans-sid' \
>'--with-regex=PHP' \
>'--enable-memory-limit' \
>'--with-dom' \
>'--enable-wddx' \
>'--with-pdflib=/usr/local/lib' \
>'--with-mcal=/usr' \
>'--with-pear' \
>'--with-zlib-dir=/usr/include' \
>'--with-imap-ssl' \
>'--with-zlib'
>
>And here is config.log:
>
>This file contains any messages produced by compilers while
>running configure, to aid debugging if configure makes a mistake.
>
>configure:1738: checking for Cygwin environment
>configure:1771: checking for mingw32 environment
>configure:1853: checking host system type
>configure:1889: checking for a BSD compatible install
>configure:1942: checking whether build environment is sane
>configure:2013: checking for gawk
>configure:2043: checking whether make sets ${MAKE}
>configure:2156: checking whether to enable maintainer-specific portions 
>of Makefiles
>configure:2262: checking for gcc
>configure:2375: checking whether the C compiler (gcc  ) works
>configure:2391: gcc -o conftest    conftest.c  1>&5
>configure:2417: checking whether the C compiler (gcc  ) is a 
>cross-compiler
>configure:2422: checking whether we are using GNU C
>configure:2450: checking whether gcc accepts -g
>configure:2489: checking for style of include used by make
>configure:2523: checking dependency style of gcc
>configure:2591: checking whether gcc and cc understand -c and -o 
>together
>configure:2642: checking how to run the C preprocessor
>configure:2722: checking for AIX
>configure:2749: checking for gcc option to accept ANSI C
>configure:2827: checking whether compiler supports -R
>configure:2860: checking whether compiler supports -Wl,-rpath,
>configure:2898: checking for ranlib
>configure:2926: checking whether ln -s works
>configure:2951: checking for gawk
>configure:2985: checking for bison
>configure:2985: checking for byacc
>configure:3029: checking for flex
>configure:3063: checking for yywrap in -lfl
>configure:3106: checking lex output file root
>configure:3127: checking whether yytext is a pointer
>configure:3170: checking for working const
>configure:3345: gcc -o conftest -g -O2 -pthread   conftest.c  1>&5
>configure:3365: checking for pthreads_cflags
>configure:3427: checking for pthreads_lib
>configure:3537: checking for AOLserver support
>configure:3613: checking for Apache 1.x module support via DSO through 
>APXS
>configure:3932: checking for mod_charset compatibility option
>configure:4002: checking for Apache 2.0 module support via DSO through 
>APXS
>configure:4125: checking for Caudium support
>configure:4478: checking for fhttpd module support
>configure:4526: checking for CLI build
>configure:4551: checking for FastCGI support
>configure:4617: checking for Zeus ISAPI support
>configure:4683: checking for NSAPI support
>configure:4766: checking for PHTTPD support
>configure:4833: checking for Pi3Web Support
>configure:5030: checking for Roxen/Pike support
>configure:5135: checking for Servlet support
>configure:5303: checking for thttpd
>configure:5365: checking for TUX
>configure:5435: checking for webjames
>configure:5441: checking for chosen SAPI module
>configure:5499: checking for missing declarations of reentrant 
>functions
>configure:5508: gcc -c -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm conftest.c 1>&5
>configure:5533: gcc -c -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm conftest.c 1>&5
>configure:5558: gcc -c -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm conftest.c 1>&5
>configure:5583: gcc -c -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm conftest.c 1>&5
>configure:5608: gcc -c -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm conftest.c 1>&5
>configure:5631: checking for sendmail
>configure:5672: checking whether system uses EBCDIC
>configure:5759: checking for socket in -lsocket
>configure:5814: checking for htonl in -lsocket
>configure:5872: checking for yp_get_default_domain
>configure:5900: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  conftest.c  1>&5
>/tmp/ccxEArDg.o: In function `main':
>/install/source/tmp/php-4.2.2/configure:5894: undefined reference to 
>`yp_get_default_domain'
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 5877 "configure"
>#include "confdefs.h"
>/* System header to define __stub macros and hopefully few prototypes,
>   which can conflict with char yp_get_default_domain(); 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 yp_get_default_domain();
>
>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_yp_get_default_domain) || defined 
>(__stub___yp_get_default_domain)
>choke me
>#else
>yp_get_default_domain();
>#endif
>
>; return 0; }
>configure:5924: checking for gethostname in -lnsl
>configure:6041: checking for dlopen in -ldl
>configure:6093: checking for sin in -lm
>configure:6141: checking for inet_aton in -lresolv
>configure:6287: checking for res_search in -lsocket
>configure:6425: checking for res_search in -lresolv
>configure:6574: checking for ANSI C header files
>configure:6684: checking for dirent.h that defines DIR
>configure:6722: checking for opendir in -ldir
>configure:6848: checking for fclose declaration
>configure:6857: gcc -c -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm conftest.c 1>&5
>configure:6921: checking for ApplicationServices/ApplicationServices.h
>configure:6921: checking for alloca.h
>configure:6921: checking for arpa/inet.h
>configure:6921: checking for arpa/nameser.h
>configure:6921: checking for crypt.h
>configure:6921: checking for fcntl.h
>configure:6921: checking for grp.h
>configure:6921: checking for ieeefp.h
>configure:6921: checking for langinfo.h
>configure:6921: checking for limits.h
>configure:6921: checking for locale.h
>configure:6921: checking for netinet/in.h
>configure:6921: checking for pwd.h
>configure:6921: checking for resolv.h
>configure:6921: checking for signal.h
>configure:6921: checking for stdarg.h
>configure:6921: checking for stdlib.h
>configure:6921: checking for string.h
>configure:6921: checking for syslog.h
>configure:6921: checking for sysexits.h
>configure:6921: checking for sys/file.h
>configure:6921: checking for sys/mman.h
>configure:6921: checking for sys/mount.h
>configure:6921: checking for sys/resource.h
>configure:6921: checking for sys/select.h
>configure:6921: checking for sys/socket.h
>configure:6921: checking for sys/statfs.h
>configure:6921: checking for sys/statvfs.h
>configure:6921: checking for sys/vfs.h
>configure:6921: checking for sys/sysexits.h
>configure:6921: checking for sys/time.h
>configure:6921: checking for sys/types.h
>configure:6921: checking for sys/varargs.h
>configure:6921: checking for sys/wait.h
>configure:6921: checking for unistd.h
>configure:6921: checking for unix.h
>configure:6921: checking for utime.h
>configure:6962: checking whether struct tm is in sys/time.h or time.h
>configure:6996: checking for tm_zone in struct tm
>configure:7068: checking for tm_gmtoff in struct tm
>configure:7104: checking for struct flock
>configure:7146: checking for socklen_t
>configure:7189: checking size of long
>configure:7228: checking size of int
>configure:7268: checking for st_blksize in struct stat
>configure:7303: checking for st_blocks in struct stat
>configure:7343: checking for st_rdev in struct stat
>configure:7378: checking for size_t
>configure:7411: checking for uid_t in sys/types.h
>configure:7446: checking for struct sockaddr_storage
>configure:7480: checking for IPv6 support
>configure:7518: checking for vprintf
>configure:7686: checking for asctime_r
>configure:7686: checking for chroot
>configure:7686: checking for ctime_r
>configure:7686: checking for cuserid
>configure:7686: checking for crypt
>configure:7686: checking for flock
>configure:7686: checking for gai_strerror
>configure:7686: checking for gcvt
>configure:7686: checking for getlogin
>configure:7686: checking for gethostbyaddr
>configure:7686: checking for getprotobyname
>configure:7686: checking for getprotobynumber
>configure:7686: checking for getservbyname
>configure:7686: checking for getservbyport
>configure:7686: checking for getrusage
>configure:7686: checking for gettimeofday
>configure:7686: checking for gmtime_r
>configure:7686: checking for inet_aton
>configure:7686: checking for isascii
>configure:7686: checking for link
>configure:7686: checking for localtime_r
>configure:7686: checking for lockf
>configure:7686: checking for lrand48
>configure:7686: checking for memcpy
>configure:7686: checking for memmove
>configure:7686: checking for mkstemp
>configure:7686: checking for mmap
>configure:7686: checking for nl_langinfo
>configure:7686: checking for putenv
>configure:7686: checking for realpath
>configure:7686: checking for random
>configure:7686: checking for rand_r
>configure:7686: checking for regcomp
>configure:7686: checking for res_search
>configure:7686: checking for setitimer
>configure:7686: checking for setlocale
>configure:7686: checking for localeconv
>configure:7686: checking for setsockopt
>configure:7686: checking for setvbuf
>configure:7686: checking for shutdown
>configure:7686: checking for sin
>configure:7686: checking for snprintf
>configure:7686: checking for srand48
>configure:7686: checking for srandom
>configure:7686: checking for statfs
>configure:7686: checking for statvfs
>configure:7686: checking for std_syslog
>configure:7686: checking for strcasecmp
>configure:7686: checking for strcoll
>configure:7686: checking for strdup
>configure:7686: checking for strerror
>configure:7686: checking for strftime
>configure:7686: checking for strstr
>configure:7686: checking for strtok_r
>configure:7686: checking for symlink
>configure:7686: checking for tempnam
>configure:7686: checking for tzset
>configure:7686: checking for unsetenv
>configure:7686: checking for usleep
>configure:7686: checking for utime
>configure:7686: checking for vsnprintf
>configure:7740: checking for getaddrinfo
>configure:7775: checking for strlcat
>configure:7775: checking for strlcpy
>configure:7775: checking for getopt
>configure:7830: checking whether utime accepts a null argument
>configure:7877: checking for working alloca.h
>configure:7910: checking for alloca
>configure:8110: checking whether sprintf is broken
>configure:8159: checking for declared timezone
>configure:8206: checking for type of reentrant time-related functions
>configure:8303: checking for readdir_r
>configure:8353: checking for type of readdir_r
>configure:8505: checking whether to include debugging symbols
>configure:8562: checking layout of installed files
>configure:8620: checking path to configuration file
>configure:8685: checking whether to install PEAR, and where
>configure:8748: checking whether to enable safe mode by default
>configure:8806: checking for safe mode exec dir
>configure:8848: checking for OpenSSL support
>configure:9128: checking whether to enable PHP's own SIGCHLD handler
>configure:9189: checking whether to enable magic quotes by default
>configure:9250: checking whether to enable runpaths
>configure:9299: checking whether to explicitly link against libgcc
>configure:9404: checking whether to enable short tags by default
>configure:9466: checking whether to enable dmalloc
>configure:9577: checking for crypt in -lcrypt
>configure:9674: checking if the location of ZLIB install directory is 
>defined
>configure:9723: checking for ZLIB support
>configure:10037: checking for gzgets in -lz
>configure:10056: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  conftest.c -lz  -lcrypt -lresolv 
>-lm -ldl -lnsl  -
>lresolv -lcrypt 1>&5
>configure:10147: checking for fopencookie
>configure:10175: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  conftest.c -lz -lcrypt -lresolv 
>-lm -ldl -lnsl  -
>lresolv -lcrypt 1>&5
>configure:10206: gcc -c -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm conftest.c 1>&5
>configure:10264: checking for ASPELL support
>configure:10588: checking whether to enable bc style precision math 
>functions
>configure:10963: checking for BZip2 support
>configure:11013: checking for BZip2 in default path
>configure:11157: checking for BZ2_bzerror in -lbz2
>configure:11176: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  conftest.c -lbz2  -lbz2 -lz 
>-lcrypt -lresolv -lm -
>ldl -lnsl  -lresolv -lcrypt 1>&5
>configure:11413: checking whether to enable calendar conversion support
>configure:11675: checking for CCVS support
>configure:12072: checking for cpdflib support
>configure:12964: checking for CRACKlib support
>configure:13373: checking whether to enable ctype functions
>configure:13635: checking for CURL support
>configure:14191: checking for CyberCash support
>configure:14552: checking for cybermut support
>configure:14976: checking for cyrus imap support
>configure:15719: checking for xDBM support
>configure:16335: checking whether to enable DBA
>configure:16397: checking for gdbm_open in -lgdbm
>configure:16416: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm -L/usr/lib  conftest.c -lgdbm  
>-lbz2 -lz -lcrypt -
>lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
>configure:16591: checking for GDBM support
>configure:16825: checking for NDBM support
>configure:17073: checking for Berkeley DB2 support
>configure:17304: checking for Berkeley DB3 support
>configure:17527: checking for DBM support
>configure:17750: checking for CDB support
>configure:17762: checking whether to enable DBA interface
>configure:17994: checking whether to enable dbase support
>configure:18256: checking for dbplus support
>configure:18905: checking whether to enable dbx support
>configure:19163: checking whether to enable direct I/O support
>configure:19423: checking for DOM support
>configure:19492: checking for libxml version
>configure:20052: checking for DOM XSLT support
>configure:20101: checking for DOM EXSLT support
>configure:20760: checking whether to enable EXIF support
>configure:21022: checking for FrontBase SQL92 (fbsql) support
>configure:21438: checking for FDF support
>configure:21912: checking whether to enable the bundled filePro support
>configure:22174: checking for FriBidi support
>configure:22658: checking whether to enable FTP support
>configure:22937: checking for GD support
>configure:23212: checking whether to enable truetype string function in 
>GD
>configure:23269: checking for the location of libjpeg
>configure:23482: checking for the location of libpng
>configure:23794: checking for the location of libXpm
>configure:24101: checking for freetype(2)
>configure:24300: checking for FreeType 1.x support
>configure:24503: checking for T1lib support
>configure:24865: checking for gdImageString16 in -lgd
>configure:24884: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:24918: checking for gdImagePaletteCopy in -lgd
>configure:24937: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:24971: checking for gdImageCreateFromPng in -lgd
>configure:24990: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:25024: checking for gdImageCreateFromGif in -lgd
>configure:25043: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>/tmp/cctTYI45.o: In function `main':
>/install/source/tmp/php-4.2.2/configure:25039: undefined reference to 
>`gdImageCreateFromGif'
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 25032 "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 gdImageCreateFromGif();
>
>int main() {
>gdImageCreateFromGif()
>; return 0; }
>configure:25077: checking for gdImageGif in -lgd
>configure:25096: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>/tmp/cc2emakB.o: In function `main':
>/install/source/tmp/php-4.2.2/configure:25092: undefined reference to 
>`gdImageGif'
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 25085 "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 gdImageGif();
>
>int main() {
>gdImageGif()
>; return 0; }
>configure:25130: checking for gdImageWBMP in -lgd
>configure:25149: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:25183: checking for gdImageCreateFromJpeg in -lgd
>configure:25202: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:25236: checking for gdImageCreateFromXpm in -lgd
>configure:25255: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:25289: checking for gdImageCreateFromGd2 in -lgd
>configure:25308: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:25342: checking for gdImageCreateTrueColor in -lgd
>configure:25361: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>/tmp/ccgG4vPF.o: In function `main':
>/install/source/tmp/php-4.2.2/configure:25357: undefined reference to 
>`gdImageCreateTrueColor'
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 25350 "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 gdImageCreateTrueColor();
>
>int main() {
>gdImageCreateTrueColor()
>; return 0; }
>configure:25395: checking for gdImageSetTile in -lgd
>configure:25414: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:25448: checking for gdImageSetBrush in -lgd
>configure:25467: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:25501: checking for gdImageStringTTF in -lgd
>configure:25520: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:25554: checking for gdImageStringFT in -lgd
>configure:25573: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>/tmp/cc98uSfh.o: In function `main':
>/install/source/tmp/php-4.2.2/configure:25569: undefined reference to 
>`gdImageStringFT'
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 25562 "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 gdImageStringFT();
>
>int main() {
>gdImageStringFT()
>; return 0; }
>configure:25607: checking for gdImageStringFTEx in -lgd
>configure:25626: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>/tmp/ccynXMIO.o: In function `main':
>/install/source/tmp/php-4.2.2/configure:25622: undefined reference to 
>`gdImageStringFTEx'
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 25615 "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 gdImageStringFTEx();
>
>int main() {
>gdImageStringFTEx()
>; return 0; }
>configure:25660: checking for gdImageColorClosestHWB in -lgd
>configure:25679: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:25713: checking for gdImageColorResolve in -lgd
>configure:25732: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>configure:25766: checking for gdImageGifCtx in -lgd
>configure:25785: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib    conftest.c -lgd  
>-lgd -lz -lm -lz -
>lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
>-lcrypt 1>&5
>/tmp/ccbgxL7m.o: In function `main':
>/install/source/tmp/php-4.2.2/configure:25781: undefined reference to 
>`gdImageGifCtx'
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 25774 "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 gdImageGifCtx();
>
>int main() {
>gdImageGifCtx()
>; return 0; }
>configure:25878: checking for GNU gettext support
>configure:25940: checking for bindtextdomain in -lintl
>configure:25959: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib conftest.c -lintl  
>-lgd -lz -lm -lz -lxml2 
>-lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
>/usr/bin/ld: cannot find -lintl
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 25948 "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 bindtextdomain();
>
>int main() {
>bindtextdomain()
>; return 0; }
>configure:25981: checking for bindtextdomain in -lc
>configure:26000: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  -L/usr/lib conftest.c -lc  -lgd 
>-lz -lm -lz -lxml2 -
>lgdbm -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
>configure:26374: checking for ngettext in -lc
>configure:26393: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  conftest.c -lc  -lgd -lz -lm -lz 
>-lxml2 -lgdbm -
>lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
>configure:26417: checking for dngettext in -lc
>configure:26436: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  conftest.c -lc  -lgd -lz -lm -lz 
>-lxml2 -lgdbm -
>lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
>configure:26460: checking for dcngettext in -lc
>configure:26479: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  conftest.c -lc  -lgd -lz -lm -lz 
>-lxml2 -lgdbm -
>lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
>configure:26503: checking for bind_textdomain_codeset in -lc
>configure:26522: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm  conftest.c -lc  -lgd -lz -lm -lz 
>-lxml2 -lgdbm -
>lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
>configure:26553: checking for GNU MP support
>configure:26906: checking for Hyperwave support
>configure:27146: checking for ICAP support
>configure:27539: checking for iconv support
>configure:28204: checking for IMAP support
>configure:28561: checking for pam_start in -lpam
>configure:28608: checking for crypt in -lcrypt
>configure:29150: checking for Informix support
>configure:29779: checking for Ingres II support
>configure:30282: checking for InterBase support
>configure:30679: checking for IRCG support
>configure:31140: checking for Java support
>configure:31704: checking for LDAP support
>configure:33342: checking whether to enable multibyte string support
>configure:33600: checking whether to enable japanese encoding 
>translation
>configure:33623: checking whether to enable multibyte regex support
>configure:33650: checking for MCAL support
>configure:34039: checking for mcrypt support
>configure:34645: checking for MCVE support
>configure:35045: checking for mhash support
>configure:35446: checking for MING support
>configure:35903: checking for mnoGoSearch support
>configure:36308: checking for msession support
>configure:36691: checking for mSQL support
>configure:37127: checking for Muscat support
>configure:37587: checking for MySQL support
>configure:39323: checking size of char
>configure:39363: checking size of int
>configure:39402: checking size of long
>configure:39441: checking size of long long
>configure:39480: checking for size_t
>configure:39513: checking whether time.h and sys/time.h may both be 
>included
>configure:39548: checking for uid_t in sys/types.h
>configure:39583: checking for type ulong
>configure:39626: checking for type uchar
>configure:39669: checking for type uint
>configure:39712: checking for type ushort
>configure:39755: checking for int8
>configure:39811: checking base type of last arg to accept
>configure:39888: checking return type of qsort
>configure:39971: checking for mysql_close in -lmysqlclient
>configure:39990: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm
>   -L/usr/local/mysql-3.23.43-pc-linux-gnu-i686/lib
>   -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib 
>-Wl,-rpath,/usr/interbase/lib -
>L/usr/interbase/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib 
>conftest.c -lmysqlclient  -lz -lmhash 
>-lgds -lcrypt -lgd -lz -lm -lz -lxml2 -lgdbm -lbz2 -lz -lcrypt -lresolv 
>-lm -ldl -lnsl  -lresolv -lcrypt -
>lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5
>/usr/bin/ld: cannot find -lgssapi_krb5
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 39979 "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:40115: checking for mysql_error in -lmysqlclient
>configure:40134: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -
>DEAPI_MM_CORE_PATH=/var/run/httpd.mm
>       -L/usr/lib -L/usr/local/mysql-3.23.43-pc-linux-gnu-i686/lib
>       -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib 
>-Wl,-rpath,/usr/interbase/lib -
>L/usr/interbase/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib 
>-Wl,-rpath,/usr -L/usr conftest.c -
>lmysqlclient  -lz -lmhash -lgds -lcrypt -lgd -lz -lm -lz -lxml2 -lgdbm 
>-lbz2 -lz -lcrypt -lresolv -lm 
>-ldl -lnsl  -lresolv -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
>1>&5
>/usr/bin/ld: cannot find -lgssapi_krb5
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 40123 "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; }
>
>
>       Thank you in advance for your help
>
>Kaido
>
>
>
>-- 
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--- End Message ---
--- Begin Message ---
hey, i have a small problem, and i'm not exactly sure how to work around it 
involving php4.2.2, and apache 2.0.40

uname -a:
FreeBSD wsip68-15-48-50.ri.ri.cox.net 4.6-RELEASE FreeBSD 4.6-RELEASE #0: 
Tue Jun 11 06:14:12 GMT 2002     
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386

The result of running make after configuring an almost clean source 
(modifyed only the AP_MODULE_MAGIC code that needs to be changed to work 
with apache2) with the following:
./configure --with-tsrm-pth --with-mysql --with-apxs2=/usr/www/bin/apxs
everything worked fine until i upgraded to apache 2.0.40 (actually, just 
removed the entire /usr/www directory after a problem)...

Making all in apache2filter
/bin/sh /usr/php-4.2.2/libtool --silent --mode=compile gcc  -I. 
-I/usr/php-4.2.2/sapi/apache2filter -I/usr/php-4.2.2/main -I/usr/php-4.2.2 
-I/usr/www/include -I/usr/php-4.2.2/Zend -I/usr/php-4.2.2/ext/mysql/libmysql 
-I/usr/php-4.2.2/ext/xml/expat  -D_REENTRANT -D_THREAD_SAFE 
-I/usr/php-4.2.2/TSRM -I/usr/local/include -DTHREAD=1 -g -O2 -pthread -DZTS 
-prefer-pic  -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter' 
makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function 
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter' 
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function `ap_register_input_filter'
*** Error code 1

Stop in /usr/php-4.2.2/sapi/apache2filter.
*** Error code 1

Stop in /usr/php-4.2.2/sapi/apache2filter.
*** Error code 1

Stop in /usr/php-4.2.2/sapi.
*** Error code 1

Stop in /usr/php-4.2.2.


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

--- End Message ---
--- Begin Message ---
How do I do it? Anybody that knows about a windows manual? The ones I can
find are for Unix / Linux only.


--- End Message ---
--- Begin Message ---
You need apache httpd server to use php. You can use microsoft IIS but it's
not a good solution.
Install apache 1.3.26 for win32.
How to install php for apache is explained in the documentation you can
found in the php package.
I suggest you to install it as a service in apache and not as a cgi as it is
suggested by the php team.

Good luck
Ezekiel

 "Jocke" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> How do I do it? Anybody that knows about a windows manual? The ones I can
> find are for Unix / Linux only.
>
>


--- End Message ---
--- Begin Message ---
Hi everybody!
I cannot install php4.2.2 as a module on apache2.0.40 server
althought i had put 2 lines :

    LoadModule php4_module c:/php/sapi/php4apache2.dll 
    AddType application/x-httpd-php .php .phtml .php3

in httpd.conf

after then, read error log file receive notice is:

Syntax error on line 493 of C:/Apache2/conf/httpd.conf:
Cannot load C:/php/sapi/php4apache2.dll into server: The specified module could not be 
found.  

Thank for your help.

--- End Message ---
--- Begin Message ---
Read this...

http://www.onlamp.com/pub/a/php/2001/03/15/php_admin.html

Jim

>>> "Bob Lockie" <[EMAIL PROTECTED]> 08/12/02 09:02PM >>>

What are your configure options?

>> Try a make distclean in the PHP directory and start over.
>
>No... It says still the same "garbled" message. Any ideas?
>
>- Ville
>
>
>
>> On Sun, 11 Aug 2002, Ville Mattila wrote:
>>
>> > Hello folks,
>> >
>> > I was installing Apache 1.3.9 and PHP 4.2.2 to my brand new RedHat 7.3
>box,
>> > but unfortunately without good results. I compiled and installed Apache
>> > precisely like in the Apache documentation and Apache is now up and
>running
>> > without PHP. Then I downloaded the newest version of PHP and compiled
>and
>> > installed it with instructions at PHP website. I added following lines
>to
>> > httpd.conf:
>> >
>> > LoadModule php4_module /usr/lib/apache/libphp4.so
>> > AddType application/x-httpd-php .php
>> > AddType application/x-httpd-php .php3
>> > AddType application/x-httpd-php .php4
>> >
>> > Then it was time to try running Apache with PHP. Well, I got following
>error
>> > message:
>> >
>> > [root@pilotmedia php-4.2.2]# /etc/httpd/bin/apachectl start
>> > Syntax error on line 665 of /etc/httpd/conf/httpd.conf:
>> > API module structure `php4_module' in file /usr/lib/apache/libphp4.so is
>> > garbled - perhaps this is not an Apache module DSO?
>> > /etc/httpd/bin/apachectl start: httpd could not be started
>> >
>> > What could I do?
>> >
>> > Thanks,
>> > Ville Mattila
>> > Ikaalinen, Finland
>> >
>> >
>> >
>> > --
>> > PHP Install Mailing List (http://www.php.net/)
>> > To unsubscribe, visit: http://www.php.net/unsub.php 
>> >
>>
>
>
>
>-- 
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php 
>




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 


--- End Message ---
--- Begin Message ---
Here is basically my problem, it finds apxs fine, but gives a syntax error:

su-2.05# ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs 
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i386-unknown-freebsd4.6
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking whether compiler supports -R... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... (cached) awk
checking for bison... no
checking for byacc... byacc
configure: warning: You will need bison if you want to regenerate the PHP 
parsers.
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache/bin/apxs follows
Usage: apxs -g [-S <var>=<val>] -n <modname>
apxs -q [-S <var>=<val>] <query> ...
apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
[-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
[-Wl,<flags>] <files> ...
apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
configure: error: Aborting

I'm not sure what to do, any guidance would be greatly appreciated, thanks 
in advance.
j 

--- End Message ---

Reply via email to