I get these errors :

 gem install pg -- --with-pgsql-include-dir='/usr/include/pgsql' --
with-pgsql-lib-dir='/usr/lib/pgsql'
Building native extensions.  This could take a while...
ERROR:  Error installing pg:
        ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb --with-pgsql-include-dir=/usr/include/pgsql --
with-pgsql-lib-dir=/usr/lib/pgsql
can't find header files for ruby.


Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/
pg-0.9.0 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/pg-0.9.0/ext/
gem_make.out


from yum list postgres*, the relevant stuff I have installed is:

Installed Packages
postgresql.i686
8.4.2-1.fc12                                 @updates
postgresql-devel.i686
8.4.2-1.fc12                                 @updates
postgresql-libs.i686
8.4.2-1.fc12                                 @updates
postgresql-server.i686
8.4.2-1.fc12                                 @updates

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to