Bug #2684: the gd include is not written correctly
| From: | iolalla at nmp dot es | Date: | Mon, 08 Nov 1999 13:02:26 +0000 |
| Subject: | Bug #2684: the gd include is not written correctly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12219@lists.php.net to get a copy of this message | ||
From: iolalla@nmp.es
Operating system: LINUX-REDHAT 5.2 -KERNEL 2.2.10
PHP version: 3.0.12
PHP Bug Type: Compile Failure
Bug description: the gd include is not written correctly
when you try to compile it doesnt work and gives a message like this:
gcc -g -O2 -O2 -I. -I. -I/usr/local/home/apache_1.3.9/src/include
-I/usr/local/home/apache_1.3.9/src/os/unix -I/usr/include
-I/usr/local/mysql/include/mysql -c functions/gd.c -o functions/gd.o
functions/gd.c:62: gd.h: No such file or directory
functions/gd.c:63: gdfontt.h: No such file or directory
functions/gd.c:64: gdfonts.h: No such file or directory
functions/gd.c:65: gdfontmb.h: No such file or directory
functions/gd.c:66: gdfontl.h: No such file or directory
functions/gd.c:67: gdfontg.h: No such file or directory
make: *** [functions/gd.o] Error 1
The problem is that the include is like this
include <gd.h>
And should be like this in REDHAT 5.2 systems
include <gd/gd.h>