Sun 31 Jul 2016 03:48:06 PM UTC, comment #14:
Ok, so currently we know that the dev version f the package can be built with GSL 1.13 (with some missing functions, but it's ok).
Does anybody has any clue about the oldest GSL version that can be used?
|
Thu 21 Jul 2016 06:03:43 AM UTC, comment #13:
Yes some quotes were missing, I put them in yesterday or the day before and was then able to build with Octave 4.4.x and GSL 1.13 in Red Hat Enterprise 6, even though e.g. the Mathieu functions were missing. My trunk built as-is.
|
Thu 21 Jul 2016 05:47:14 AM UTC, comment #12:
Ok, I added the missing quotes and it seems to work fine now.
So, I can report a successful build + test (test_gsl_sf) on Debian Wheezy (Octave 3.6.2 and GSL 1.15).
|
Thu 21 Jul 2016 05:40:54 AM UTC, comment #11:
@Susi: sorry, but I don't see quotes around $GSL_MISSING on repo either.
You're referring I believe to the quotes that you added on this line of bootstrap:
for((i=0;i<${#funcnames[@]};i++)); do
echo " OF_CHECK_LIB(gsl, ${gslfuncs[i]}_e,,GSL_MISSING=\"\${GSL_MISSING} ${funcnames[i]}\",-lgslcblas)" >> configure.in
done
but I think it's not enough.
|
Thu 21 Jul 2016 01:16:45 AM UTC, comment #10:
Now gsl package can be installed octave-4.0.3 on Ubuntu 14.04 LTS amd64 with gsl-1.16 and gsl-2.1.
Thanks!
|
Wed 20 Jul 2016 11:20:56 PM UTC, comment #9:
You didn't use the current version. Those have been days ago.
|
Wed 20 Jul 2016 08:16:35 PM UTC, comment #8:
It also builds fine on Debian Wheezy (old stable) which has Octave 3.6.2 and GSL 1.15, with a few missing functions (mathieu_a, mathieu_b, mathieu_ce, mathieu_se, mathieu_Mc and mathieu_Ms).
And with just a tiny problem in configure, that I haven't seen on more recent distributions:
./configure: line 10369: test: too many arguments
Line 10369 corresponds to
if test -z $GSL_MISSING; then
I think it's just missing quotes around $GSL_MISSING.
|
Tue 19 Jul 2016 05:57:28 PM UTC, comment #7:
The makefiles were still broken as I had suspected a few days ago. The list of missing functions from configure was not getting passed to the scripts.
Everything should now be fixed in this respect. I've succesfully built the package both with Octave 4.0.1 & GSL 2.1, as well as Octave 3.4.3 & GSL 1.13.
|
Tue 19 Jul 2016 10:48:06 AM UTC, comment #6:
@Tatsuro: thank you for this.
The remaining errors concern a limited number of functions, that were recently added by Susi.
If these are the only function impacted bu the 1.x/2.x transition, perhaps can we do something about it to maintain support for 1.x ...
|
Tue 19 Jul 2016 10:10:29 AM UTC, comment #5:
Sorry not gsl-1.6 but gsl 1.16.
|
Tue 19 Jul 2016 10:09:24 AM UTC, comment #4:
I have cloned the recent gsl repo. and execute make dist
then gsl-1.1.0.tar.gz is generated.
I have used gsl library from ubuntu repo. (gsl-1.6)
and tried pkg install.
The number of errors is reduced but I still have met an error
The situation is improved but seem not to be complete yet.
|
Tue 19 Jul 2016 08:39:39 AM UTC, comment #3:
@Tatsuro:
In the results of your first attempt there two types of problems. One is missing functions, that hopefully should be solved now by configure checks. The other one is related 1.x/2.x API changes, and should still be here.
Could you please try again on Ubutun 14.04 with the latest dev version of the gsl package (just clone the OF hg repo and use "make dist" to produce a tarball)? It would give an indication of the amount of work required to support GSL 1.16.
|
Tue 19 Jul 2016 08:25:57 AM UTC, comment #2:
I have reported I failed build gsl package with gsl-1.16 on ubuntu.
http://octave.1599824.n4.nabble.com/GSL-in-octave-td4678376.html#a4678584
Then I have built gsl-2.1 and errors disappeared.
|
Tue 19 Jul 2016 06:29:12 AM UTC, comment #1:
@Susi: I see that you have started to use GSL_MAJOR_VERSION in legendre_sphPlm_array.cc to support both GSL 2.x and GSL 1.x.
Do you have an idea of the number of functions that have been affected by API-breaking changes in the transition to 2.x?
My concern is that GSL 2.x is a rather recent release branch. Unless the number of affected functions is really large, perhaps should we consider preserving compatibility with GSL 1.x?
|
Tue 19 Jul 2016 06:19:44 AM UTC, original submission:
The gsl package is currently marked as unmaintained, but there is some ongoing work to produce a new release, started on this thread of the mailing list:
http://octave.1599824.n4.nabble.com/GSL-in-octave-tp4678376p4678513.html
This bug report should be used for all discussions concerning the dependency on the gsl library.
a) Which version of the GSL library should we indicate as a minimal requirement in the BuildRequires field of DESCRIPTION? None is indicated in the current (hg repo) DESCRIPTION.
b) How do we check in configure that this minimal requirement is met? Do we simply check for each individual function? Do we include a hard test on the GSL version number?
c) GSL 2.0 was released in 2015/10 and brings a number of API-breaking changes. Can we support both 1.x and 2.x, or is it too much work?
|