Error installing gem

C

cypher.dp

Hello everybody !

I just tried to install the "neuro"-gem. But the install process fails
with an exception:

C:\Windows\system32>gem install neuro -y
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 neuro -y
creating Makefile
E:/Ruby/lib/ruby/1.8/mkmf.rb:1102: warning: global variable `$preload'
not initialized

nmake
The command "nmake" couldn't be found.

Gem files will remain installed in
E:/Ruby/lib/ruby/gems/1.8/gems/neuro-0.4.0 for inspection.
Results logged to E:/Ruby/lib/ruby/gems/1.8/gems/neuro-0.4.0/ext/gem_make.out


Has anybody why this error occurs and how to solve it ???
Or are there other neuro-network / backpropagation extensions ?

Dominik
 
A

Axel Etzold

Hello Dominik,

the error you get is due to the fact that the
gem you are trying to install is building the software
from source code.
This is usually done in three steps -

configure/make/make install ...
but the Windows version of nmake is not installed on your computer.
You can install a compiler, such as MinGW :

http://www.mingw.org/

on your system to do the compilation.

This can be useful in many cases anyway...
I haven't worked with specific backpropagation software, but
if you want to use Ruby for scientific work, some general
numerics software such as Ruby-GSL (http://rb-gsl.rubyforge.org/)
which is included in the one-click installer for Windows

http://rubyforge.org/frs/?group_id=167

may be helpful.

Best regards,

Axel
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top