--
1bZwET+AtuR12CCrK2x
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Just ran into the same thing myself... installing 'libpq-dev' seemed to
have solved it:
>sudo apt-get install libpq-dev
________________________________________________________________________
Alex Stahl | Sr. Quality Engineer | hi5 Networks, Inc. | astahl / hi5.com
| m: 415.710.6961
On Mon, 2010-11-08 at 16:11 -0600, Rajinder Yadav wrote:
> On Mon, Nov 8, 2010 at 4:01 PM, Ben Bleything <ben / bleything.net> wrote:
> > On Mon, Nov 8, 2010 at 12:52 PM, Rajinder Yadav <devguy.ca / gmail.com> wrote:
> >> i built postgres 9.0 from source and i am trying to install ruby-pg
> >> and get the following error
> >
> > ruby-pg is ancient. you want the pg gem.
> >
> > Ben
>
> i tried the following
>
> sudo gem install pg --
> --with-pgsql-include pt/postgresql-9.0.1/src/interfaces/libpq
>
> still getting an error, how do i tell it where to find the header files?
>
> checking for pg_config... no
> checking for libpq-fe.h... no
> Can't find the 'libpq-fe.h header
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of
> necessary libraries and/or headers. Check the mkmf.log file for more
> details. You may need configuration options.
>
--
1bZwET+AtuR12CCrK2x--