then I get a little bit further but it still fails becauseset PKG_CONFIG_PATH=D:\sp\_64\sp-5.32.1\perl\site\lib\auto\share\dist\ +Alien-GSL\lib\pkgconfig
So I changed the "2.7" => { to "2.7.1" => { in inc/Ver2Func.pm, installed the missing build prerequisites (Test::Class, Test::Most and Test::Taint) using cpanm, and built the damn thing manually by running perl Build.PL, perl Build test and perl build install..... Asking PkgConfig with ENV{PKG_CONFIG_PATH}=D:\sp\_64\sp-5.32.1\perl\si +te\lib\auto\share\dist\Alien-GSL\lib\pkgconfig:/usr/pkgconfig:/usr/li +b/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/pkgconfig:/usr/libdat +a/pkgconfig:/usr/local/libdata/pkgconfig:/opt/pkgconfig 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"...Unsupported GSL version!!! : 2.7.1 at +Build.PL line 85. yes -> N/A -> FAIL Configure failed for Math-GSL-0.43. See D:\sp\_64\sp-5.32.1\da +ta\.cpanm\work\1668033142.8832\build.log for details.
I note that Alien built and installed static libs (libgsl.a & libgslcblas.a) rather than the dll I was expecting. I don't know if that caused any problems. Running the following script:Test Summary Report ------------------- t\00-load.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t\Histogram.t (Wstat: 768 Tests: 43 Failed: 0) Non-zero exit status: 3 Parse errors: Bad plan. You planned 74 tests but ran 43. t\Histogram2D.t (Wstat: 768 Tests: 52 Failed: 0) Non-zero exit status: 3 Parse errors: Bad plan. You planned 89 tests but ran 52. t\Matrix.t (Wstat: 0 Tests: 290 Failed: 0) TODO passed: 235, 237-238 t\MatrixComplex.t (Wstat: 768 Tests: 28 Failed: 0) Non-zero exit status: 3 Parse errors: Bad plan. You planned 38 tests but ran 28. t\Multilarge.t (Wstat: 768 Tests: 2 Failed: 0) Non-zero exit status: 3 Parse errors: No plan found in TAP output t\Multiroots.t (Wstat: 768 Tests: 2 Failed: 0) Non-zero exit status: 3 Parse errors: Bad plan. You planned 11 tests but ran 2. t\Permutation.t (Wstat: 768 Tests: 11 Failed: 0) Non-zero exit status: 3 Parse errors: Bad plan. You planned 85 tests but ran 11. t\SF.t (Wstat: 768 Tests: 2 Failed: 0) Non-zero exit status: 3 Parse errors: No plan found in TAP output t\Vector.t (Wstat: 768 Tests: 29 Failed: 0) Non-zero exit status: 3 Parse errors: Bad plan. You planned 143 tests but ran 29. Files=58, Tests=2791, 42 wallclock secs ( 0.17 usr + 0.05 sys = 0.22 + CPU) Result: FAIL Failed 9/58 test programs. 0/2791 subtests failed.
produced:use strict; use warnings; use feature 'say'; use Alien::GSL; use Math::GSL; use Math::GSL::SparseMatrix ':all'; say join ' ', Alien::GSL->version, Alien::GSL->install_type; say Math::GSL::gsl_version(); my $m = gsl_spmatrix_alloc( 1, 1 ); die if gsl_spmatrix_set( $m, 0, 0, 1 ); say gsl_spmatrix_nnz( $m ); die if gsl_spmatrix_set( $m, 123 + 1 << 32, 0, 1 ); say gsl_spmatrix_nnz( $m ); die if gsl_spmatrix_set( $m, 456 + 1 << 32, 0, 1 ); say gsl_spmatrix_nnz( $m );
Admittedly, my hack to inc/Ver2Func.pm was perhaps unrealistically hopeful ;-)D:\s\Math-GSL-0.43>perl \pscrpt\math-gsl\try.pl 2.7.1 share 2.7 1 1 1
In reply to Re^7: Math::GSL::SparseMatrix is broken if installed on latest 5.32.1.1 "Strawberry Perl PDL edition", whom to report this issue to?
by syphilis
in thread Math::GSL::SparseMatrix is broken if installed on latest 5.32.1.1 "Strawberry Perl PDL edition", whom to report this issue to?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |