Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Math-GSL 0.39 build error in gsl_bspline #140

Open
bsefree opened this issue Sep 27, 2017 · 0 comments
Open

Math-GSL 0.39 build error in gsl_bspline #140

bsefree opened this issue Sep 27, 2017 · 0 comments

Comments

@bsefree
Copy link

bsefree commented Sep 27, 2017

Installing Math::GSL via cspan as well as from source on a RHEL7 machine, running perl v5.16.3 on an x86_64 machine, with swig-2.0.10-5, is throwing the following error with bspline:

Database was generated on Wed, 27 Sep 2017 20:17:02 GMT
Running install for module 'Math::GSL'
Checksum for /home/perl-user/.cpan/sources/authors/id/L/LE/LETO/Math-GSL-0.39.tar.gz ok
'YAML' not installed, will not store persistent state
Configuring L/LE/LETO/Math-GSL-0.39.tar.gz with Build.PL
Checking for GSL using gsl-config
Found GSL 2.1 (via gsl-config) installed in /opt/minc-itk4
Checking if gcc supports "-Wall"...yes
Checking if gcc supports "-Wno-sometimes-uninitialized"...yes
Checking if gcc supports "-Wno-unused-function"...yes
Checking if gcc supports "-Wno-unused-value"...yes
Checking if gcc supports "-Wno-unused-function"...yes
Checking if gcc supports "-Wno-unused-variable"...yes
Checking if gcc supports "-Wno-gnu"...yes
Checking if gcc supports "-g"...yes
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Math-GSL' version '0.39'
Have a great day!
LETO/Math-GSL-0.39.tar.gz
/usr/bin/perl Build.PL -- OK
Running Build for L/LE/LETO/Math-GSL-0.39.tar.gz
Building Math-GSL
Processing 2.1 XS files, GSL 2.1 (via gsl-config) at /opt/minc-itk4
Compiler = gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ccflags = -fPIC -L/opt/minc-itk4/lib -lgsl -lgslcblas -lm -fPIC -fno-omit-frame-pointer
ldflags = -shared -L/opt/minc-itk4/lib -lgsl -lgslcblas -lm -fPIC -fno-omit-frame-pointer
xs/BSpline_wrap.2.1.c: In function ‘_wrap_gsl_bspline_workspace_A_set’:
xs/BSpline_wrap.2.1.c:3538:21: error: ‘gsl_bspline_workspace’ has no member named ‘A’
if (arg1) (arg1)->A = arg2;
^
xs/BSpline_wrap.2.1.c: In function ‘_wrap_gsl_bspline_workspace_A_get’:
xs/BSpline_wrap.2.1.c:3568:36: error: ‘gsl_bspline_workspace’ has no member named ‘A’
result = (gsl_matrix *) ((arg1)->A);
^
xs/BSpline_wrap.2.1.c: In function ‘_wrap_gsl_bspline_workspace_dB_set’:
xs/BSpline_wrap.2.1.c:3603:21: error: ‘gsl_bspline_workspace’ has no member named ‘dB’
if (arg1) (arg1)->dB = arg2;
^
xs/BSpline_wrap.2.1.c: In function ‘_wrap_gsl_bspline_workspace_dB_get’:
xs/BSpline_wrap.2.1.c:3633:36: error: ‘gsl_bspline_workspace’ has no member named ‘dB’
result = (gsl_matrix *) ((arg1)->dB);
^
xs/BSpline_wrap.2.1.c: In function ‘_wrap_gsl_bspline_deriv_eval’:
xs/BSpline_wrap.2.1.c:4207:5: error: too few arguments to function ‘gsl_bspline_deriv_eval’
result = (int)gsl_bspline_deriv_eval(arg1,arg2,arg3,arg4);
^
In file included from xs/BSpline_wrap.2.1.c:2007:0:
/usr/include/gsl/gsl_bspline.h:97:1: note: declared here
gsl_bspline_deriv_eval(const double x,
^
xs/BSpline_wrap.2.1.c: In function ‘_wrap_gsl_bspline_deriv_eval_nonzero’:
xs/BSpline_wrap.2.1.c:4281:5: error: too few arguments to function ‘gsl_bspline_deriv_eval_nonzero’
result = (int)gsl_bspline_deriv_eval_nonzero(arg1,arg2,arg3,arg4,arg5,arg6);
^
In file included from xs/BSpline_wrap.2.1.c:2007:0:
/usr/include/gsl/gsl_bspline.h:104:1: note: declared here
gsl_bspline_deriv_eval_nonzero(const double x,
^
error building .o file from 'xs/BSpline_wrap.2.1.c' at inc/GSLBuilder.pm line 360.
LETO/Math-GSL-0.39.tar.gz
./Build -- NOT OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant