php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1941 Make fails after configuration
Submitted: 1999-08-01 14:06 UTC Modified: 1999-08-01 15:55 UTC
From: viking at iowa dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: Linux 2.0.30 gcc 2.7.2.2
Private report: No CVE-ID: None
 [1999-08-01 14:06 UTC] viking at iowa dot net
I am building on an older (very stable) system (Linux 2.0.30 with gcc 2.7.2.2).

After running the standard configuration script, my compile
of the 3.0.12 distribution fails as follows:

./configure --with-mysql --with-apache=../apache_1.3.6 --enable-track-vars

bash# make
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.6/src/include -I../apache_1.3.6/src/os/unix                  -I/usr/local/include/mysql    -c language-parser.tab.c -o language-parser.tab.o
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.6/src/include -I../apache_1.3.6/src/os/unix                  -I/usr/local/include/mysql    -w -DYY_USE_CONST -c language-scanner.c
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.6/src/include -I../apache_1.3.6/src/os/unix                  -I/usr/local/include/mysql    -c main.c -o main.o
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.6/src/include -I../apache_1.3.6/src/os/unix                  -I/usr/local/include/mysql    -c php3_hash.c -o php3_hash.o
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.6/src/include -I../apache_1.3.6/src/os/unix                  -I/usr/local/include/mysql    -c operators.c -o operators.o
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.6/src/include -I../apache_1.3.6/src/os/unix                  -I/usr/local/include/mysql    -c variables.c -o variables.o
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.6/src/include -I../apache_1.3.6/src/os/unix                  -I/usr/local/include/mysql    -c token_cache.c -o token_cache.o
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.6/src/include -I../apache_1.3.6/src/os/unix                  -I/usr/local/include/mysql    -c stack.c -o stack.o
gcc -g -O2 -O2   -I. -I.   -I../apache_1.3.6/src/include -I../apache_1.3.6/src/os/unix                  -I/usr/local/include/mysql    -c internal_functions.c -o internal_functions.o
In file included from internal_functions.c:72:
functions/php3_gd.h:44: gd.h: No such file or directory
make: *** [internal_functions.o] Error 1


All previous distributions have built flawlessly on my system...so I wonder if the dist
file is broken somehow.

Thank you!

Jon Backstrom
viking@iowa.net

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-01 15:55 UTC] rasmus at cvs dot php dot net
You have installed libgd.a somewhere on your link path without installing the corresponding gd header files on your include path.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 29 03:00:01 2026 UTC