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)
- gettext 1.2.0 (ruby)
- gettext 1.2.0 (mswin32)
- gettext 1.1.1 (mswin32)
- gettext 1.1.1 (ruby)
- gettext 1.1.0 (mswin32)
- gettext 1.1.0 (ruby)
- gettext 1.0.0 (mswin32)
- gettext 1.0.0 (ruby)
- Cancel installation
1
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