|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-09-08 09:28 UTC] david at switch dot be
[2000-10-17 19:40 UTC] sniper@php.net
[2000-11-27 09:48 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 20:00:02 2026 UTC |
when trying to compile php 4.0.2 on solaris 8 with the latest version of the sun forte compiles i get a compile failure configure line : ./configure --prefix=/apps/nse/php --with-nsapi=/apps/nse --with-config-file-path=/apps/nse/php/conf --with-mysql make output : Cacofonix[itadm] /apps/tmp/php-4.0.2 > make Making all in Zend /bin/sh ../libtool --silent --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I.. -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DXML_BYTE_ORDER=21 -I../TSRM -DTHREAD=1 -mt -c zend-scanner-cc.cc "zend_compile.h", line 31: Error: Could not open include file <istream.h>. "./zend-scanner.l", line 91: Error: stdiobuf is not defined. "./zend-scanner.l", line 94: Error: Type name expected instead of "stdiobuf". "./zend-scanner.l", line 94: Error: No storage class or type for this declaration. "./zend-scanner.l", line 94: Error: "," expected instead of "*". "./zend-scanner.l", line 93: Error: istream is not a direct base class of istdiostream. "./zend-scanner.l", line 93: Error: Cannot use __FILE* to initialize int. "./zend-scanner.l", line 93: Error: Formal argument sb of type std::basic_streambuf<char, std::char_traits<char>>* in call to std::basic_ios<char, std::char_traits<char>>::init(std::basic_streambuf<char, std::char_traits<char>>*) is being passed int*. "./zend-scanner.l", line 204: Error: stdiofile is not a member of std::basic_streambuf<char, std::char_traits<char>>. "./zend-scanner.l", line 432: Warning: String literal converted to char* in formal argument new_compiled_filename in call to zend_set_compiled_filename(char*). "./zend-scanner.l", line 1035: Warning: String literal converted to char* in assignment. "zend-scanner-cc.cc", line 4697: Error: Cannot assign std::basic_istream<char, std::char_traits<char>>* to istream*. "zend-scanner-cc.cc", line 4801: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend-scanner-cc.cc", line 4905: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend-scanner-cc.cc", line 4978: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend-scanner-cc.cc", line 4992: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend-scanner-cc.cc", line 5112: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend-scanner-cc.cc", line 5233: Error: Cannot assign istream* to std::basic_istream<char, std::char_traits<char>>*. "zend-scanner-cc.cc", line 5244: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend-scanner-cc.cc", line 5253: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend-scanner-cc.cc", line 5284: Error: Cannot assign std::basic_istream<char, std::char_traits<char>>* to istream*. "zend-scanner-cc.cc", line 5346: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). "zend-scanner-cc.cc", line 5360: Warning: String literal converted to char* in formal argument message in call to zend_fatal_scanner_error(char*). 12 Error(s) and 11 Warning(s) detected. *** Error code 1 make: Fatal error: Command failed for target `zend-scanner-cc.lo' Current working directory /apps/tmp/php-4.0.2/Zend *** Error code 1 make: Fatal error: Command failed for target `all-recursive' the istream.h file is nowhere to be found on the system output from configure : 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}... 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 Updated php_version.h checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... sparc-sun-solaris2.8 checking for gawk... no checking for mawk... no checking for nawk... nawk checking for bison... bison -y checking bison version... 1.28 (ok) checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... no checking whether cc accepts -g... yes checking how to run the C preprocessor... cc -E checking for AIX... no checking for cc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether cc understands -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... -mt 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... no checking for mod_charset compatibility option... 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 Zeus ISAPI support... no checking for NSAPI support... /apps/nse checking for NSAPI include files... iPlanet/4.x style 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... nsapi Running system checks checking for missing declarations of reentrant functions... done checking whether compiler supports -R... yes checking for sendmail... /usr/lib/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... yes checking for sin in -lm... yes checking for inet_aton in -lbind... no 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 that defines DIR... yes checking for opendir in -ldir... no checking for fclose declaration... ok checking for alloca.h... yes checking for arpa/inet.h... yes checking for crypt.h... yes 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... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/time.h... yes checking for sys/types.h... yes checking for sys/varargs.h... yes checking for sys/wait.h... yes checking for unistd.h... yes checking for unix.h... no 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... yes checking size of long... 4 checking size of int... 4 checking for st_blksize in struct stat... yes checking for st_blocks in struct stat... yes checking for st_rdev in struct stat... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for vprintf... yes checking for asctime_r... yes checking for crypt... yes checking for ctime_r... yes checking for cuserid... yes checking for flock... no checking for gcvt... yes checking for getlogin... yes checking for gethostbyaddr... yes checking for getrusage... yes checking for gettimeofday... yes checking for gmtime_r... yes checking for inet_aton... yes checking for isascii... yes checking for link... yes checking for localtime_r... yes checking for lockf... yes checking for lrand48... yes checking for memcpy... yes checking for memmove... yes checking for mmap... yes checking for putenv... yes checking for random... yes checking for rand_r... yes 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... yes 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... yes checking for symlink... yes checking for tempnam... yes checking for tzset... yes checking for unsetenv... no checking for usleep... yes checking for utime... yes checking for vsnprintf... yes checking for strlcat... yes checking for strlcpy... yes checking for getopt... yes checking whether utime accepts a null argument... yes checking for working alloca.h... (cached) yes 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... yes checking for type of readdir_r... POSIX 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 for db1/ndbm.h... no checking for gdbm_open in -lgdbm... no checking for dbm_open in -ldb... no checking for dbm_open in -lc... yes checking preferred dbm library... ndbm chosen 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... checking for gdImageLine in -lgd... yes checking for gdImageString16 in -lgd... yes checking for gdImageString16 in -lgd... (cached) yes checking for compress in -lz... yes checking for png_info_init in -lpng... yes checking for gdImageColorResolve in -lgd... yes checking for gdImageCreateFromPng in -lgd... yes checking for gdImageCreateFromGif in -lgd... no checking whether to include ttf support... no checking for T1lib support... no checking whether to enable 4bit antialias hack with FreeType2... 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 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... no 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... yes checking for ieeefp.h... yes checking for limits.h... (cached) yes checking for memory.h... yes 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... yes checking for string.h... (cached) yes checking for synch.h... yes 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... yes checking for termio.h... yes checking for termios.h... yes checking for sched.h... yes checking for crypt.h... (cached) yes checking for alloca.h... (cached) yes 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... yes checking for type uchar... no checking for type uint... yes checking base type of last arg to accept... int checking for alarm... yes checking for bmove... no checking for chsize... no checking for ftruncate... yes checking for rint... yes checking for finite... yes checking for fpsetmask... yes checking for fpresetsticky... no checking for cuserid... (cached) yes checking for fcntl... yes checking for fconvert... yes checking for getrusage... (cached) yes checking for getpwuid... yes checking for getcwd... yes checking for getrlimit... yes checking for getwd... yes checking for index... yes checking for locking... no checking for longjmp... yes checking for perror... yes checking for pread... yes checking for realpath... yes checking for rename... yes checking for socket... yes checking for strnlen... no checking for madvise... yes checking for strtoul... yes checking for strtoull... yes checking for snprintf... (cached) yes checking for tempnam... (cached) yes checking for thr_setconcurrency... yes checking for gethostbyaddr_r... yes checking for gethostbyname_r... yes 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) yes checking for sigset... yes checking for sigthreadmask... no checking for pthread_sigmask... yes checking for pthread_setprio... no checking for pthread_setprio_np... no checking for pthread_setschedparam... yes checking for pthread_attr_setprio... no checking for pthread_attr_setschedparam... yes checking for pthread_attr_create... no checking for pthread_getsequence_np... no checking for pthread_attr_setstacksize... yes checking for pthread_condattr_create... no checking for rwlock_init... yes checking for crypt... (cached) yes checking for dlopen... yes checking for dlerror... yes checking for fchmod... yes checking for getpass... yes checking for getpassphrase... yes checking for strtok_r... (cached) yes checking style of gethostname_r routines... other checking args to pthread_getspecific... POSIX checking args to pthread_mutex_init... POSIX checking args to readdir_r... POSIX checking style of sigwait... POSIX 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 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... 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) yes checking whether to include pspell support... no checking for readline support... no checking for recode support... no checking for mm support... no checking whether to enable transparent session id propagation... no checking whether to enable session support... yes 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) yes checking for pam_start in -lpam... yes 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... yes 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.28 (ok) checking for limits.h... (cached) yes checking for malloc.h... no 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... no 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... yes checking for ulong... yes checking for vprintf... (cached) yes checking for 8-bit clean memcmp... 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... yes checking for kill... yes checking for strtod... yes checking for strtol... yes checking for finite... (cached) yes checking whether sprintf is broken... (cached) no checking for finite... (cached) yes checking for isfinite... no checking for isinf... no checking for isnan... yes checking whether fp_except is defined... no checking whether to enable C9x-inline semantics... no checking whether to enable experimental ZTS... yes 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 c++... no checking for g++... no checking for gcc... no checking for CC... CC checking whether the C++ compiler (CC ) works... yes checking whether the C++ compiler (CC ) is a cross-compiler... no checking whether we are using GNU C++... no checking whether CC accepts -g... yes checking how to run the C++ preprocessor... CC -E checking for stdiostream.h... no checking for cin in -lC... no checking for cin in -lg++... yes checking for cin in -lstdc++... no checking for cin in -lcxx... no checking for __array_delete in -lcxxstd... no checking for class istdiostream... no checking for inline... (cached) no Configuring TSRM checking for stdarg.h... (cached) yes checking for pthreads_cflags... (cached) -mt checking for pthreads_lib... (cached) checking for POSIX threads... yes Configuring libtool checking build system type... sparc-sun-solaris2.8 checking for non-GNU ld... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for BSD-compatible nm... /usr/ccs/bin/nm -p updating cache ./config.cache checking whether we are using GNU C... no checking for object suffix... o checking for executable suffix... no checking for /apps/tmp/php-4.0.2/meta_ccld option to produce PIC... -KPIC checking if /apps/tmp/php-4.0.2/meta_ccld PIC flag -KPIC works... yes checking if /apps/tmp/php-4.0.2/meta_ccld supports -c -o file.o... yes checking if /apps/tmp/php-4.0.2/meta_ccld supports -c -o file.lo... no checking if /apps/tmp/php-4.0.2/meta_ccld static flag -Bstatic works... none checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking command to parse /usr/ccs/bin/nm -p output... ok checking how to hardcode library paths into programs... immediate checking for /usr/ccs/bin/ld option to reload object files... -r checking dynamic linker characteristics... solaris2.8 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for objdir... .libs creating libtool 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 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/db/Makefile creating ext/gd/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/nsapi/Makefile creating regex/Makefile creating main/internal_functions.c