Skip to content

Instantly share code, notes, and snippets.

@bdthinh
Created April 10, 2015 10:41
Show Gist options
  • Save bdthinh/37cb18b860037f952a29 to your computer and use it in GitHub Desktop.
Save bdthinh/37cb18b860037f952a29 to your computer and use it in GitHub Desktop.
Error on bundle install gsl gem
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Resolving dependencies...
Using rake 10.4.2
Using RedCloth 4.2.9
Using i18n 0.7.0
Using json 1.8.2
Using minitest 5.5.1
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.0
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile 0.6.2
Using nokogiri 1.6.6.2
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.6
Using loofah 2.0.1
Using rails-html-sanitizer 1.0.2
Using actionview 4.2.0
Using rack 1.6.0
Using rack-test 0.6.3
Using actionpack 4.2.0
Using globalid 0.3.3
Using activejob 4.2.0
Using mime-types 2.4.3
Using mail 2.6.3
Using actionmailer 4.2.0
Using activemodel 4.2.0
Using arel 6.0.0
Using activerecord 4.2.0
Using addressable 2.3.8
Using blankslate 2.1.2.4
Using bundler 1.8.5
Using hitimes 1.2.2
Using timers 4.0.1
Using celluloid 0.16.0
Using chunky_png 1.3.4
Using fast-stemmer 1.0.2
Using classifier-reborn 2.0.3
Using coffee-script-source 1.9.1
Using execjs 2.5.0
Using coffee-script 2.4.1
Using colorator 0.1
Using multi_json 1.11.0
Using sass 3.4.13
Using compass-core 1.0.3
Using compass-import-once 1.0.5
Using rb-fsevent 0.9.4
Using ffi 1.9.8
Using rb-inotify 0.9.5
Using compass 1.0.3
Using fastimage 1.6.8
Using narray 0.6.1.1
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/bdthinh/.rvm/rubies/ruby-2.2.0/bin/ruby -r ./siteconf20150410-21040-1ej49og.rb extconf.rb
checking gsl version... 1.14
checking gsl cflags... -I/usr/local/include
checking for main() in -lcblas... yes
checking for main() in -latlas... no
checking gsl libs... -L/usr/local/lib -lgsl -lgslcblas -lm
checking for round()... yes
checking for rngextra/rngextra.h... no
checking for qrngextra/qrngextra.h... no
checking for ool/ool_version.h... no
checking for tensor/tensor.h... no
checking for jacobi.h... no
checking for gsl/gsl_cqp.h... no
checking for gsl/gsl_multimin_fsdf.h... no
checking for gsl_poly_solve_quartic() in -lgsl... no
checking for gsl_eigen_francis() in -lgsl... yes
checking for ndlinear/gsl_multifit_ndlinear.h... no
checking for alf/alf.h... no
checking rb-gsl version...1.15.3
checking ruby version... 2.2.0
checking for graph... no
checking for narray.h... no
checking for tamu_anova/tamu_anova.h... no
checking for main() in -ltamuanova... no
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling alf.c
compiling array.c
array.c:490:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
for (i = 0; i < n; i++) gsl_vector_set(v, i, (double) (beg+i));
~ ^ ~
array.c:505:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
for (i = 0; i < n; i++) gsl_vector_int_set(v, i, beg+i);
~ ^ ~
2 warnings generated.
compiling array_complex.c
compiling blas.c
compiling blas1.c
compiling blas2.c
compiling blas3.c
compiling block.c
In file included from block.c:29:
./block_source.c:233:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
for (j = 0; j < argc; j++) {
~ ^ ~~~~
In file included from block.c:35:
./block_source.c:233:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
for (j = 0; j < argc; j++) {
~ ^ ~~~~
In file included from block.c:41:
./block_source.c:233:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
for (j = 0; j < argc; j++) {
~ ^ ~~~~
3 warnings generated.
compiling bspline.c
compiling bundle.c
compiling cdf.c
compiling cheb.c
compiling combination.c
compiling common.c
common.c:110:10: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
len0 = strlen(s0);
~ ^~~~~~~~~~
common.c:111:10: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
len1 = strlen(s1);
~ ^~~~~~~~~~
common.c:121:10: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
len0 = strlen(s0);
~ ^~~~~~~~~~
common.c:122:10: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
len1 = strlen(s1);
~ ^~~~~~~~~~
4 warnings generated.
compiling complex.c
compiling const.c
compiling const_additional.c
compiling cqp.c
compiling deriv.c
compiling dht.c
dht.c:207:39: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
val = t->j[n+1]*gsl_dht_x_sample(t, m)/t->xmax;
~~~~~~~~~~~~~~~~ ^
dht.c:216:41: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
val = t->j[n+1]*gsl_dht_x_sample(t, m)/t->xmax;
~~~~~~~~~~~~~~~~ ^
dht.c:238:63: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
val = gsl_sf_bessel_Jnu(t->nu, t->j[n+1]*gsl_dht_x_sample(t, m)/t->xmax);
~~~~~~~~~~~~~~~~ ^
dht.c:247:66: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
val = gsl_sf_bessel_Jnu(t->nu, t->j[n+1]*gsl_dht_x_sample(t, m)/t->xmax);
~~~~~~~~~~~~~~~~ ^
dht.c:315:63: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
val = gsl_sf_bessel_Jnu(t->nu, t->j[n+1]*gsl_dht_x_sample(t, m)/t->xmax);
~~~~~~~~~~~~~~~~ ^
dht.c:325:66: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
val = gsl_sf_bessel_Jnu(t->nu, t->j[n+1]*gsl_dht_x_sample(t, m)/t->xmax);
~~~~~~~~~~~~~~~~ ^
6 warnings generated.
compiling diff.c
compiling dirac.c
dirac.c:341:22: warning: initializing 'char *' with an expression of type 'const char [7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
char *name[NUM] = {"Pauli1", "Pauli2", "Pauli3",
^~~~~~~~
dirac.c:341:32: warning: initializing 'char *' with an expression of type 'const char [7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
char *name[NUM] = {"Pauli1", "Pauli2", "Pauli3",
^~~~~~~~
dirac.c:341:42: warning: initializing 'char *' with an expression of type 'const char [7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
char *name[NUM] = {"Pauli1", "Pauli2", "Pauli3",
^~~~~~~~
dirac.c:342:8: warning: initializing 'char *' with an expression of type 'const char [7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Gamma0", "Gamma1", "Gamma2", "Gamma3", "Gamma5",
^~~~~~~~
dirac.c:342:18: warning: initializing 'char *' with an expression of type 'const char [7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Gamma0", "Gamma1", "Gamma2", "Gamma3", "Gamma5",
^~~~~~~~
dirac.c:342:28: warning: initializing 'char *' with an expression of type 'const char [7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Gamma0", "Gamma1", "Gamma2", "Gamma3", "Gamma5",
^~~~~~~~
dirac.c:342:38: warning: initializing 'char *' with an expression of type 'const char [7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Gamma0", "Gamma1", "Gamma2", "Gamma3", "Gamma5",
^~~~~~~~
dirac.c:342:48: warning: initializing 'char *' with an expression of type 'const char [7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Gamma0", "Gamma1", "Gamma2", "Gamma3", "Gamma5",
^~~~~~~~
dirac.c:343:8: warning: initializing 'char *' with an expression of type 'const char [5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Eye2", "Eye4", "IEye2", "IEye4", "Lambda1", "Lambda2",
^~~~~~
dirac.c:343:16: warning: initializing 'char *' with an expression of type 'const char [5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Eye2", "Eye4", "IEye2", "IEye4", "Lambda1", "Lambda2",
^~~~~~
dirac.c:343:24: warning: initializing 'char *' with an expression of type 'const char [6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Eye2", "Eye4", "IEye2", "IEye4", "Lambda1", "Lambda2",
^~~~~~~
dirac.c:343:33: warning: initializing 'char *' with an expression of type 'const char [6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Eye2", "Eye4", "IEye2", "IEye4", "Lambda1", "Lambda2",
^~~~~~~
dirac.c:343:42: warning: initializing 'char *' with an expression of type 'const char [8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Eye2", "Eye4", "IEye2", "IEye4", "Lambda1", "Lambda2",
^~~~~~~~~
dirac.c:343:53: warning: initializing 'char *' with an expression of type 'const char [8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Eye2", "Eye4", "IEye2", "IEye4", "Lambda1", "Lambda2",
^~~~~~~~~
dirac.c:344:8: warning: initializing 'char *' with an expression of type 'const char [8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Lambda3", "Lambda4", "Lambda5", "Lambda6",
^~~~~~~~~
dirac.c:344:19: warning: initializing 'char *' with an expression of type 'const char [8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Lambda3", "Lambda4", "Lambda5", "Lambda6",
^~~~~~~~~
dirac.c:344:30: warning: initializing 'char *' with an expression of type 'const char [8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Lambda3", "Lambda4", "Lambda5", "Lambda6",
^~~~~~~~~
dirac.c:344:41: warning: initializing 'char *' with an expression of type 'const char [8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Lambda3", "Lambda4", "Lambda5", "Lambda6",
^~~~~~~~~
dirac.c:345:8: warning: initializing 'char *' with an expression of type 'const char [8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Lambda7", "Lambda8"};
^~~~~~~~~
dirac.c:345:19: warning: initializing 'char *' with an expression of type 'const char [8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
"Lambda7", "Lambda8"};
^~~~~~~~~
20 warnings generated.
compiling eigen.c
eigen.c:1107:5: warning: variable 'v' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
CHECK_MATRIX_COMPLEX(argv2[1]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/rb_gsl_common.h:229:36: note: expanded from macro 'CHECK_MATRIX_COMPLEX'
#define CHECK_MATRIX_COMPLEX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix_complex))\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1125:25: note: uninitialized use occurs here
gsl_eigen_nonsymmv(m, v, evec, w);
^
eigen.c:1107:5: note: remove the 'if' if its condition is always true
CHECK_MATRIX_COMPLEX(argv2[1]);
^
../include/rb_gsl_common.h:229:33: note: expanded from macro 'CHECK_MATRIX_COMPLEX'
#define CHECK_MATRIX_COMPLEX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix_complex))\
^
eigen.c:1063:24: note: initialize the variable 'v' to silence this warning
gsl_vector_complex *v;
^
= NULL
eigen.c:1107:5: warning: variable 'evec' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
CHECK_MATRIX_COMPLEX(argv2[1]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/rb_gsl_common.h:229:36: note: expanded from macro 'CHECK_MATRIX_COMPLEX'
#define CHECK_MATRIX_COMPLEX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix_complex))\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1125:28: note: uninitialized use occurs here
gsl_eigen_nonsymmv(m, v, evec, w);
^~~~
eigen.c:1107:5: note: remove the 'if' if its condition is always true
CHECK_MATRIX_COMPLEX(argv2[1]);
^
../include/rb_gsl_common.h:229:33: note: expanded from macro 'CHECK_MATRIX_COMPLEX'
#define CHECK_MATRIX_COMPLEX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix_complex))\
^
eigen.c:1064:27: note: initialize the variable 'evec' to silence this warning
gsl_matrix_complex *evec;
^
= NULL
eigen.c:1240:5: warning: variable 'v' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
CHECK_MATRIX(argv2[2]);
^~~~~~~~~~~~~~~~~~~~~~
../include/rb_gsl_common.h:205:28: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1260:27: note: uninitialized use occurs here
gsl_eigen_nonsymmv_Z(m, v, evec, Z, w);
^
eigen.c:1240:5: note: remove the 'if' if its condition is always true
CHECK_MATRIX(argv2[2]);
^
../include/rb_gsl_common.h:205:25: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
^
eigen.c:1200:24: note: initialize the variable 'v' to silence this warning
gsl_vector_complex *v;
^
= NULL
eigen.c:1240:5: warning: variable 'evec' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
CHECK_MATRIX(argv2[2]);
^~~~~~~~~~~~~~~~~~~~~~
../include/rb_gsl_common.h:205:28: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1260:30: note: uninitialized use occurs here
gsl_eigen_nonsymmv_Z(m, v, evec, Z, w);
^~~~
eigen.c:1240:5: note: remove the 'if' if its condition is always true
CHECK_MATRIX(argv2[2]);
^
../include/rb_gsl_common.h:205:25: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
^
eigen.c:1201:27: note: initialize the variable 'evec' to silence this warning
gsl_matrix_complex *evec;
^
= NULL
eigen.c:1240:5: warning: variable 'Z' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
CHECK_MATRIX(argv2[2]);
^~~~~~~~~~~~~~~~~~~~~~
../include/rb_gsl_common.h:205:28: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1260:36: note: uninitialized use occurs here
gsl_eigen_nonsymmv_Z(m, v, evec, Z, w);
^
eigen.c:1240:5: note: remove the 'if' if its condition is always true
CHECK_MATRIX(argv2[2]);
^
../include/rb_gsl_common.h:205:25: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
^
eigen.c:1228:9: warning: variable 'Z' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (CLASS_OF(argv2[0]) == cgsl_eigen_nonsymm_workspace) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/bdthinh/.rvm/rubies/ruby-2.2.0/include/ruby-2.2.0/ruby/ruby.h:425:21: note: expanded from macro 'CLASS_OF'
#define CLASS_OF(v) rb_class_of((VALUE)(v))
^
eigen.c:1260:36: note: uninitialized use occurs here
gsl_eigen_nonsymmv_Z(m, v, evec, Z, w);
^
eigen.c:1228:5: note: remove the 'if' if its condition is always false
if (CLASS_OF(argv2[0]) == cgsl_eigen_nonsymm_workspace) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1199:20: note: initialize the variable 'Z' to silence this warning
gsl_matrix *m, *Z;
^
= NULL
6 warnings generated.
compiling error.c
compiling fcmp.c
compiling fft.c
fft.c:270:60: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
for (i = 0; i < table->nf; i++) gsl_vector_int_set(v, i, table->factor[i]);
~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
1 warning generated.
compiling fit.c
compiling fresnel.c
fresnel.c:17:21: warning: unused variable 'sqrt_pi_2' [-Wunused-const-variable]
static const double sqrt_pi_2 = 1.2533141373155002512078826424; /* sqrt(pi/2) */
^
1 warning generated.
compiling function.c
function.c:55:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
for (i = 1; i < argc; i++) rb_ary_store(ary2, i-1, argv[i]);
~ ^ ~~~~
function.c:224:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
for (i = 0; i < argc; i++) rb_ary_store(ary2, i, argv[i]);
~ ^ ~~~~
function.c:340:17: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
for (i = 0; i < argc; i++) setfunc(i, argv, F);
~ ^ ~~~~
function.c:340:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
for (i = 0; i < argc; i++) setfunc(i, argv, F);
~~~~~~~ ^
function.c:363:17: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
for (i = 0; i < argc; i++) setfunc(i, argv, F);
~ ^ ~~~~
function.c:363:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
for (i = 0; i < argc; i++) setfunc(i, argv, F);
~~~~~~~ ^
function.c:430:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
for (i = 0; i < argc; i++) rb_ary_store(ary2, i, argv[i]);
~ ^ ~~~~
7 warnings generated.
compiling geometry.c
compiling graph.c
compiling gsl.c
compiling gsl_narray.c
compiling histogram.c
histogram.c:358:19: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare]
for (i = 0; i < RARRAY_LEN(argv[0]); i++)
~ ^ ~~~~~~~~~~~~~~~~~~~
histogram.c:1559:16: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (istart < 0) istart = 0;
~~~~~~ ^ ~
histogram.c:1565:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (iend < 0) iend = 0;
~~~~ ^ ~
3 warnings generated.
compiling histogram2d.c
histogram2d.c:860:29: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
for (j = ny-2, k = 0; j >= 0; j--, k++) {
~ ^ ~
histogram2d.c:865:22: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
for (i = nx-2; i >= 0; i--) {
~ ^ ~
histogram2d.c:869:22: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
for (i = nx-2; i >= 0; i--) {
~ ^ ~
histogram2d.c:870:24: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
for (j = ny-2; j >= 0; j--) {
~ ^ ~
4 warnings generated.
compiling histogram3d.c
compiling histogram3d_source.c
histogram3d_source.c:425:21: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
const int nx = h->nx;
~~ ~~~^~
histogram3d_source.c:435:21: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
const int ny = h->ny;
~~ ~~~^~
histogram3d_source.c:445:21: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
const int nz = h->nz;
~~ ~~~^~
3 warnings generated.
compiling histogram_find.c
compiling histogram_oper.c
compiling ieee.c
compiling integration.c
integration.c:361:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
intervals = w->size;
~ ~~~^~~~
integration.c:392:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
intervals = w->size;
~ ~~~^~~~
integration.c:432:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
intervals = w->size;
~ ~~~^~~~
integration.c:464:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
intervals = w->size;
~ ~~~^~~~
integration.c:498:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
intervals = w->size;
~ ~~~^~~~
integration.c:533:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
intervals = w->size;
~ ~~~^~~~
integration.c:566:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
intervals = w->size;
~ ~~~^~~~
integration.c:694:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
intervals = w->size;
~ ~~~^~~~
integration.c:828:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
intervals = w->size;
~ ~~~^~~~
integration.c:919:18: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
intervals = w->size;
~ ~~~^~~~
10 warnings generated.
compiling interp.c
compiling jacobi.c
compiling linalg.c
linalg.c:74:28: error: read-only variable is not assignable
RBASIC(omatrix)->klass = cgsl_matrix_LU;
~~~~~~~~~~~~~~~~~~~~~~ ^
linalg.c:695:28: error: read-only variable is not assignable
RBASIC(mdecomp)->klass = cgsl_matrix_QR;
~~~~~~~~~~~~~~~~~~~~~~ ^
linalg.c:707:28: error: read-only variable is not assignable
RBASIC(mdecomp)->klass = cgsl_matrix_LQ;
~~~~~~~~~~~~~~~~~~~~~~ ^
linalg.c:734:33: error: read-only variable is not assignable
RBASIC(argv[itmp])->klass = cgsl_vector_tau;
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
linalg.c:743:33: error: read-only variable is not assignable
RBASIC(argv[itmp])->klass = cgsl_vector_tau;
~~~~~~~~~~~~~~~~~~~~~~~~~ ^
linalg.c:1631:23: error: read-only variable is not assignable
RBASIC(vA)->klass = cgsl_matrix_QRPT;
~~~~~~~~~~~~~~~~~ ^
linalg.c:1638:23: error: read-only variable is not assignable
RBASIC(vA)->klass = cgsl_matrix_PTLQ;
~~~~~~~~~~~~~~~~~ ^
7 errors generated.
make: *** [linalg.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/bdthinh/.rvm/gems/ruby-2.2.0/gems/gsl-1.15.3 for inspection.
Results logged to /Users/bdthinh/.rvm/gems/ruby-2.2.0/extensions/x86_64-darwin-14/2.2.0/gsl-1.15.3/gem_make.out
An error occurred while installing gsl (1.15.3), and Bundler cannot continue.
Make sure that `gem install gsl -v '1.15.3'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment