Re: postgres.h missing?

From: Grant <grant(at)conprojan(dot)com(dot)au>
To: Jack McKinney <jackmc-pg-php(at)lorentz(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: postgres.h missing?
Date: 2001-05-14 23:59:49
Message-ID: Pine.LNX.4.21.0105150958390.20572-100000@webster.conprojan.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Ok, after you've:

make
make install

Install the headers:

make install-all-headers

Then wherever you have told the headers to be installed to, if you are
using Linux, add that path to /etc/ld.so.conf and then run /sbin/ldconfig.

Then it should be able to find postgres.h when you come to configure php.

On Sun, 13 May 2001, Jack McKinney wrote:

> I searched the archives, but could not find anything on this.
>
> I installed postgres-7.1 to /var/pgsql on my system, and then
> configured php with './configure ... -pgsql=/var/pgsql'. The compile
> fails complaining that it cannot find postgres.h. If I look in
> /var/pgsql/include, I indeed find no such file:
>
> $ ls /var/pgsql/include
> c.h ecpgtype.h libpgtcl.h os.h sql3types.h
> config.h iodbc libpq postgres_ext.h sqlca.h
> ecpgerrno.h lib libpq-fe.h postgres_fe.h
> ecpglib.h libpgeasy.h libpq-int.h pqexpbuffer.h
>
> --
> "I owe the government $3400 in taxes. So I Jack McKinney
> sent them two hammers and a toilet seat. jackmc(at)lorentz(dot)com
> -Michael McShane http://www.lorentz.com
> 1024D/D68F2C07 4096g/38AEF076
>

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Jackson Ricardo Schroeder 2001-05-15 17:09:56 Removing my email!
Previous Message Matthew Kolb 2001-05-14 17:59:45 Re: postgres.h missing?