php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2839 GDBM without gdbm
Submitted: 1999-11-26 20:52 UTC Modified: 2000-06-09 11:56 UTC
From: dhasan at mail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 3 OS: Solaris 2.6 Sparc
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dhasan at mail dot com
New email:
PHP Version: OS:

 

 [1999-11-26 20:52 UTC] dhasan at mail dot com
[concej:cronos:~/apache/php-4.0b3] gcc --version
2.95.2
[concej:cronos:~/apache/php-4.0b3] uname -a
SunOS cronos 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-4
[concej:cronos:~/apache/php-4.0b3] flex --version
flex version 2.5.4
[concej:cronos:~/apache/php-4.0b3] ./configure --enable-static --enable-track-vars
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking whether make sets ${MAKE}... (cached) 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... found
checking for gnutar... (cached) tar
checking whether to enable maintainer-specific portions of Makefiles... no
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 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 perl... (cached) /usr/local/bin/perl
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) flex
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 if compiler supports -R... (cached) yes
checking for sendmail... (cached) /usr/lib/sendmail
checking for gethostname in -lnsl... (cached) yes
checking for socket in -lsocket... (cached) yes
checking for gethostbyaddr in -lnsl... (cached) yes
checking for crypt in -lcrypt... (cached) yes
checking for sin in -lm... (cached) yes
checking for res_search in -lsocket... (cached) no
checking for res_search 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 arpa/inet.h... (cached) yes
checking for crypt.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for grp.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for memory.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for pwd.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 sys/file.h... (cached) yes
checking for sys/mman.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/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 syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for unix.h... (cached) no
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... 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 uint... (cached) yes
checking for ulong... (cached) yes
checking for vprintf... (cached) yes
checking for crypt... (cached) yes
checking for cuserid... (cached) yes
checking for flock... (cached) no
checking for gcvt... (cached) yes
checking for getlogin... (cached) yes
checking for gethostbyaddr... (cached) no
checking for gettimeofday... (cached) yes
checking for inet_aton... (cached) yes
checking for link... (cached) yes
checking for lockf... (cached) yes
checking for lrand48... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for mmap... (cached) yes
checking for putenv... (cached) yes
checking for random... (cached) yes
checking for regcomp... (cached) yes
checking for rint... (cached) yes
checking for setitimer... (cached) yes
checking for setlocale... (cached) yes
checking for setsockopt... (cached) no
checking for setvbuf... (cached) yes
checking for shutdown... (cached) no
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 strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strftime... (cached) yes
checking for strstr... (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 strlcat... (cached) no
checking for strlcpy... (cached) no
checking whether utime accepts a null argument... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for getopt... (cached) yes
checking whether to enable versioning... no
checking whether to use a configuration file... yes
checking whether to include debugging symbols... yes
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking whether to enable track_vars variables by default... yes
checking whether to enable magic quotes by default... no
checking whether to enable runpaths... yes
checking whether to enable short tags by default... yes
checking whether to enable the URL-aware fopen wrapper... yes
checking whether to enable dmalloc... no
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 ASPELL support... no
checking whether to enable bc style precision math functions... no
checking whether to enable DAV support through mod_dav... no
checking for db1/ndbm.h... (cached) no
checking for gdbm_open in -lgdbm... (cached) yes
checking preferred dbm library... gdbm chosen
checking for gdbm.h... (cached) yes
checking for GDBM support... no
checking for NDBM support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... no
checking whether to enable DBA interface... no
checking whether to include the bundled dbase library... no
checking whether to include fdftk support... no
checking whether to include the bundled filePro support... no
checking for FTP support... no
checking whether to include GD support... checking for gdImageLine in -lgd... (cached) no
checking for gdImageString16 in -lgd... (cached) no
checking whether to include GNU gettext support... no
checking for Hyperwave support... no
checking for ICAP support... no
checking for IMAP support... no
checking for Informix support... no
checking for InterBase support... no
checking for Java support... no
checking for 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... no
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 Oracle support... no
checking whether to include PCRE support... yes
checking for memmove... (cached) yes
checking whether to include Pdflib 2.x support... no
checking for PostgresSQL support... no
checking for readline support... no
checking for mm support... no
checking whether to enable transparent session id propagation... no
checking for SNMP support... no
checking whether to enable UCD SNMP hack... no
checking for dlopen in -lc... (cached) no
checking for dlopen in -ldl... (cached) yes
checking for pam_start in -lpam... (cached) yes
checking for inet_aton in -lbind... (cached) no
checking for crypt in -lcrypt... (cached) 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 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 include WDDX support... no
checking for XML support... no
checking whether to include YP support... no
checking whether to include zlib support... no
checking host system type... sparc-sun-solaris2.6
checking build system type... sparc-sun-solaris2.6
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
updating cache ./config.cache
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... 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... failed
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.6 ld.so
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
updating cache ./config.cache
loading cache ./config.cache
checking which regex library to use... php
checking whether to build PHP thread-safe... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating php4.spec
creating ext/Makefile
creating sapi/Makefile
creating ext/db/Makefile
creating ext/pcre/Makefile
creating ext/pcre/pcrelib/Makefile
creating ext/session/Makefile
creating ext/standard/Makefile
creating sapi/cgi/Makefile
creating scripts/mkextlib
creating regex/Makefile
creating build-defs.h
creating php_config.h
php_config.h is unchanged
+ test -d libzend 
+ cd libzend 
+ /u01/home/concej/apache/php-4.0b3/./libzend/configure --cache-file=.././config.cache --enable-static --enable-track-vars --disable-shared 
loading cache .././config.cache
checking for a BSD compatible install... /u01/home/concej/apache/php-4.0b3/./libzend/../install-sh -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking whether make sets ${MAKE}... (cached) 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... found
checking for gnutar... (cached) tar
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 whether gcc and cc understand -c and -o together... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) flex
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 host system type... sparc-sun-solaris2.6
checking build system type... sparc-sun-solaris2.6
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking whether ln -s works... (cached) yes
updating cache .././config.cache
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/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.6 ld.so
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
checking for gcc option to accept ANSI C... (cached) none needed
checking for inline... (cached) inline
checking for dlopen in -lc... (cached) no
checking for dlopen in -ldl... (cached) yes
checking for ANSI C header files... (cached) yes
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 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 broken sprintf... ok
checking whether to include debugging symbols... yes
checking whether to enable inline... yes
checking for inline... (cached) inline
checking whether to enable a memory limit... no
checking whether to build Zend thread-safe... no
creating ./config.status
creating Makefile
creating zend_config.h
zend_config.h is unchanged
creating internal_functions.c
internal_functions.c is unchanged
+--------------------------------------------------------------------+
| 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/config-security.php3 for more details.   |
+--------------------------------------------------------------------+
| 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.                            |
+--------------------------------------------------------------------+
[concej:cronos:~/apache/php-4.0b3] make
make  all-recursive
make[1]: Entering directory `/u01/home/concej/apache/php-4.0b3'
Making all in libzend
make[2]: Entering directory `/u01/home/concej/apache/php-4.0b3/libzend'
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend-scanner.lo zend-scanner.c
/bin/sh ./libtool --silent --mode=link gcc  -g -O2 -g   -o libzend_c.la   zend-scanner.lo  
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend-parser.lo zend-parser.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_alloc.lo zend_alloc.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_compile.lo zend_compile.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_constants.lo zend_constants.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_execute.lo zend_execute.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_execute_API.lo zend_execute_API.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_highlight.lo zend_highlight.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_llist.lo zend_llist.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_opcode.lo zend_opcode.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_operators.lo zend_operators.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_ptr_stack.lo zend_ptr_stack.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_stack.lo zend_stack.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_variables.lo zend_variables.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend.lo zend.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_API.lo zend_API.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_extensions.lo zend_extensions.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_hash.lo zend_hash.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_list.lo zend_list.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_indent.lo zend_indent.c
/bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/u01/home/concej/apache/php-4.0b3/./libzend -I.     -g -O2 -g -c -o zend_builtin_functions.lo zend_builtin_functions.c
/bin/sh ./libtool --silent --mode=link gcc  -g -O2 -g   -o libzend.la  -ldl  zend-parser.lo zend_alloc.lo zend_compile.lo zend_constants.lo zend_execute.lo zend_execute_API.lo zend_highlight.lo zend_llist.lo zend_opcode.lo zend_operators.lo zend_ptr_stack.lo zend_stack.lo zend_variables.lo zend.lo zend_API.lo zend_extensions.lo zend_hash.lo zend_list.lo zend_indent.lo zend_builtin_functions.lo libzend_c.la 
make[2]: Leaving directory `/u01/home/concej/apache/php-4.0b3/libzend'
Making all in ext
make[2]: Entering directory `/u01/home/concej/apache/php-4.0b3/ext'
Making all in db
make[3]: Entering directory `/u01/home/concej/apache/php-4.0b3/ext/db'
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../.. -I../../libzend         -g -O2 -g -O2 -c -o db.lo db.c
db.c:56: gdbm.h: No such file or directory
make[3]: *** [db.lo] Error 1
make[3]: Leaving directory `/u01/home/concej/apache/php-4.0b3/ext/db'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/u01/home/concej/apache/php-4.0b3/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u01/home/concej/apache/php-4.0b3'
make: *** [all-recursive-am] Error 2
[concej:cronos:~/apache/php-4.0b3] 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-09 14:55 UTC] joey at cvs dot php dot net
Is this bug still there? Is it possible that you were building a non-clean environment?
Please try CVS or snapshot (http://snaps.php.net)
 [2000-06-09 11:56 UTC] stas at cvs dot php dot net
no user feedback
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Mar 14 17:01:29 2025 UTC