Received: from phaedrus.gaslightmedia.com (phaedrus.gaslightmedia.com [208.171.24.70]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4EHxkA08521 for ; Mon, 14 May 2001 13:59:46 -0400 (EDT) (envelope-from muk@phaedrus.gaslightmedia.com) Received: (from muk@localhost) by phaedrus.gaslightmedia.com (8.11.3/8.11.3) id f4EHxk478348 for pgsql-php@postgresql.org; Mon, 14 May 2001 13:59:46 -0400 (EDT) (envelope-from muk) Date: Mon, 14 May 2001 13:59:45 -0400 From: Matthew Kolb To: pgsql-php@postgresql.org Subject: Re: postgres.h missing? Message-ID: <20010514135945.A78336@phaedrus.gaslightmedia.com> Reply-To: "m. kolb" Mail-Followup-To: Matthew Kolb , pgsql-php@postgresql.org References: <20010513200408.A11398@stocks.pillory.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010513200408.A11398@stocks.pillory.com>; from jackmc-pg-php@lorentz.com on Sun, May 13, 2001 at 08:04:09PM -0500 X-Archive-Number: 200105/69 X-Sequence-Number: 378 On Sun, May 13, 2001 at 08:04:09PM -0500, 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 > change ext/pgsql/php_pgsql.h to include postgres_fe.h instead of postgres.h small bug. ./muk -- Matthew Kolb muk@phaedrus.gaslightmedia.com