On Tue, 2 Jun 2020 12:36:03 +0200, Patrick Dupre wrote:
Hello,
I am rebuilding the perl packages that I need.
perl-Math-GSL-0.40.tar.gz
rpmbuild -bb perl-Math-GSL.spec
gives an error:
Checking for GSL using gsl-config
Found GSL 2.6 (via gsl-config) installed in /usr
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
unsupported version: 2.6 at Build.PL line 77.
error: Bad exit status from /var/tmp/rpm-tmp.I4k1Cb (%build)
Checking on the Build.PL file;
it seems to be due to
my $ver2func = Ver2Func->new( $gsl_conf->{gsl_version} );
The same version of perl-Math-GSL compiled fine with fc30.
(same version of cpanspec)
Now the gsl version is 2.6 (2.4 before)
Do I need to recompile gsl ?
No, that wouldn't change anything as long as GSL 2.5 is the maximum
version that is supported by Ver2Func. You could check the release notes
of GSL 2.6 to figure out how compatible it is.