Worked better than expected.

My explicit build of my local copy of your patched math pari didn't even 
start because of a version compare coding error, but when I got to 
net::sftp, cpanp found the local copy and it worked like a charm:

[MSG] Module 'Net::SSH::Perl' requires 'Math::Pari' version '2.001804' to 
be installed 
[MSG] Trying to get 
'file:///E:/strawbuild/src/local/CPANVersionLock/Math-Pari-2.01080605_patched.tar.gz'
[MSG] Extracted 'Math::Pari' to 
'E:\strawbuild\build\strawberry-perl-5.18.2.2-32bit-portable_20140418\data\.cpanplus\5.18.2\build\Math-Pari-2.01080605_patched'
Running 
[E:\strawbuild\build\strawberry-perl-5.18.2.2-32bit-portable_20140418\perl\bin\perl.exe
 
-e use strict; BEGIN { my $old = select STDERR; $|++; select $old; $|++; 
$0 = shift(@ARGV); my $rv = do($0); die $@ if $@; } 
E:\strawbuild\build\strawberry-perl-5.18.2.2-32bit-portable_20140418\data\.cpanplus\5.18.2\build\Math-Pari-2.01080605_patched\Makefile.PL]...
Did not find GP/PARI build directory around.

Non-interactive session, autofetching...



Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/

Not in this directory, now chdir('OLD/2.1')...

Available golden versions: `2.1.0 2.1.4 2.1.6 2.1.3 2.1.2 2.1.5 2.1.1 
2.1.7'

Latest supported golden is `pari-2.1.7.tgz'

Picking golden version 2.1.7, file pari-2.1.7.tgz

Downloading 
`ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/pari-2.1.7.tgz'...

Downloaded...

Extracting...

gzip -dc pari-2.1.7.tgz | tar -xvf -

and on and on....

thanks to kmx and jan for all your help
--
Matthew O. Persico

Lazard
30 Rockefeller Plaza
New York, NY 10112
212 632 6136



From:   Matthew Persico/ITS/Lazard@Lazard NYC
To:     kmx <k...@atlas.cz>
Cc:     Win32 Perl mailing list <win32-vanilla@perl.org>
Date:   04/17/2014 01:26 PM
Subject:        Re: StrawberryPerl and the OpenSSL "heartbleed" bug



I have my own local directories that cpanp knows about. I'm going to try 
and put Math-Pari-2.01080605_patched.tar.gz in one of them and see if I 
cannot coax cpanp to build locally.  If not, Illl cpanm from your repo. 

Can I assume that when 5.18.2.3 or whatever the next version is, the patch 
will be in the main distribution? 

Thanks. 

-- 
Matthew O. Persico 

Lazard 
30 Rockefeller Plaza 
New York, NY 10112 
212 632 6136 



From:        kmx <k...@atlas.cz> 
To:        Win32 Perl mailing list <win32-vanilla@perl.org> 
Date:        04/16/2014 05:21 PM 
Subject:        Re: StrawberryPerl and the OpenSSL "heartbleed" bug 



Excellent, I have put patched version at 
http://strawberryperl.com/package/kmx/perl-modules-patched/Math-Pari-2.01080605_patched.tar.gz


Simply run:

cpanm 
http://strawberryperl.com/package/kmx/perl-modules-patched/Math-Pari-2.01080605_patched.tar.gz
 
-v

--
kmx

On 16.4.2014 22:50, Jan Dubois wrote: 
On Wed, Apr 16, 2014 at 1:46 PM, kmx <k...@atlas.cz> wrote:

The reason is simple - it does not build anymore as it is not able to find
required pari source tarball at
ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/


Here is a quick-and-dirty patch to work around this (but hard-wires
you to 2.1.7):

--- a/utils/Math/PariBuild.pm
+++ b/utils/Math/PariBuild.pm
@@ -301,7 +301,7 @@ EOP
    }

    $base_url = "ftp://$host$dir";;
-    my @extra_chdir = qw(OLD);
+    my @extra_chdir = qw(OLD/2.1);
    print "Getting GP/PARI from $base_url\n";

    eval {

Cheers,
-Jan



Reply via email to