Forum: Ruby-Forum.com RSRUBY installation in Windows XP

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E545b106de0332da20661d03fe506dd4?d=identicon&s=25 San Sambamoorthi (rtosas)
on 2009-02-15 21:36
I am using R-2.8.1 in my XP windows environment.

When i used gem to install i got the following error.  Any help to
resolve is gratefully appreciated.  Thanks

Note that i also tried with out remote option; i get the same error.

===

C:\ruby\bin>gem install rsruby --remote
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 rsruby --remote
checking for main() in R.lib... no

ERROR: Cannot find the R library, aborting.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --srcdir=.
        --curdir
        --ruby=c:/ruby/bin/ruby
        --with-R-dir
        --without-R-dir
        --with-R-include
        --without-R-include=${R-dir}/include
        --with-R-lib
        --without-R-lib=${R-dir}/lib
        --with-Rlib
        --without-Rlib


Gem files will remain installed in
C:/ruby/lib/ruby/gems/1.8/gems/rsruby-0.5.1.1
 for inspection.
Results logged to
C:/ruby/lib/ruby/gems/1.8/gems/rsruby-0.5.1.1/ext/gem_make.out

=====
This topic is locked and can not be replied to.