problems compiling PHP for QNX
| From: | Maurizio Cauci | Date: | Wed, 13 Dec 2000 16:53:51 +0000 |
| Subject: | problems compiling PHP for QNX | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-30262@lists.php.net to get a copy of this message | ||
Hi,
my previous mails was not published so I retry again.
I have some problems compiling PHP for QNX. There are 3 weeks I try but I
always receive errors.
I have QNX4.25 and also I have all the prerequisite requested in README.QNX
(dbm, bison, flex, diffutils).
I also have gcc 2.81 and egcs 2.91.60.
I try to compile for APACHE and PGSQL.
Attached are the the begin of configuration.log and make.log files.
Could you help me please??
MAKE.LOG
Making all in Zend
make[1]: Entering directory `/home/php-4.0.3pl1/Zend'
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I//1/home/php-4.0.3pl1/Zend -I.. -DXML_BYTE_ORDER
=12 -g -O2 -c zend-scanner.c
In file included from zend.h:49,
from zend-scanner.c:2620:
/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/unix.h:119:
warning: `struct winsize' declared inside parameter list
/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/unix.h:119:
warning: its scope is only this definition or declaration,
/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/unix.h:119:
warning: which is probably not what you want.
/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/unix.h:119:
warning: `struct termios' declared inside parameter list
/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/unix.h:120:
warning: `struct winsize' declared inside parameter list
/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/include/unix.h:120:
warning: `struct termios' declared inside parameter list
/bin/sh ../libtool --silent --mode=link gcc -g -O2 -o libZend_c.la
END MAKE.LOG
make[2]: Leaving directory `/home/php-4.0.3pl1/regex'
make[1]: Leaving directory `/home/php-4.0.3pl1/regex'
Making all in .
make[1]: Entering directory `/home/php-4.0.3pl1'
gcc -I. -I//1/home/php-4.0.3pl1/ -I/home/php-4.0.3pl1 -I/home/php-4.0.3pl1/
main -I/home/apache_1.3.14/src/include -I/home/apache_1.3.14/src/os/unix -I/
home/apache_1.3.14/src/ap -I/home/php-4.0.3pl1/Zend -I//1/home/php-4.0.3pl1
-I//1/home/php-4.0.3pl1/ext/mysql/libmysql -I//1/home/php-4.0.3pl1/ext/xml/e
xpat/xmltok -I//1/home/php-4.0.3pl1/ext/xml/expat/xmlparse -I/home/php-4.0.3
pl1/TSRM -I//1/home/php-4.0.3pl1/main -I//1/home/php-4.0.3pl1/Zend -I//1/hom
e/php-4.0.3pl1/TSRM -DXML_BYTE_ORDER=12 -g -O2 -c stub.c && touch stub.lo
make[1]: *** No rule to make target `sapi/apache/libsapi.la', needed by
`libphp4.la'. Stop.
make[1]: Leaving directory `/home/php-4.0.3pl1'
make: [all-recursive] Error 1 (ignored)
CONFIG.LOG
creating cache ./config.cache
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking for a BSD compatible install... //1/home/php-4.0.3pl1/install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i386-pc-qnx
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for bison... bison -y
checking bison version... 1.25 (ok)
checking for gcc... gcc
checking whether the C compiler (gcc -lunix) works... yes
checking whether the C compiler (gcc -lunix) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... 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 for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for flex... flex
checking for flex... (cached) 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...
checking for pthreads_lib...
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache module support via DSO through APXS... no
checking for Apache module support... yes - Apache 1.3.x
checking for mod_charset compatibility option... no
checking whether gcc supports -rdynamic... no
checking for fhttpd module 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... apache
Running system checks
checking for missing declarations of reentrant functions... done
checking whether compiler supports -R... no
checking whether compiler supports -Wl,-rpath,... no
checking for sendmail... /usr/bin/sendmail
checking whether system uses EBCDIC... no
checking for socket in -lsocket... yes
checking for yp_get_default_domain... no
checking for gethostname in -lnsl... yes
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... no
checking for sin in -lm... yes
checking for inet_aton in -lbind... yes
checking for inet_aton in -lresolv... yes
checking for res_search in -lsocket... yes
checking for dn_skipname in -lresolv... no
checking for __dn_skipname in -lresolv... yes
checking for ANSI C header files... yes
checking for dirent.h... yes
checking for fclose declaration... ok
checking for alloca.h... no
checking for arpa/inet.h... yes
checking for crypt.h... no
checking for fcntl.h... yes
checking for grp.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for netinet/in.h... yes
checking for pwd.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/resource.h... no
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... no
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for unistd.h... yes
checking for unix.h... yes
checking for utime.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... no
checking for tzname... yes
checking for tm_gmtoff in struct tm... no
checking for struct flock... yes
checking for socklen_t... no
checking size of long... 4
checking size of int... 4
checking for st_blksize in struct stat... no
configure: warning: warnings level for cc set to 0
checking for st_rdev in struct stat... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_in6... no
checking for vprintf... yes
checking for asctime_r... no
checking for crypt... yes
checking for ctime_r... no
checking for cuserid... yes
checking for flock... yes
checking for gcvt... yes
checking for getlogin... yes
checking for gethostbyaddr... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... no
checking for inet_aton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... no
checking for lockf... no
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for putenv... yes
checking for random... yes
checking for rand_r... no
checking for regcomp... yes
checking for setitimer... yes
checking for setlocale... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... no
checking for std_syslog... no
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strstr... yes
checking for strtok_r... no
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for getaddrinfo... no
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... (cached) no
checking for alloca... yes
checking whether sprintf is broken... no
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... no
checking whether to use a configuration file... yes
checking whether to include debugging symbols... no
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
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 the URL-aware fopen wrapper... yes
checking whether to enable PIC for shared objects... yes
checking whether to enable dmalloc... no
checking whether to install PEAR... yes
Configuring extensions
checking for ASPELL support... no
checking whether to enable bc style precision math functions... no
checking whether to enable calendar conversion support... no
checking CCVS Support... no
checking whether to include cpdflib support... no
checking for CURL support... no
checking for CyberCash support... no
checking whether to enable DAV support through mod_dav... 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 include DOM support... no
checking whether to enable exif support... no
checking whether to include fdftk support... no
checking whether to enable the bundled filePro 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 Hyperwave support... no
checking for ICAP support... no
checking for Kerberos support in IMAP... no
checking for SSL support in IMAP... no
checking for IMAP support... no
checking for Informix support... no
checking for Ingres II support... no
checking for InterBase support... no
checking for Java support... no
checking whether to include LDAP support... no
checking for MCAL support... no
checking for mcrypt support... no
checking for mhash support... no
checking for mSQL support... no
checking for MySQL support... yes
checking for MySQL UNIX socket... /tmp/mysql.sock
checking for inline... inline
checking return type of signal handlers... void
checking for ANSI C header files... (cached) yes
checking for sgtty.h... yes
checking for sys/ioctl.h... yes
checking for fcntl.h... (cached) yes
checking for float.h... yes
checking for floatingpoint.h... no
checking for ieeefp.h... no
checking for limits.h... (cached) yes
checking for memory.h... no
checking for pwd.h... (cached) yes
checking for select.h... no
checking for stdlib.h... (cached) yes
checking for stddef.h... yes
checking for strings.h... no
checking for string.h... (cached) yes
checking for synch.h... no
checking for sys/mman.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking for sys/un.h... yes
checking for sys/vadvise.h... no
checking for sys/wait.h... (cached) yes
checking for term.h... yes
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for sys/utime.h... no
checking for termio.h... yes
checking for termios.h... yes
checking for sched.h... no
checking for crypt.h... (cached) no
checking for alloca.h... (cached) no
checking size of char... 1
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... 8
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for uid_t in sys/types.h... (cached) yes
checking for type ulong... no
checking for type uchar... no
checking for type uint... no
checking base type of last arg to accept... int
checking for alarm... yes
checking for bmove... no
checking for chsize... yes
checking for ftruncate... yes
checking for rint... no
checking for finite... no
checking for fpsetmask... no
checking for fpresetsticky... no
checking for cuserid... (cached) yes
checking for fcntl... yes
checking for fconvert... no
checking for getrusage... (cached) yes
checking for getpwuid... yes
checking for getcwd... yes
checking for getrlimit... no
checking for getwd... yes
checking for index... yes
checking for locking... yes
checking for longjmp... yes
checking for perror... yes
checking for pread... no
checking for realpath... yes
checking for rename... yes
checking for socket... yes
checking for strnlen... no
checking for madvise... no
checking for strtoul... yes
checking for strtoull... no
checking for snprintf... (cached) yes
checking for tempnam... (cached) yes
checking for thr_setconcurrency... no
checking for gethostbyaddr_r... no
checking for gethostbyname_r... no
checking for getpwnam... yes
checking for bfill... no
checking for bzero... yes
checking for bcmp... yes
checking for strstr... (cached) yes
checking for strpbrk... yes
checking for strerror... (cached) yes
checking for tell... yes
checking for atod... no
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for setupterm... no
checking for strcasecmp... (cached) yes
checking for sighold... yes
checking for vidattr... no
checking for setupterm... (cached) no
checking for lrand48... (cached) yes
checking for localtime_r... (cached) no
checking for sigset... yes
checking for sigthreadmask... no
checking for pthread_sigmask... no
checking for pthread_setprio... no
checking for pthread_setprio_np... no
checking for pthread_setschedparam... no
checking for pthread_attr_setprio... no
checking for pthread_attr_setschedparam... no
checking for pthread_attr_create... no
checking for pthread_getsequence_np... no
checking for pthread_attr_setstacksize... no
checking for pthread_condattr_create... no
checking for rwlock_init... no
checking for crypt... (cached) yes
checking for dlopen... no
checking for dlerror... no
checking for fchmod... yes
checking for getpass... yes
checking for getpassphrase... no
checking for strtok_r... (cached) no
checking style of gethostname_r routines... other
checking args to pthread_getspecific... other
checking args to pthread_mutex_init... other
checking args to readdir_r... other
checking style of sigwait... other
checking style of sigwait... other
checking for Oracle-OCI8 support... no
checking for Adabas support... no
checking for Solid support... no
checking for IBM DB2 support... no
checking for Empress 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 3.x support... no
checking whether to include Verisign Payflow Pro support... no
checking for PostgreSQL support... yes
checking for PQcmdTuples in -lpq... yes
checking for PQoidValue in -lpq... yes
checking for PQclientEncoding in -lpq... yes
checking for pg_encoding_to_char in -lpq... no
checking whether to include POSIX-like functions... yes
checking for seteuid... yes
checking for setegid... yes
checking for setsid... yes
checking for getsid... yes
checking for setpgid... yes
checking for ctermid... yes
checking for mkfifo... yes
checking for getrlimit... (cached) no
checking whether to include pspell support... no
checking for readline support... no
checking for recode support... no
checking for Sablotron XSL support... 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 OpenSSL support in SNMP... 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... no
checking for getcwd... (cached) yes
checking for getwd... (cached) yes
checking for standard DES crypt... yes
checking for extended DES crypt... no
checking for MD5 crypt... no
checking for Blowfish crypt... no
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 whether to enable WDDX support... no
checking whether byte ordering is bigendian... no
checking for XML support... yes
checking for YAZ support... no
checking whether to include YP support... no
checking whether to include zlib support... no
checking whether to enable versioning... no
checking which regex library to use... php
Configuring Zend
checking bison version... 1.25 (ok)
checking for limits.h... (cached) yes
checking for malloc.h... 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) yes
checking for dlfcn.h... no
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... no
checking for ulong... no
checking for vprintf... (cached) yes
checking for 8-bit clean memcmp... yes
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for memcpy... (cached) yes
checking for strdup... (cached) yes
checking for getpid... yes
checking for kill... yes
checking for strtod... yes
checking for strtol... yes
checking for finite... (cached) no
checking whether sprintf is broken... (cached) no
checking for finite... (cached) no
checking for isfinite... no
checking for isinf... no
checking for isnan... no
checking whether fp_except is defined... 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... i386-pc-qnx
checking for ld used by GCC...
/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/ld
checking if the linker (/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/ld)
is GNU ld... no
checking for BSD-compatible nm... nm
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... .map
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/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/ld)
is GNU ld... no
checking whether the linker
(/usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/ld) supports shared
libraries... no
checking command to parse nm output... failed
checking how to hardcode library paths into programs... unsupported
checking for /usr/local/lib/gcc-lib/i386-pc-qnx4/egcs-2.91.60/ld option to
reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
Generating files
checking for working mkdir -p... yes
creating config_vars.mk
updating cache ./config.cache
creating ./config.status
creating php4.spec
creating Zend/Makefile
creating build-defs.h
creating sapi/apache/libphp4.module
creating pear/pear
creating pear/phpize
creating pear/php-config
creating pear/PEAR.php
creating TSRM/Makefile
creating 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/pgsql/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/apache/Makefile
creating regex/Makefile
creating main/internal_functions.c
+--------------------------------------------------------------------+
| *** 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.
thanks
Maurizio
--
Maurizio Cauci
DREAMTECH di Cauci Maurizio
Via Ronchetti, 2 - 21013 Gallarate (VA)
www.dreamtech-it.com