mgomes / ruby-fftw3

Ruby wrapper around the FFTW library for performing Fast Fourier Transforms
http://ruby.gfd-dennou.org/products/ruby-fftw3
8 stars 2 forks source link

Doesn't work at all #2

Open michaeleisel opened 10 years ago

michaeleisel commented 10 years ago

I've installed libfftw3, and I get the following error on OS X 10.9. Any ideas? Ruby 1.8.7 and libfftw 3.3

Building native extensions. This could take a while... ERROR: Error installing ruby-fftw3: ERROR: Failed to build gem native extension.

/Users/michaeleisel/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb

* 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 --without-make-prog --srcdir=. --curdir --ruby=/Users/michaeleisel/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb:4:in `

': uninitialized constant Gem::GemPathSearcher (NameError)

extconf failed, exit code 1

Gem files will remain installed in /Users/michaeleisel/.rvm/gems/ruby-2.1.0/gems/ruby-fftw3-0.4 for inspection. Results logged to /Users/michaeleisel/.rvm/gems/ruby-2.1.0/extensions/x86_64-darwin-12/2.1.0-static/ruby-fftw3-0.4/gem_make.out

mgomes commented 10 years ago

This is a really old gem and no longer supported. Sorry.

I’d be glad to merge in some pull requests though if you can get it working again.

On Apr 30, 2014, at 10:33 PM, michaeleisel notifications@github.com wrote:

I've installed libfftw3, and I get the following error on OS X 10.9. Any ideas? Ruby 1.8.7 and libfftw 3.3

Building native extensions. This could take a while... ERROR: Error installing ruby-fftw3: ERROR: Failed to build gem native extension.

/Users/michaeleisel/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb * 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 --without-make-prog --srcdir=. --curdir --ruby=/Users/michaeleisel/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb:4:in `': uninitialized constant Gem::GemPathSearcher (NameError)

extconf failed, exit code 1

Gem files will remain installed in /Users/michaeleisel/.rvm/gems/ruby-2.1.0/gems/ruby-fftw3-0.4 for inspection. Results logged to /Users/michaeleisel/.rvm/gems/ruby-2.1.0/extensions/x86_64-darwin-12/2.1.0-static/ruby-fftw3-0.4/gem_make.out

— Reply to this email directly or view it on GitHub.

michaeleisel commented 10 years ago

What fft library should I use instead? Seems surprising there wouldn't be another clear choice.