Rice installation issue.

G

George Thomas

I have rice gem (rice-1.1.0.gem) downloaded to my folder C:\Ruby19

I have tried the following at command prompt window to install rice.

gem install rice

However , I am getting the following error:

<<

Building native extensions. This could take a while…
ERROR: Error installing rice:
ERROR: Failed to build gem native extension.

C:/Ruby19/bin/ruby.exe extconf.rb

Gem file will remain installed in
C:/Ruby19/lib/ruby/gems/1.9.1/gems/rice-1.1.0 for inspection.

Results logged to
C:/Ruby19/lib/ruby/gems/1.9.1/gems/rice-1.1.0/gem_make.out
<<

I think rice gem is not installed properly in my PC.I have tried calling
require ‘mkmf-rice’ from the Interactive Ruby Window and it does not
find the file.

How can I overcome the issue and install rice?

Regards,
George
 
I

Ilan Berci

George said:
I have rice gem (rice-1.1.0.gem) downloaded to my folder C:\Ruby19

I have tried the following at command prompt window to install rice.

gem install rice

However , I am getting the following error:

<<

Building native extensions. This could take a while…
ERROR: Error installing rice:
ERROR: Failed to build gem native extension.

You are trying to install a gem that requires compilation and you are on
Windows box which means that you either don't have a compiler (such as
MSVC) or you installed the wrong gem (There may be a windows version for
"rice")

hth

ilan
 
B

Brian Candler

Ilan said:
You are trying to install a gem that requires compilation and you are on
Windows box which means that you either don't have a compiler (such as
MSVC) or you installed the wrong gem (There may be a windows version for
"rice")

and/or the gem might not be compatible with ruby 1.9.

I don't see any mention of 1.9 at rice.rubyforge.org, and I've also
checked out svn/trunk and don't see any mention of 1.9 in the commit
logs.

I believe there have been changes to the low-level C API between 1.8 and
1.9 - these may or may not affect rice.
 
J

Jason Roelofs

[Note: parts of this message were removed to make it a legal post.]

and/or the gem might not be compatible with ruby 1.9.

I don't see any mention of 1.9 at rice.rubyforge.org, and I've also
checked out svn/trunk and don't see any mention of 1.9 in the commit
logs.

I believe there have been changes to the low-level C API between 1.8 and
1.9 - these may or may not affect rice.

Rice is not 1.9 compatible right now. I hope to get that taken care of soon
(slated for 1.4).

George, can you post what's
in C:/Ruby19/lib/ruby/gems/1.9.1/gems/rice-1.1.0/gem_make.out

Though as for building on Windows, I know it works over Cygwin, I doubt it
works over mingw, and I know it's not going to compile over VisualStudio
tools.

I'm working on a 1.3 release which I hope to have out soon. 1.1 is quite old
and there's been a ton of work since then. I'd recommend getting the source
from http://github.com/jameskilton/rice and building from there until this
new release is out.

Also, we've got our own mailing list:
http://groups.google.com/group/ruby-rice or I idle on IRC freenode
#ruby-rice for further help.

Jason
 
G

George Thomas

George, can you post what's
in C:/Ruby19/lib/ruby/gems/1.9.1/gems/rice-1.1.0/gem_make.out

The contents of the file is just
C:/Ruby19/bin/ruby.exe extconf.rb

I have installled earlier version of Ruby (1.8.6) in another PC. There
too I have the same issue and the contents of gem_make.out is

D:/Ruby/bin/ruby.exe extconf.rb install rice

Am I missing some settings?(In both PCs , Visual Studio is installed)

Regards,
George
 

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,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top