Re: postgres.h missing? - Mailing list pgsql-php

From Grant
Subject Re: postgres.h missing?
Date
Msg-id Pine.LNX.4.21.0105150958390.20572-100000@webster.conprojan.com.au
Whole thread Raw
In response to postgres.h missing?  ("Jack McKinney" <jackmc-pg-php@lorentz.com>)
List 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@lorentz.com
>               -Michael McShane                http://www.lorentz.com
> 1024D/D68F2C07 4096g/38AEF076
>


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly




pgsql-php by date:

Previous
From: Chris Ryan
Date:
Subject: Re: [NOVICE] psql with PHP question
Next
From: Stephen van Egmond
Date:
Subject: Re: A valuable addition to PHP...