Re: [Rails] pg gem error

2012-09-18 Thread Saravanan P
Thanks I already installed libpq-dev package and now only i installed postgresql-server-dev-9.1 package. But no luck still same error :( any help! Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /home/sara

Re: [Rails] pg gem error

2012-09-18 Thread Ashwin Mangale
On Ubuntu, there is one libpq-dev ( which you have installed ) and the other is postgresql-server-dev-. I think you need both. -Ashwin On Tue, Sep 18, 2012 at 11:11 AM, Saravanan P wrote: > i already installed postgresql. "postgresql-dev" i think its not a > package, did you mean "libpq-dev". if

Re: [Rails] pg gem error

2012-09-18 Thread Colin Law
On 18 September 2012 06:29, Saravanan P wrote: > gem install pg give the following error, please help how can i solve this > > Building native extensions. This could take a while... > ERROR: Error installing pg: > ERROR: Failed to build gem native extension. > > /home/saravanan/.rvm/rubi

Re: [Rails] pg gem error

2012-09-17 Thread Saravanan P
i already installed postgresql. "postgresql-dev" i think its not a package, did you mean "libpq-dev". if yes i already installed that too. i am using ubuntu 12.04. In my error checking for pg_config... yes Using config values from /usr/bin/pg_config checking for libpq-fe.h... yes checking for libp

Re: [Rails] pg gem error

2012-09-17 Thread Christopher R. Maden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/18/2012 01:29 AM, Saravanan P wrote: > gem install pg give the following error, please help how can i > solve this > > Building native extensions. This could take a while... ERROR: > Error installing pg: ERROR: Failed to build gem native extens

[Rails] pg gem error

2012-09-17 Thread Saravanan P
gem install pg give the following error, please help how can i solve this Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /home/saravanan/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for pg_confi