| Summary: | kst fails to compile with gsl 2 | ||
|---|---|---|---|
| Product: | [Applications] kst | Reporter: | Orion Poplawski <orion> |
| Component: | general | Assignee: | kst |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | netterfield, nicos, stasnel, stupor_scurvy343 |
| Priority: | NOR | ||
| Version First Reported In: | 2.0.8 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch to have kst compile with gsl 2 | ||
I can confirm the issue reported. It seems to me that it can be fixed with the attached patch. Created attachment 97656 [details]
Patch to have kst compile with gsl 2
Fixed by commit a9d24f91057441bbd2e3ed9e7536b071121526cb D. Wiebe, March 10, 2016 |
Working to update gsl in Fedora to 2.1. kst fails with: In file included from /builddir/build/BUILD/Kst-2.0.8/src/plugins/fits/exponential_unweighted/fitexponential_unweighted.cpp:24:0: /builddir/build/BUILD/Kst-2.0.8/src/plugins/fits/exponential_unweighted/../non_linear.h: In function 'bool kstfit_nonlinear(Kst::VectorPtr, Kst::VectorPtr, Kst::VectorPtr, Kst::VectorPtr, Kst::VectorPtr, Kst::VectorPtr, Kst::ScalarPtr)': /builddir/build/BUILD/Kst-2.0.8/src/plugins/fits/exponential_unweighted/../non_linear.h:180:40: error: 'struct gsl_multifit_fdfsolver' has no member named 'J' gsl_multifit_covar( pSolver->J, 0.0, pMatrixCovariance ); ^ src/plugins/CMakeFiles/kst2_fits_exponential_unweighted.dir/build.make:74: recipe for target 'src/plugins/CMakeFiles/kst2_fits_exponential_unweighted.dir/fits/exponential_unweighted/fitexponential_unweighted.cpp.o' failed Looks like the multifit api changed with gsl 2.