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-9269@lists.php.net to get a copy of this message | ||
> oops, that last one got a bit mangled. it should say
>
> configure --with-gd=no --with-pgsql=<postgres directory> --with-apache=<apache
> directory>
>
> 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 -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
Then you specified the wrong PostgreSQL directory. If you specify
/some/path, for example, then PHP expects to see one of:
/some/path/include/libpq-fe.h
/some/path/include/pgsql/libpq-fe.h
/some/path/pgsql/include/libpq-fe.h
/some/path/include/postgresql/libpq-fe.h
-Rasmus