Problem with Gem

D

David Siebert

I am trying to install support for SQLite using Gem but I get this error
"Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install sqlite3-ruby
can't find header files for ruby."
I do have ruby.h installed on my system but gem can not seem to find it.
Any suggestions?
 
E

Eric Hodel

I am trying to install support for SQLite using Gem but I get this
error
"Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install sqlite3-ruby
can't find header files for ruby."
I do have ruby.h installed on my system but gem can not seem to
find it.
Any suggestions?

What does this say:

ruby -rrbconfig -e 'puts File.join(Config::CONFIG["rubylibdir"],
Config::CONFIG["arch"], "ruby.h")'
 
D

degreane

I am trying to install support for SQLite using Gem but I get this
error
"Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install sqlite3-ruby
can't find header files for ruby."
I do have ruby.h installed on my system but gem can not seem to
find it.
Any suggestions?

What does this say:

ruby -rrbconfig -e 'puts File.join(Config::CONFIG["rubylibdir"],
Config::CONFIG["arch"], "ruby.h")'



it says /usr/lib/ruby/1.8/i386-linux/ruby.h
I have the same problem while installing fxruby
gem install fxruby
regards
 
E

Eric Hodel

I am trying to install support for SQLite using Gem but I get this
error
"Building native extensions. This could take a while...
ERROR: While executing gem ...
(Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install sqlite3-ruby
can't find header files for ruby."
I do have ruby.h installed on my system but gem can not seem to
find it.
Any suggestions?

What does this say:

ruby -rrbconfig -e 'puts File.join(Config::CONFIG["rubylibdir"],
Config::CONFIG["arch"], "ruby.h")'

it says /usr/lib/ruby/1.8/i386-linux/ruby.h
I have the same problem while installing fxruby
gem install fxruby

Do you have that file?

What other .h files exist in /usr/lib/ruby/1.8/i386-linux?

Can you attach gem_make.out?
 
G

Giles Bowkett

I am trying to install support for SQLite using Gem but I get this
error
"Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install sqlite3-ruby
can't find header files for ruby."
I do have ruby.h installed on my system but gem can not seem to
find it.
Any suggestions?

What does this say:

ruby -rrbconfig -e 'puts File.join(Config::CONFIG["rubylibdir"],
Config::CONFIG["arch"], "ruby.h")'
I have the same problem while installing fxruby
gem install fxruby

gem needs to be more idiot-friendly. I do not wake up a genius. I
become one over the course of several cups of coffee, on days when I'm
lucky.

--
Giles Bowkett

Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com/
 
E

Eric Hodel

gem needs to be more idiot-friendly. I do not wake up a genius. I
become one over the course of several cups of coffee, on days when I'm
lucky.

If you have something constructive to contribute, please do so.

If you have found a bug, please file it in the tracker.

Empty statements of frustration do not help me make RubyGems better.
 
G

Giles Bowkett

gem needs to be more idiot-friendly. I do not wake up a genius. I
If you have something constructive to contribute, please do so.

I did. I sent Chad & Jim a patch that allows you to require symbols
and arrays. It was nifty.

Admittedly, though, that doesn't help here at all. My bad.
If you have found a bug, please file it in the tracker.

Empty statements of frustration do not help me make RubyGems better.

OK, ok.

--
Giles Bowkett

Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,269
Messages
2,571,348
Members
48,024
Latest member
AnnisAnt61

Latest Threads

Top