Cannot instal gettext 1.2.0 gem

J

James Byrne

OS = CentOS4.2
Ruby = 1.8.4
Gem = 0.8.11

When attempting to install gettext I get the following error:

# gem install gettext
Attempting local installation of 'gettext'
Local gem file not found: gettext*.gem
Attempting remote installation of 'gettext'
Select which gem to install for your platform (i386-linux)
1. gettext 1.2.0 (ruby)
2. gettext 1.2.0 (mswin32)
3. gettext 1.1.1 (mswin32)
4. gettext 1.1.1 (ruby)
5. gettext 1.1.0 (mswin32)
6. gettext 1.1.0 (ruby)
7. gettext 1.0.0 (mswin32)
8. gettext 1.0.0 (ruby)
9. Cancel installation
Building native extensions. This could take a while...
can't find header files for ruby.
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/gettext-1.2.0 for inspection.
ruby extconf.rb install gettext\n

Results logged to
/usr/lib/ruby/gems/1.8/gems/gettext-1.2.0/ext/gettext/gem_make.out

# cat /usr/lib/ruby/gems/1.8/gems/gettext-1.2.0/ext/gettext/gem_make.out

ruby extconf.rb install gettext


What am I doing wrong?

Jim
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top