 |
Forums |
Admin Discussion Forums: help Start New Thread
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: 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?
|
|
 |