Re: postgres.h missing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxx
>               -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@xxxxxxxxxxxxxx so that your
message can get through to the mailing list cleanly





[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux