php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2818 i cannot finish "make"
Submitted: 1999-11-24 12:05 UTC Modified: 1999-11-25 06:12 UTC
From: poc at secunet dot cz Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: SuSe Linux 6.2
Private report: No CVE-ID: None
 [1999-11-24 12:05 UTC] poc at secunet dot cz
Hi, i have problem with compiling PHP.
i typed:
cd apache_1.3.9
./configure
-OK.
then cd../php-4.0.b3 (or 3.0.12 - it's the same)
./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars

loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
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 for gnutar... (cached) gtar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bison... (cached) bison -y
checking bison version... 1.25 (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/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) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for sendmail... (cached) /usr/sbin/sendmail
checking for gethostname in -lnsl... (cached) yes
checking for socket in -lsocket... (cached) no
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) no
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) yes
checking for tm_gmtoff in struct tm... (cached) yes
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) no
checking for cuserid... (cached) yes
checking for flock... (cached) yes
checking for gcvt... (cached) yes
checking for getlogin... (cached) yes
checking for gethostbyaddr... (cached) yes
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) 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 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) yes
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... yes - Apache 1.3.x
checking for mod_charset compatibility option... 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) yes
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) yes
checking for gdImageString16 in -lgd... (cached) yes
checking whether to include ttf support... yes
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 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... yes (static)
checking for errmsg.h... (cached) yes
checking for mysql.h... (cached) yes
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... yes
checking for MD5 crypt... yes
checking for Blowfish crypt... yes
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... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/i486-linux/bin/ld
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/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 ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-linux/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux 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 which regex library to use... apache
checking whether to build PHP thread-safe... no
creating ./config.status
creating Makefile
creating php4.spec
creating ext/Makefile
creating sapi/Makefile
creating ext/apache/Makefile
creating sapi/apache/libphp4.module
creating ext/db/Makefile
creating ext/gd/Makefile
creating ext/mysql/Makefile
creating ext/pcre/Makefile
creating ext/pcre/pcrelib/Makefile
creating ext/session/Makefile
creating ext/standard/Makefile
creating sapi/apache/Makefile
creating scripts/mkextlib
creating regex/Makefile
creating build-defs.h
creating php_config.h
loading cache .././config.cache
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
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 for gnutar... (cached) gtar
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.25 (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... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/i486-linux/bin/ld
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
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 ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-linux/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux 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
+--------------------------------------------------------------------+
| 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.                            |
+--------------------------------------------------------------------+

THEN:
make

make  all-recursive
make[1]: Entering directory `/usr/local/php-4.0b3'
Making all in libzend
make[2]: Entering directory `/usr/local/php-4.0b3/libzend'
make[2]: Leaving directory `/usr/local/php-4.0b3/libzend'
Making all in ext
make[2]: Entering directory `/usr/local/php-4.0b3/ext'
Making all in apache
make[3]: Entering directory `/usr/local/php-4.0b3/ext/apache'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/php-4.0b3/ext/apache'
Making all in db
make[3]: Entering directory `/usr/local/php-4.0b3/ext/db'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/php-4.0b3/ext/db'
Making all in gd
make[3]: Entering directory `/usr/local/php-4.0b3/ext/gd'
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend -I../.. -I../../libzend -I/usr/local/apache_1.3.9/src/include -I/usr/local/apache_1.3.9/src/os/unix   -I/usr/include/mysql      -g -O2 -g -O2 -c -o gd.lo gd.c
make[3]: Leaving directory `/usr/local/php-4.0b3/ext/gd'
make[2]: Leaving directory `/usr/local/php-4.0b3/ext'
make[1]: Leaving directory `/usr/local/php-4.0b3'

In file included from gd.c:32:
php3_gd.h:50: gd.h: No such file or directory
gd.c:46: gd.h: No such file or directory
gd.c:47: gdfontt.h: No such file or directory
gd.c:48: gdfonts.h: No such file or directory
gd.c:49: gdfontmb.h: No such file or directory
gd.c:50: gdfontl.h: No such file or directory
gd.c:51: gdfontg.h: No such file or directory
make[3]: *** [gd.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2    

- I didn't find php3.ini, or php4.ini, only php.ini-dist.


regards, Marek
Poc@secunet.cz

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-25 06:12 UTC] rasmus at cvs dot php dot net
You have libgd.a installed somewhere on your default LIB path without having the associated gd*.h files on your default include path.
Install GD correctly and it will work.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 04:00:01 2026 UTC