DCIT / perl-CryptX

https://metacpan.org/pod/CryptX
Other
35 stars 23 forks source link

Test fails using built-in Perl 5.18 on macOS Catalina #60

Closed twogee closed 4 years ago

twogee commented 4 years ago

Catalina does not allow relative paths to shared libraries, making t/mbi_ltm_bigintg.t fail. A possible fix is using rel2abs

#!/usr/bin/perl -w

use strict;
use Test;
use File::Spec::Functions 'rel2abs';

BEGIN {
    $| = 1;
    chdir 't' if -d 't';
    unshift @INC, rel2abs('../lib');             # for running manually
    unshift @INC, rel2abs('../blib/arch');       # for running manually
    plan tests => 356;
}
karel-m commented 4 years ago

could you please try https://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.067_001.tar.gz

twogee commented 4 years ago

Passes all tests with Math::BigInt VERSION=1.999818, thank you!