Thi is my HP9000 Box Configuration :

    - HP-UX 11.00;
    - Latest Zeus Web Server;
    - autoconf, automake, binutils, bison, cook, flex, freetype, gcc, gd,
gdb, java, jpeg-6, libpng, m4, mysql, tcl-8.2, tk-8.2, xpm and zlib packets
installed with "swinstall" and registered in /etc/PATH file below :


/etc/PATH
/opt/tcl-8.2/bin:/opt/tk-8.2/bin:/opt/gcc/bin:/opt:/opt/perl5/bin:/opt/m4/bi
n:/o
pt/automake/bin:/opt/autoconf/bin:/opt/gdb/bin:/opt/cook/bin:/usr/include/li
b:/o
pt/bison/bin:/opt/binutils/bin:/opt/mysql/mysql-3.23.39-hp-hpux11.00-hppa2.0
w/bi
n:/opt/flex/bin:/opt/java/bin:/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/con
trib
/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bi
n:/u
sr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/bin:/opt/OV/bin/OpC


    - /etc/SHLIB_PATH below :

/usr/lib:/opt/automake/lib:/opt/binutils/lib:/opt/freetype/lib:/opt/gcc/lib:
/opt
/gdb/lib:/opt/java/lib:/opt/libpng/lib:/opt/m4/lib:/
opt/mysql/mysql-3.23.39-hp-hpux11.00-hppa2.0w/lib/:/opt/perl5/lib:/opt/tcl-8
.2/l
ib:/opt/tk-8.2/lib:/opt/zlib/lib


    - PHP4.0.6 decompressed in /opt/php/php4.0.6




If I compile php4.0.6 with command :
#./configure --with-zeus=/usr/local/zeus --with-mysql and then make the
result is this :




mailweb1 - /opt/php/php-4.0.6
>./configure --with-zeus=/usr/local/zeus --with-mysql
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... hppa2.0w-hp-hpux11.00
checking for gawk... (cached) awk
checking for bison... (cached) bison -y
checking bison version... 1.28 (ok)
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... (cached) none needed
checking for ranlib... (cached) ranlib
checking whether gcc and cc understand -c and -o together... (cached) yes
checking whether ln -s works... (cached) yes
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) no
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) no
checking for working const... (cached) yes
checking for pthreads_cflags... (cached)
checking for pthreads_lib... (cached) pthread

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache module support via DSO through APXS... no
checking for Apache module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS... no
checking for Caudium support... no
checking whether to force Apache CGI redirect... no
checking whether to discard path_info + path_translated... no
checking for fhttpd module support... no
checking for FastCGI support... no
checking for Zeus ISAPI support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web Support... no
checking for Roxen/Pike support... no
checking for Servlet support... no
checking for thttpd... no
checking for chosen SAPI module... cgi

Running system checks
checking for missing declarations of reentrant functions... done
checking whether compiler supports -R... (cached) no
checking whether compiler supports -Wl,-rpath,... (cached) no
checking for sendmail... (cached) /usr/sbin/sendmail
checking whether system uses EBCDIC... (cached) no
checking for socket in -lsocket... (cached) no
checking for htonl in -lsocket... (cached) no
checking for yp_get_default_domain... no
checking for gethostname in -lnsl... (cached) yes
checking for dlopen in -ldl... (cached) no
checking for sin in -lm... (cached) yes
checking for inet_aton in -lresolv... (cached) no
checking for inet_aton in -lbind... (cached) no
checking for __inet_aton in -lbind... (cached) no
checking for res_search in -lsocket... (cached) no
checking for res_search in -lresolv... (cached) no
checking for dn_skipname in -lresolv... (cached) no
checking for __dn_skipname in -lresolv... (cached) no
checking for ANSI C header files... (cached) no
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for fclose declaration... ok
checking for alloca.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking for crypt.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for grp.h... (cached) yes
checking for ieeefp.h... (cached) no
checking for limits.h... (cached) yes
checking for locale.h... (cached) no
checking for netinet/in.h... (cached) yes
checking for pwd.h... (cached) no
checking for resolv.h... (cached) no
checking for signal.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stdlib.h... (cached) no
checking for string.h... (cached) yes
checking for syslog.h... (cached) yes
checking for sysexits.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/mount.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/select.h... (cached) no
checking for sys/socket.h... (cached) yes
checking for sys/statfs.h... (cached) no
checking for sys/statvfs.h... (cached) yes
checking for sys/sysexits.h... (cached) no
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/varargs.h... (cached) no
checking for sys/wait.h... (cached) yes
checking for unistd.h... (cached) yes
checking for unix.h... (cached) no
checking for utime.h... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) yes
checking for tm_gmtoff in struct tm... (cached) no
checking for struct flock... (cached) yes
checking for socklen_t... (cached) yes
checking size of long... (cached) 4
checking size of int... (cached) 4
checking for st_blksize in struct stat... (cached) yes
checking for st_blocks in struct stat... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for IPv6 support... (cached) no
checking for vprintf... (cached) yes
checking for asctime_r... (cached) yes
checking for chroot... (cached) yes
checking for ctime_r... (cached) yes
checking for cuserid... (cached) yes
checking for flock... (cached) no
checking for gai_strerror... (cached) no
checking for gcvt... (cached) yes
checking for getlogin... (cached) yes
checking for gethostbyaddr... (cached) yes
checking for getprotobyname... (cached) yes
checking for getprotobynumber... (cached) yes
checking for getservbyname... (cached) yes
checking for getservbyport... (cached) yes
checking for getrusage... (cached) yes
checking for gettimeofday... (cached) yes
checking for gmtime_r... (cached) yes
checking for inet_aton... (cached) yes
checking for isascii... (cached) yes
checking for link... (cached) yes
checking for localtime_r... (cached) yes
checking for lockf... (cached) yes
checking for lrand48... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for mkstemp... (cached) yes
checking for mmap... (cached) yes
checking for putenv... (cached) yes
checking for random... (cached) yes
checking for rand_r... (cached) yes
checking for regcomp... (cached) yes
checking for res_search... (cached) yes
checking for setitimer... (cached) yes
checking for setlocale... (cached) yes
checking for localeconv... (cached) yes
checking for setsockopt... (cached) yes
checking for setvbuf... (cached) yes
checking for shutdown... (cached) yes
checking for sin... (cached) yes
checking for snprintf... (cached) yes
checking for srand48... (cached) yes
checking for srandom... (cached) yes
checking for statfs... (cached) yes
checking for statvfs... (cached) yes
checking for std_syslog... (cached) no
checking for strcasecmp... (cached) yes
checking for strcoll... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strftime... (cached) yes
checking for strstr... (cached) yes
checking for strtok_r... (cached) yes
checking for symlink... (cached) yes
checking for tempnam... (cached) yes
checking for tzset... (cached) yes
checking for unsetenv... (cached) no
checking for usleep... (cached) yes
checking for utime... (cached) yes
checking for vsnprintf... (cached) yes
checking for getaddrinfo... (cached) no
checking for strlcat... (cached) no
checking for strlcpy... (cached) no
checking for getopt... (cached) yes
checking whether utime accepts a null argument... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking whether sprintf is broken... (cached) no
checking for declared timezone... (cached) yes
checking for type of reentrant time-related functions... (cached) POSIX
checking for readdir_r... (cached) yes
checking for type of readdir_r... (cached) POSIX
checking whether to include debugging symbols... no
checking layout of installed files... yes
checking path to configuration file... yes
checking whether to install PEAR... yes
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking for OpenSSL support... no
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to enable runpaths... yes
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable PIC for shared objects... yes
checking whether to enable dmalloc... no
checking whether to enable php streams... no
checking for crypt in -lcrypt... (cached) yes

Configuring extensions
checking if the location of ZLIB install directory is defined... no
checking whether to include ZLIB support... no
checking for ASPELL support... no
checking for bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking CCVS Support... no
checking whether to include cpdflib support... no
checking whether to include crack support... no
checking whether to enable ctype support... no
checking for CURL support... no
checking for CyberCash support... no
checking for cybermut support... no
checking whether to include old xDBM support... no
checking whether to enable DBA... no
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB2 support... no
checking for Berkeley DB3 support... no
checking for DBM support... no
checking for CDB support... no
checking whether to enable DBA interface... no
checking whether to enable the bundled dbase library... no
checking whether to enable dbx support... no
checking for DOM support... no
checking whether to enable exif support... no
checking for FrontBase SQL92 (fbsql) support... no
checking for fdftk support... no
checking whether to enable the bundled filePro support... no
checking whether to add fribidi support... no
checking whether to enable FTP support... no
checking whether to include GD support... no
checking whether to include GNU gettext support... no
checking for gmp support... no
checking for Hyperwave support... no
checking for ICAP support... no
checking for iconv support... no
checking for IMAP support... no
checking for Informix support... no
checking for Ingres II support... no
checking for InterBase support... no
checking for ircg support... no
checking for Java support... no
checking whether to include LDAP support... no
checking whether to enable multibyte string support... no
checking whether to enable japanese encoding translation... no
checking for MCAL support... no
checking for mcrypt support... no
checking for mhash support... no
checking whether to include ming support... no
checking for mnoGoSearch support... no
checking for mSQL support... no
checking for Muscat support... no
checking for MySQL support... yes
checking for MySQL UNIX socket... /tmp/mysql.sock
checking for inline... (cached) inline
checking return type of signal handlers... (cached) void
checking for ANSI C header files... (cached) no
checking for sgtty.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for float.h... (cached) yes
checking for floatingpoint.h... (cached) no
checking for ieeefp.h... (cached) no
checking for limits.h... (cached) yes
checking for memory.h... (cached) yes
checking for pwd.h... (cached) no
checking for select.h... (cached) no
checking for stdlib.h... (cached) no
checking for stddef.h... (cached) yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for synch.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/timeb.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for sys/vadvise.h... (cached) no
checking for sys/wait.h... (cached) yes
checking for term.h... (cached) yes
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for sys/utime.h... (cached) no
checking for termio.h... (cached) yes
checking for termios.h... (cached) yes
checking for sched.h... (cached) yes
checking for crypt.h... (cached) yes
checking for alloca.h... (cached) yes
checking size of char... (cached) 1
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for type ulong... (cached) no
checking for type uchar... (cached) no
checking for type uint... (cached) yes
checking for int8... no
checking base type of last arg to accept... (cached) int
checking return type of qsort... (cached) void
checking for alarm... (cached) yes
checking for bmove... (cached) no
checking for chsize... (cached) no
checking for ftruncate... (cached) yes
checking for rint... (cached) yes
checking for finite... (cached) no
checking for fpsetmask... (cached) no
checking for fpresetsticky... (cached) no
checking for cuserid... (cached) yes
checking for fcntl... (cached) yes
checking for fconvert... (cached) no
checking for getrusage... (cached) yes
checking for getpwuid... (cached) yes
checking for getcwd... (cached) yes
checking for getrlimit... (cached) yes
checking for getwd... (cached) yes
checking for index... (cached) yes
checking for locking... (cached) no
checking for longjmp... (cached) yes
checking for perror... (cached) yes
checking for pread... (cached) yes
checking for realpath... (cached) yes
checking for rename... (cached) yes
checking for socket... (cached) yes
checking for strnlen... (cached) no
checking for madvise... (cached) yes
checking for strtoul... (cached) yes
checking for strtoull... (cached) no
checking for snprintf... (cached) yes
checking for tempnam... (cached) yes
checking for thr_setconcurrency... (cached) no
checking for gethostbyaddr_r... (cached) no
checking for gethostbyname_r... (cached) no
checking for getpwnam... (cached) yes
checking for bfill... (cached) no
checking for bzero... (cached) yes
checking for bcmp... (cached) yes
checking for strstr... (cached) yes
checking for strpbrk... (cached) yes
checking for strerror... (cached) yes
checking for tell... (cached) yes
checking for atod... (cached) no
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for setupterm... (cached) no
checking for strcasecmp... (cached) yes
checking for sighold... (cached) yes
checking for vidattr... (cached) no
checking for setupterm... (cached) no
checking for lrand48... (cached) yes
checking for localtime_r... (cached) yes
checking for sigset... (cached) yes
checking for sigthreadmask... (cached) no
checking for pthread_sigmask... (cached) no
checking for pthread_setprio... (cached) no
checking for pthread_setprio_np... (cached) no
checking for pthread_setschedparam... (cached) no
checking for pthread_attr_setprio... (cached) no
checking for pthread_attr_setschedparam... (cached) no
checking for pthread_attr_create... (cached) no
checking for pthread_getsequence_np... (cached) no
checking for pthread_attr_setstacksize... (cached) no
checking for pthread_condattr_create... (cached) no
checking for rwlock_init... (cached) no
checking for crypt... (cached) yes
checking for dlopen... (cached) no
checking for dlerror... (cached) no
checking for fchmod... (cached) yes
checking for getpass... (cached) yes
checking for getpassphrase... (cached) no
checking for strtok_r... (cached) yes
checking style of gethostname_r routines... (cached) other
checking 3 argument to gethostname_r routines... (cached) char
checking args to pthread_getspecific... (cached) POSIX
checking args to pthread_mutex_init... (cached) POSIX
checking args to readdir_r... (cached) POSIX
checking style of sigwait... (cached) POSIX
checking for Oracle-OCI8 support... no
checking for Adabas support... no
checking for SAP DB support... no
checking for Solid support... no
checking for IBM DB2 support... no
checking for Empress support... no
checking for Empress local access support... no
checking for Velocis support... no
checking for a custom ODBC support... no
checking for iODBC support... no
checking for Easysoft ODBC-ODBC Bridge support... no
checking for unixODBC support... no
checking for OpenLink ODBC support... no
checking for DBMaker support... no
checking for Oracle-ORACLE support... no
checking for Ovrimos SQL Server support... no
checking whether to include PCRE support... yes
checking for memmove... (cached) yes
checking whether to include PDFlib support... no
checking whether to include Verisign Payflow Pro support... no
checking for PostgreSQL support... no
checking whether to include POSIX-like functions... yes
checking for seteuid... (cached) no
checking for setegid... (cached) no
checking for setsid... (cached) yes
checking for getsid... (cached) yes
checking for setpgid... (cached) yes
checking for ctermid... (cached) yes
checking for mkfifo... (cached) yes
checking for getrlimit... (cached) yes
checking whether to include pspell support... no
checking whether to include QDOM support... no
checking for libedit readline replacement... no
checking for readline support... no
checking for recode support... no
checking for Sablotron XSL support... no
checking libexpat dir for Sablotron 0.50... no
checking whether to enable CORBA support via Satellite... no
checking for mm support... no
checking whether to enable transparent session id propagation... no
checking whether to enable session support... yes
checking whether to enable shmop support... no
checking for SNMP support... no
checking whether to enable UCD SNMP hack... no
checking whether to enable sockets support... no
checking for dlopen... (cached) no
checking for pam_start in -lpam... (cached) yes
checking for getcwd... (cached) yes
checking for getwd... (cached) yes
checking for standard DES crypt... (cached) yes
checking for extended DES crypt... (cached) no
checking for MD5 crypt... (cached) no
checking for Blowfish crypt... (cached) no
checking whether flush should be called explicitly after a bufferered io...
(cached) yes
checking for libswf support... no
checking for Sybase support... no
checking for Sybase-CT support... no
checking whether to enable System V semaphore support... no
checking whether to enable System V shared memory support... no
checking for vpopmail support... no
checking for WDDX support... no
checking whether byte ordering is bigendian... (cached) yes
checking for XML support... yes
checking external libexpat install dir... no
checking whether to enable xslt support... no
checking whether to enable the XSLT Sablotron backend... no
checking libexpat dir for Sablotron XSL support... no
checking for YAZ support... no
checking whether to include YP support... no
checking whether to include zziplib support... no
checking whether to enable versioning... no
checking which regex library to use... php

Configuring Zend
checking bison version... 1.28 (ok)
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for signal.h... (cached) yes
checking for unix.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for dlopen in -ldl... (cached) no
checking for dlopen... (cached) no
checking for uint... (cached) yes
checking for ulong... (cached) no
checking for vprintf... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for memcpy... (cached) yes
checking for strdup... (cached) yes
checking for getpid... (cached) yes
checking for kill... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for finite... (cached) no
checking for fpclass... (cached) no
checking whether sprintf is broken... (cached) no
checking for finite... (cached) no
checking for isfinite... (cached) no
checking for isinf... (cached) no
checking for isnan... (cached) yes
checking whether fp_except is defined... (cached) no
checking whether to enable experimental ZTS... no
checking whether to enable inline optimization for GCC... no
checking whether to enable a memory limit... no
checking whether to enable Zend debugging... no
checking for inline... (cached) inline

Configuring TSRM
checking for stdarg.h... (cached) yes

Configuring libtool
checking build system type... hppa2.0w-hp-hpux11.00
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /opt/binutils/bin/nm -B
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /opt/binutils/bin/nm -B output... ok
checking how to hardcode library paths into programs... relink
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... hpux11.00 dld.sl
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache

Generating files
checking for working mkdir -p... (cached) yes
creating config_vars.mk
creating ./config.status
creating php4.spec
creating Zend/Makefile
creating main/build-defs.h
creating pear/scripts/pear
creating pear/scripts/phpize
creating pear/scripts/php-config
creating TSRM/Makefile
creating main/php_config.h
creating sapi/Makefile
creating ext/Makefile
creating Makefile
creating pear/Makefile
creating main/Makefile
creating ext/mysql/Makefile
creating ext/mysql/libmysql/Makefile
creating ext/pcre/Makefile
creating ext/pcre/pcrelib/Makefile
creating ext/posix/Makefile
creating ext/session/Makefile
creating ext/standard/Makefile
creating ext/xml/Makefile
creating ext/xml/expat/Makefile
creating ext/xml/expat/xmlparse/Makefile
creating ext/xml/expat/xmltok/Makefile
creating sapi/cgi/Makefile
creating regex/Makefile
creating main/internal_functions.c
+--------------------------------------------------------------------+
|                        *** WARNING ***                             |
|                                                                    |
| You will be compiling the CGI version of PHP without any           |
| redirection checking.  By putting this cgi binary somewhere in     |
| your web space, users may be able to circumvent existing .htaccess |
| security by loading files directly through the parser.  See        |
| http://www.php.net/manual/security.php for more details.           |
+--------------------------------------------------------------------+
|                        *** WARNING ***                             |
|                                                                    |
| You chose to compile PHP with the built-in MySQL support.  If you  |
| are compiling a server module, and intend to use other server      |
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0,         |
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and   |
| instead build it with your local MySQL support files, by adding    |
| --with-mysql=/path/to/mysql to your configure line.                |
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

mailweb1 - /opt/php/php-4.0.6 >
mailweb1 - /opt/php/php-4.0.6 >
mailweb1 - /opt/php/php-4.0.6 >
mailweb1 - /opt/php/php-4.0.6 >make
Making all in Zend
Making all in main








gcc  -I. -I/opt/php/php-4.0.6/main -I/opt/php/php-4.0.6/main -I/opt/php/php-
4.0.6 -I/opt/php/php-4.0.6/Zend -I/opt/php/php-4.0.6/ext/mysql/libmysql -I/o
pt/php/php-4.0.6/ext/xml/expat/xmltok -I/opt/php/php-4.0.6/ext/xml/expat/xml
parse -I/opt/php/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  
-c internal_functions.c && touch internal_functions.lo
In file included from /opt/php/php-4.0.6/Zend/../main/php_config.h:1931,
                 from /opt/php/php-4.0.6/Zend/zend_config.h:1,
                 from /opt/php/php-4.0.6/Zend/zend.h:44,
                 from php.h:34,
                 from internal_functions.c:23:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26:
warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: this is the location of the previous definition
        /bin/sh /opt/php/php-4.0.6/libtool --silent --mode=link
gcc  -I. -I/opt/php/php-4.0.6/main -I/opt/php/php-4.0.6/main -I/opt/php/php-
4.0.6 -I/opt/php/php-4.0.6/Zend -I/opt/php/php-4.0.6/ext/mysql/libmysql -I/o
pt/php/php-4.0.6/ext/xml/expat/xmltok -I/opt/php/php-4.0.6/ext/xml/expat/xml
parse -I/opt/php/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  
 -o libmain.la  main.lo internal_functions.lo snprintf.lo php_sprintf.lo
safe_mode.lo fopen_wrappers.lo alloca.lo  php_ini.lo SAPI.lo rfc1867.lo
php_content_types.lo strlcpy.lo  strlcat.lo mergesort.lo reentrancy.lo
php_variables.lo php_ticks.lo  streams.lo  network.lo
php_open_temporary_file.lo php_logos.lo
Making all in ext
Making all in mysql
Making all in libmysql








gcc  -I. -I/opt/php/php-4.0.6/ext/mysql/libmysql -I/opt/php/php-4.0.6/main -
I/opt/php/php-4.0.6 -I/opt/php/php-4.0.6/Zend -I/opt/php/php-4.0.6/ext/mysql
/libmysql -I/opt/php/php-4.0.6/ext/xml/expat/xmltok -I/opt/php/php-4.0.6/ext
/xml/expat/xmlparse -I/opt/php/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORD
ER=21 -g -O2  -c libmysql.c && touch libmysql.lo
In file included from global.h:128,
                 from libmysql.c:9:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26:
warning: this is the location of the previous definition
In file included from global.h:156,
                 from libmysql.c:9:
/usr/include/time.h:24: warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: this is the location of the previous definition
libmysql.c: In function `read_user_name':
libmysql.c:503: dereferencing pointer to incomplete type
libmysql.c:504: warning: assignment makes pointer from integer without a
cast
libmysql.c:504: warning: assignment makes pointer from integer without a
cast
libmysql.c:505: warning: assignment makes pointer from integer without a
cast
libmysql.c: In function `mysql_debug':
libmysql.c:578: warning: assignment makes pointer from integer without a
cast
libmysql.c: In function `mysql_once_init':
libmysql.c:1028: warning: assignment makes pointer from integer without a
cast
libmysql.c:1041: warning: assignment makes pointer from integer without a
cast
libmysql.c: In function `mysql_real_connect':
libmysql.c:1186: warning: assignment makes pointer from integer without a
cast
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
mailweb1 - /opt/php/php-4.0.6 >





If I compile it without --without-mysql the make command result is this :





mailweb1 - /opt/php/php-4.0.6 >make
Making all in Zend
        cd .. \
          && CONFIG_FILES=Zend/Makefile CONFIG_HEADERS= /bin/sh
./config.status
creating Zend/Makefile
Making all in main








gcc  -I. -I/opt/php/php-4.0.6/main -I/opt/php/php-4.0.6/main -I/opt/php/php-
4.0.6 -I/opt/php/php-4.0.6/Zend -I/opt/php/php-4.0.6/ext/xml/expat/xmltok -I
/opt/php/php-4.0.6/ext/xml/expat/xmlparse -I/opt/php/php-4.0.6/TSRM  -DSUPPO
RT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c internal_functions.c && touch
internal_functions.lo
In file included from /opt/php/php-4.0.6/Zend/../main/php_config.h:1931,
                 from /opt/php/php-4.0.6/Zend/zend_config.h:1,
                 from /opt/php/php-4.0.6/Zend/zend.h:44,
                 from php.h:34,
                 from internal_functions.c:23:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26:
warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: this is the location of the previous definition
        /bin/sh /opt/php/php-4.0.6/libtool --silent --mode=link
gcc  -I. -I/opt/php/php-4.0.6/main -I/opt/php/php-4.0.6/main -I/opt/php/php-
4.0.6 -I/opt/php/php-4.0.6/Zend -I/opt/php/php-4.0.6/ext/xml/expat/xmltok -I
/opt/php/php-4.0.6/ext/xml/expat/xmlparse -I/opt/php/php-4.0.6/TSRM  -DSUPPO
RT_UTF8 -DXML_BYTE_ORDER=21 -g -O2   -o libmain.la  main.lo
internal_functions.lo snprintf.lo php_sprintf.lo  safe_mode.lo
fopen_wrappers.lo alloca.lo  php_ini.lo SAPI.lo rfc1867.lo
php_content_types.lo strlcpy.lo  strlcat.lo mergesort.lo reentrancy.lo
php_variables.lo php_ticks.lo  streams.lo  network.lo
php_open_temporary_file.lo php_logos.lo
Making all in ext
Making all in pcre
Making all in pcrelib








gcc  -I. -I/opt/php/php-4.0.6/ext/pcre/pcrelib -I/opt/php/php-4.0.6/main -I/
opt/php/php-4.0.6 -I/opt/php/php-4.0.6/Zend -I/opt/php/php-4.0.6/ext/xml/exp
at/xmltok -I/opt/php/php-4.0.6/ext/xml/expat/xmlparse -I/opt/php/php-4.0.6/T
SRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c maketables.c && touch
maketables.lo
In file included from internal.h:75,
                 from maketables.c:42:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: `__va__list' redefined
/usr/include/ctype.h:26: warning: this is the location of the previous
definition
In file included from internal.h:76,
                 from maketables.c:42:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28:
warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: this is the location of the previous definition








gcc  -I. -I/opt/php/php-4.0.6/ext/pcre/pcrelib -I/opt/php/php-4.0.6/main -I/
opt/php/php-4.0.6 -I/opt/php/php-4.0.6/Zend -I/opt/php/php-4.0.6/ext/xml/exp
at/xmltok -I/opt/php/php-4.0.6/ext/xml/expat/xmlparse -I/opt/php/php-4.0.6/T
SRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c get.c && touch get.lo
In file included from internal.h:75,
                 from get.c:43:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: `__va__list' redefined
/usr/include/ctype.h:26: warning: this is the location of the previous
definition
In file included from internal.h:76,
                 from get.c:43:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28:
warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: this is the location of the previous definition








gcc  -I. -I/opt/php/php-4.0.6/ext/pcre/pcrelib -I/opt/php/php-4.0.6/main -I/
opt/php/php-4.0.6 -I/opt/php/php-4.0.6/Zend -I/opt/php/php-4.0.6/ext/xml/exp
at/xmltok -I/opt/php/php-4.0.6/ext/xml/expat/xmlparse -I/opt/php/php-4.0.6/T
SRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c study.c && touch study.lo
In file included from internal.h:75,
                 from study.c:39:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: `__va__list' redefined
/usr/include/ctype.h:26: warning: this is the location of the previous
definition
In file included from internal.h:76,
                 from study.c:39:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28:
warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: this is the location of the previous definition








gcc  -I. -I/opt/php/php-4.0.6/ext/pcre/pcrelib -I/opt/php/php-4.0.6/main -I/
opt/php/php-4.0.6 -I/opt/php/php-4.0.6/Zend -I/opt/php/php-4.0.6/ext/xml/exp
at/xmltok -I/opt/php/php-4.0.6/ext/xml/expat/xmlparse -I/opt/php/php-4.0.6/T
SRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c pcre.c && touch pcre.lo
In file included from internal.h:75,
                 from pcre.c:53:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: `__va__list' redefined
/usr/include/ctype.h:26: warning: this is the location of the previous
definition
In file included from internal.h:76,
                 from pcre.c:53:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdlib.h:28:
warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: this is the location of the previous definition
        /bin/sh /opt/php/php-4.0.6/libtool --silent --mode=link
gcc  -I. -I/opt/php/php-4.0.6/ext/pcre/pcrelib -I/opt/php/php-4.0.6/main -I/
opt/php/php-4.0.6 -I/opt/php/php-4.0.6/Zend -I/opt/php/php-4.0.6/ext/xml/exp
at/xmltok -I/opt/php/php-4.0.6/ext/xml/expat/xmlparse -I/opt/php/php-4.0.6/T
SRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2   -o libpcre.la
maketables.lo get.lo study.lo pcre.lo








gcc  -I. -I/opt/php/php-4.0.6/ext/pcre -I/opt/php/php-4.0.6/main -I/opt/php/
php-4.0.6 -I/opt/php/php-4.0.6/Zend -I/opt/php/php-4.0.6/ext/xml/expat/xmlto
k -I/opt/php/php-4.0.6/ext/xml/expat/xmlparse -I/opt/php/php-4.0.6/TSRM  -DS
UPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2  -c php_pcre.c && touch php_pcre.lo
In file included from /opt/php/php-4.0.6/Zend/../main/php_config.h:1931,
                 from /opt/php/php-4.0.6/Zend/zend_config.h:1,
                 from /opt/php/php-4.0.6/Zend/zend.h:44,
                 from /opt/php/php-4.0.6/main/php.h:34,
                 from php_pcre.c:25:
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/string.h:26:
warning: `__va__list' redefined
/opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30:
warning: this is the location of the previous definition
php_pcre.c: In function `pcre_get_compiled_regex':
php_pcre.c:158: `LC_CTYPE' undeclared (first use in this function)
php_pcre.c:158: (Each undeclared identifier is reported only once
php_pcre.c:158: for each function it appears in.)
php_pcre.c:158: warning: initialization makes pointer from integer without a
cast
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
mailweb1 - /opt/php/php-4.0.6 >


The compiling problem seem to be also with other packages like fastcgi.
Please help me to find a solution !!! Could it be the compiler ? The PHP
dowloaded ? The O.S. ? Some packages are not installed correctly ???

Thanks a lot,
Emilio Tonelli
[EMAIL PROTECTED]



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to