Re: Bug #1906 Updated: missing source files
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Bug #1906 Updated: missing source files | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-9268@lists.php.net to get a copy of this message | ||
> (with gd disabled, compiling for an apache module, and everything else taken as default)
> gcc -g -O2 -O2 -I. -I. -I/usr/local/apache_1.3.6/src/include
> -I/usr/local/apache_1.3.6/src/os/unix -I/usr/include -c functions/gdttf.c -o
> functions/gdttf.o
> functions/gdttf.c:17: gd.h: No such file or directory
> make: *** [functions/gdttf.o] Error 1
Install gd. It is a separate package. gd.h is not part of PHP.
> with --with-pgsql=<my pogcc -g -O2 -O2 -I. -I. -I/usr/local/apache_1.3.6/src/include
> -I/usr/local/apache_1.3.6/src/os/unix -I/usr/include -I/var/lib/pgsql/include -c
> internal_functions.c -o internal_functions.o
> In file included from internal_functions.c:63:
> functions/php3_pgsql.h:46: libpq-fe.h: No such file or directory
> functions/php3_pgsql.h:47: libpq/libpq-fs.h: No such file or directory
> make: *** [internal_functions.o] Error 1 stgres directory> without gd as an apache module
>
> I followed all the instructions as written.. If I have to somehow merge two lots of source
> trees and include extra files in with the tarball, then some instuctions could be useful.
Again, those header files are part of the PostgreSQL package and not part
of PHP. If you want to build PHP with support for these things you have
to install them first.
-Rasmus