Re: Install with Apache/PHP (Was "Stubborn Multibyte")

From: Einar Karttunen <ekarttun(at)cs(dot)Helsinki(dot)FI>
To: Karen Ellrick <k-ellrick(at)sctech(dot)co(dot)jp>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Install with Apache/PHP (Was "Stubborn Multibyte")
Date: 2001-05-23 10:19:11
Message-ID: Pine.LNX.4.30.0105231316110.1108-100000@melkinpaasi.cs.Helsinki.FI
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 23 May 2001, Karen Ellrick wrote:

> during PHP's make:
> In file included from pgsql.c:29:
> php_pgsql.h:32: postgres.h: No such file or directory
>
> Anyone done this before, and had this message? I am using the same tarballs
> for PHP and Apache that I used on the previous two installations. After it
> failed the first time, I even tried untarring the previously used tarball
> for postgresql (7.0.2) and pointing to it during configure, but the same
> error appeared. There are no shortage of files called postgres.h on the
> machine, but I don't know where it is looking, and I don't think I should
> have to start disecting the Makefile. It worked before, so it shouldn't be
> a typo or incompatibility, should it?
>
I think a quick solution would be to include the directory where
postgres.h resides to path. It is by no means an answer to the problem but
should help if you just need things to work.

eg. export PATH=/usr/local/postgres/include:$PATH
replace /usr/local/postgres/include with the path to postgres.h

- Einar Karttunen

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karen Ellrick 2001-05-23 11:43:44 RE: Install with Apache/PHP (Was "Stubborn Multibyte")
Previous Message Horák Daniel 2001-05-23 10:12:51 RE: ER diagram generator