Go Back   CodingForums.com > :: Server side development > Ruby & Ruby On Rails

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-14-2010, 06:44 AM   PM User | #1
andrew1184
New to the CF scene

 
Join Date: Jan 2010
Location: the midwest
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
andrew1184 is an unknown quantity at this point
Problem installing FFTW3 gem in Ruby: missing narray.h

So I'm pretty new to Ruby (maintaining an environment, not the language), and I've been having the following problem:

I'm looking to add an FFT library to my install of Ruby 1.8.6 on a Windows Vista machine. Installing my desired FFT library seems like it should be easy enough, considering there are a few FFTW3 wrappers for NArray floating around and there is an FFTW3 gem in the RubyForge repository.

The problem I am having is that no matter which FFTW3 library I try to install, or how I try to install it (either using 'gem install FFTW3' or 'ruby extconf.rb' with appropriate options or by praying to the Old Ones), it comes up with the error:

checking for narray.h... no
*** extconf.rb failed ***

. . . and I don't get it: NArray is installed and works just fine, narray.h is where it should be with the rest of the NArray source files, and . . . guh. I've even tried copying narray.h and all other NArray files everywhere and it just won't see it.

There's probably something I'm missing; I'm a little lacking in the programming-environment-maintenance department, but any help would be greatly appreciated.

Thanks
andrew1184 is offline   Reply With Quote
Reply

Bookmarks

Tags
gem, ruby

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:31 PM.


Advertisement
Log in to turn off these ads.