R
Rajinder Yadav
i built postgres 9.0 from source and i am trying to install ruby-pg
and get the following error
Building native extensions. This could take a while...
ERROR: Error installing ruby-pg:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
*** 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.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
extconf.rb:4:in `<main>': uninitialized constant Object:LATFORM (NameError)
Gem files will remain installed in
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-pg-0.7.9.2008.01.28 for
inspection.
Results logged to
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-pg-0.7.9.2008.01.28/ext/gem_make.out
--
Kind Regards,
Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely
GNU/Linux: 2.6.35-22-generic
Kubuntu x86_64 10.10 | KDE 4.5.1
Ruby 1.9.2p0 | Rails 3.0.1
and get the following error
Building native extensions. This could take a while...
ERROR: Error installing ruby-pg:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
*** 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.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
extconf.rb:4:in `<main>': uninitialized constant Object:LATFORM (NameError)
Gem files will remain installed in
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-pg-0.7.9.2008.01.28 for
inspection.
Results logged to
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-pg-0.7.9.2008.01.28/ext/gem_make.out
--
Kind Regards,
Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely
GNU/Linux: 2.6.35-22-generic
Kubuntu x86_64 10.10 | KDE 4.5.1
Ruby 1.9.2p0 | Rails 3.0.1