php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14941 Trying to build PHP. attached is the configure output and the error message.
Submitted: 2002-01-08 22:07 UTC Modified: 2002-05-23 00:00 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: sroddy at ligo-la dot caltech dot edu Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.1.1 OS: Solaris 8
Private report: No CVE-ID: None
 [2002-01-08 22:07 UTC] sroddy at ligo-la dot caltech dot edu
./configure --prefix=/export/www/php_4.0.4 --with-apxs=/export/www/apache_1.3.14/bin/apxs --with-config-file-path=/export/www/apache_1.3.14 --with-mysql=/export/www/mysql_3.22.32 --enable-magic-quotes --enable-track-vars --enable-safe-mode --with-regex=system

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... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... sparc-sun-solaris2.8
checking for gawk... (cached) nawk
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) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for working const... (cached) yes
checking for pthreads_cflags... (cached) -pthreads
checking for pthreads_lib... (cached) 

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache module support via DSO through APXS... yes
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 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 TUX... no
checking for chosen SAPI module... apache

Running system checks
checking for missing declarations of reentrant functions... done
checking whether compiler supports -R... (cached) yes
checking for sendmail... (cached) /usr/lib/sendmail
checking whether system uses EBCDIC... (cached) no
checking for socket in -lsocket... (cached) yes
checking for yp_get_default_domain... yes
checking for dlopen in -ldl... (cached) yes
checking for sin in -lm... (cached) yes
checking for inet_aton in -lresolv... (cached) yes
checking for res_search in -lsocket... (cached) yes
checking for dn_skipname in -lresolv... (cached) no
checking for __dn_skipname in -lresolv... (cached) yes
checking for ANSI C header files... (cached) yes
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) yes
checking for langinfo.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for pwd.h... (cached) yes
checking for resolv.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stdlib.h... (cached) yes
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) yes
checking for sys/socket.h... (cached) yes
checking for sys/statfs.h... (cached) yes
checking for sys/statvfs.h... (cached) yes
checking for sys/vfs.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) yes
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) yes
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 crypt... (cached) yes
checking for flock... (cached) no
checking for gai_strerror... (cached) yes
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 nl_langinfo... (cached) yes
checking for putenv... (cached) yes
checking for realpath... (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) yes
checking for strlcat... (cached) yes
checking for strlcpy... (cached) yes
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... yes
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... yes
checking whether to enable runpaths... yes
checking whether to explicitly link against libgcc... yes
checking whether to enable short tags by default... 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 for 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 for cyrus imap 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 for dbplus support... 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 mailparse 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 ncurses support... no
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 enable pcntl 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) yes
checking for setegid... (cached) yes
checking for setsid... (cached) yes
checking for getsid... (cached) yes
checking for setpgid... (cached) yes
checking for getpgid... (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 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 for pread... (cached) yes
checking for pwrite... (cached) yes
checking whether pwrite works without custom declaration... (cached) yes
checking whether pread works without custom declaration... (cached) 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) yes
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 for XMLRPC-EPI support... no
checking libexpat dir for XMLRPC-EPI... 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... system

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 sys/time.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) yes
checking for dlopen... (cached) yes
checking for uint... (cached) yes
checking for ulong... (cached) yes
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) yes
checking for fpclass... (cached) yes
checking whether sprintf is broken... (cached) no
checking for finite... (cached) yes
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 for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking build system type... sparc-sun-solaris2.8
checking for ld used by GCC... (cached) /opt/gnu/sparc-sun-solaris2.8/bin/ld
checking if the linker (/opt/gnu/sparc-sun-solaris2.8/bin/ld) is GNU ld... (cached) yes
checking for /opt/gnu/sparc-sun-solaris2.8/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /opt/gnu/bin/nm -B
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /opt/gnu/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached)     -fPIC
checking if gcc PIC flag     -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/opt/gnu/sparc-sun-solaris2.8/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... (cached) yes
creating libtool

Generating files
checking for working mkdir -p... (cached) yes
creating config_vars.mk
updating cache ./config.cache
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 pear/scripts/pearize
creating pear/scripts/phptar
creating TSRM/Makefile
creating main/php_config.h
main/php_config.h is unchanged
creating sapi/Makefile
creating ext/Makefile
creating Makefile
creating pear/Makefile
creating main/Makefile
creating ext/mysql/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 sapi/apache/Makefile
creating main/internal_functions.c
+--------------------------------------------------------------------+
| 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.


--- snip ---

/www/php-4.1.1/main -I/export/www/php-4.1.1/main -I/export/www/php-4.1.1 -I/export/www/apache_1.3.14/include -I/export/www/php-4.1.1/Zend -I/export/www/mysql_3.22.32/include -I/export/www/php-4.1.1/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT -I/export/www/php-4.1.1/TSRM -g -O2 -prefer-pic  -c alloca.c
In file included from /usr/include/math.h:231,
                 from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include/math.h:5,
                 from php_config.h:2044,
                 from alloca.c:24:
/usr/include/floatingpoint.h:159: parse error before `FILE'
make[2]: *** [alloca.lo] Error 1
make[2]: Leaving directory `/export/www/php-4.1.1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/www/php-4.1.1/main'
make: *** [all-recursive] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-22 23:45 UTC] sniper@php.net
Does this happen with PHP 4.2.0 ?

 [2002-05-23 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC