On Wednesday, March 09, 2016 09:31:24 AM Schnizer, Pierre Dr. wrote:
> Dear Jose,
> 
>    the code in CVS should compile now for GSL-2.1.
> 
> Could you give it a try?
> Pierre

I am struggling with it. :-)

I do not have yet a machine with (development version of what it will be) 
Fedora 24. And I am using a chroot to build it.

Issues:
1) When building on Fedora 23 with gsl-1.16 and gcc 5.3 (with python 2.7):

swig_src/callback_wrap.c: In function 
‘Swig_var_gsl_multifit_fdfsolver_lmniel_get’:
swig_src/callback_wrap.c:10841:67: error: ‘gsl_multifit_fdfsolver_lmniel’ 
undeclared (first use in this function)
   pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(gsl_multifit_fdfsolver_lmniel), 
SWIGTYPE_p_gsl_multifit_fdfsolver_type,  0 );

2) When building on the development version with gsl-2.1 and (to be) gcc 6 
(with python 2.7):
testing/src/solvers/multifit_nlin.c: In function 
'PyGSL_multifit_fdfsolver_test_gradient':
testing/src/solvers/multifit_nlin.c:128:36: error: 'gsl_multifit_fdfsolver 
{aka struct <anonymous>}' has no member named 'J'
      flag = gsl_multifit_gradient(s->J, s->f, g);


3) There seems to be a typo in gslwrap/math.i (patch attached at pygsl-fix-
pragma.patch)

Regards,
-- 
José Matos
diff -ur pygsl-2.1.1.orig/src/gslwrap/math.i pygsl-2.1.1/src/gslwrap/math.i
--- pygsl-2.1.1.orig/src/gslwrap/math.i	2003-02-11 20:48:29.000000000 +0000
+++ pygsl-2.1.1/src/gslwrap/math.i	2016-03-05 18:55:57.631027466 +0000
@@ -14,4 +14,4 @@
 %include gsl/gsl_math.h
 %include gsl/gsl_nan.h
 %include gsl/gsl_sys.h
-#pregma SWIG nowarn=+305
+#pragma SWIG nowarn=+305
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
pygsl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pygsl-discuss

Reply via email to