Hello everyone,
I am new to Ferret and new to this mailing list. I am having a problem
installing.
sudo gem install ferret
Attempting local installation of ''ferret''
Local gem file not found: ferret*.gem
Attempting remote installation of ''ferret''
Updating Gem source index for: http://gems.rubyforge.org
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/ferret-0.9.3for inspection.
ruby extconf.rb install ferret\n
Results logged to /usr/lib/ruby/gems/1.8/gems/ferret-0.9.3/ext/gem_make.out
After that I thought that maybe the c extensions just didn''t compile
but
then I tried to fire up irb...
irb(main):001:0> require ''ferret''
LoadError: no such file to load -- ferret
from (irb):1:in `require''
from (irb):1
irb(main):002:0> require ''rubygems''
=> true
irb(main):003:0> require ''ferret''
LoadError: no such file to load -- ferret
from /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'' from
/usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require''
from (irb):3
This machine is a brand new installation of Fedora Core 5. I also just
installed ruby and gem. Am I missing a library somewhere? Any help is
greatly appreciated.
Regards,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/ferret-talk/attachments/20060512/b618fdd6/attachment.htm
Hi John,
You''re missing the ruby header files, ie ruby.h. I''m guessing
Fedora
doesn''t come with ruby-devel installed by default. (I use Ubuntu). Try
installing the RPM from here;
http://rpmfind.net/linux/rpm2html/search.php?query=ruby-devel
Or perhaps this will do the job;
sudo yum install ruby-devel
Please let us know if you get it working.
Cheers,
Dave
On 5/13/06, John Andrews <john.m.andrews at gmail.com>
wrote:> Hello everyone,
> I am new to Ferret and new to this mailing list. I am having a problem
> installing.
>
> sudo gem install ferret
> Attempting local installation of ''ferret''
> Local gem file not found: ferret*.gem
> Attempting remote installation of ''ferret''
> Updating Gem source index for: http://gems.rubyforge.org
> 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/ferret-0.9.3 for inspection.
> ruby extconf.rb install ferret\n
> Results logged to
> /usr/lib/ruby/gems/1.8/gems/ferret-0.9.3/ext/gem_make.out
>
> After that I thought that maybe the c extensions just didn''t
compile but
> then I tried to fire up irb...
> irb(main):001:0> require ''ferret''
> LoadError: no such file to load -- ferret
> from (irb):1:in `require''
> from (irb):1
> irb(main):002:0> require ''rubygems''
> => true
> irb(main):003:0> require ''ferret''
> LoadError: no such file to load -- ferret
> from
> /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require__'' from
> /usr/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
> `require''
> from (irb):3
>
> This machine is a brand new installation of Fedora Core 5. I also just
> installed ruby and gem. Am I missing a library somewhere? Any help is
> greatly appreciated.
>
> Regards,
> John
>
> _______________________________________________
> Ferret-talk mailing list
> Ferret-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ferret-talk
>
>
That was it, Dave. Thanks! -John On 5/13/06, David Balmain <dbalmain.ml at gmail.com> wrote:> You''re missing the ruby header files, ie ruby.h. I''m guessing Fedora > doesn''t come with ruby-devel installed by default. (I use Ubuntu). Try > installing the RPM from here; > > http://rpmfind.net/linux/rpm2html/search.php?query=ruby-devel > > Or perhaps this will do the job; > > sudo yum install ruby-devel > > Please let us know if you get it working. > > Cheers, > Dave >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20060516/bb217241/attachment.htm
Possibly Parallel Threads
- Ferret install on WinXP fails - procedure entry point rb_w32
- ferret-0.11.4-mswin32 not compatible with Ruby1.8.4
- Help with Installation on OpenSolaris (TextDrive Containers)
- Gem 0.9.2: undefined symbol: mtde_create
- How do you use the ''vendor'' directory with 3rd party libraries?