Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: zs h
RE: install problems: gsl 1.15 w ruby/gsl 1.14.7 [ reply ]  
2012-02-06 02:36
Thanks for your patch, Alex. It works. (Although for the matrix_complex.c part, you seem to have consistently misspelled "with" with "witg")

By: Merul Patel
RE: install problems: gsl 1.15 w ruby/gsl 1.14.7 [ reply ]  
2011-10-14 11:56
On Mac OS Lion, I'm unable to get rb-gsl 1.14.7 to compile against a port install of gsl-devel (1.14.91).

I also get errors of the form:

<pre>matrix_complex.c:1525: error: conflicting types for 'gsl_matrix_complex_equal'
/usr/include/gsl/gsl_matrix_complex_double.h:227: error: previous declaration of 'gsl_matrix_complex_equal' was here
make: *** [matrix_complex.o] Error 1</pre>

If I install 1.11.90 of the gsl-devel port, then the gem builds with no errors.

Any ideas? I did try manually installing gsl version 1.14 but that gives errors of the form:

<pre>ld: duplicate symbol _gsl_vector_complex_scale in /usr/local/lib/libgsl.a(lt49-oper.o) and array.o for architecture x86_64</pre>

Regards,

Merul

By: Alexey Kovyrin
RE: install problems: gsl 1.15 w ruby/gsl 1.14.7 [ reply ]  
2011-09-14 22:23
I think I have a patch that should fix the problem with conflicting names: https://gist.github.com/1217974

By: fearless fool
RE: install problems: gsl 1.15 w ruby/gsl 1.14.7 [ reply ]  
2011-05-13 17:22
Tsunesada-san:

Thanks for the prompt reply. I built gsl-1.14 on my machine and the gem installed without any errors. Onwards!

Best regards,

- ff

By: Yoshiki Tsunesada
RE: install problems: gsl 1.15 w ruby/gsl 1.14.7 [ reply ]  
2011-05-13 05:59
I have not tried gsl-1.15 yet, and the error you encountered had not been reported in the older versions of GSL. Please use gsl-1.14 or older, or wait until the next release of rb-gsl with gsl-1.15 support.

By: fearless fool
install problems: gsl 1.15 w ruby/gsl 1.14.7 [ reply ]  
2011-05-13 05:34
I'm ready to start with gsl / ruby/gsl. I've downloaded and installed the latest version of gsl (v 1.15). When do a 'bundle install' with 'gem gsl' therein, I see two problems:

<block>Installing gsl (1.14.7) with native extensions /usr/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
</block>

... followed by what appears to be a run of 'configure'. it then says 'creating Makefile' and 'make', which then dies with:

<block>matrix_complex.c:1525: error: conflicting types for 'gsl_matrix_complex_equal'
/usr/include/gsl/gsl_matrix_complex_double.h:227: error: previous declaration of 'gsl_matrix_complex_equal' was here
make: *** [matrix_complex.o] Error 1
</block>

I should mention that I'm on Snow Leopard (v 10.6.7) running Ruby 1.9.2.

Has anyone else seen this? Perhaps I should be using an older version of GSL?