Re: postgres.h missing?

From: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
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 12:56:29
Message-ID: 989844989.3affd5fd07d97@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Quoting Jack McKinney <jackmc-pg-php(at)lorentz(dot)com>:

> 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

Yes, the headers names changed in postgres. Download the last version of PHP,
which has fixed this (PHP-4.0.5 works)

Saludos... :-)

--
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-----------------------------------------------------------------
Martin Marques | mmarques(at)unl(dot)edu(dot)ar
Programador, Administrador | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Matthew Kolb 2001-05-14 17:59:45 Re: postgres.h missing?
Previous Message Maxim Maletsky 2001-05-14 07:05:41 RE: User reloads inert script...