Received: from bugs.unl.edu.ar (bugs.unl.edu.ar [168.96.132.208]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4EJVdA47856 for ; Mon, 14 May 2001 15:31:40 -0400 (EDT) (envelope-from martin@bugs.unl.edu.ar) Received: by bugs.unl.edu.ar (Postfix, from userid 60001) id E62812AB3B; Mon, 14 May 2001 15:56:30 +0300 (GMT) Received: from 170.210.15.78 ( [170.210.15.78]) as user martin@localhost by bugs.unl.edu.ar with HTTP; Mon, 14 May 2001 15:56:29 +0300 Message-ID: <989844989.3affd5fd07d97@bugs.unl.edu.ar> Date: Mon, 14 May 2001 15:56:29 +0300 From: =?iso-8859-1?B?TWFydO1uIE1hcnF16XM=?= To: Jack McKinney Cc: pgsql-php@postgresql.org Subject: Re: postgres.h missing? References: <20010513200408.A11398@stocks.pillory.com> In-Reply-To: <20010513200408.A11398@stocks.pillory.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs X-Archive-Number: 200105/70 X-Sequence-Number: 379 Quoting Jack McKinney : > 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@unl.edu.ar Programador, Administrador | Centro de Telematica Universidad Nacional del Litoral -----------------------------------------------------------------