RE: [Ssh-sftp-perl-users] 'new' breaks if using PDL.
Brought to you by:
dbrobins
From: Sean Q. <se...@qu...> - 2005-02-23 21:22:54
|
On Wed, 2005-02-23 at 15:51 -0500, David Robins wrote: > I've reduced it to "perl -MPDL::Core -MCrypt::Random -e ''" and I still get the error in Crypt::Random, so it isn't Net::SSH::Perl related. That's not to say that I or someone else on the list won't help you figure it out, of course; I'll keep looking into it. Many many thanks! I've CC'd the author of Crypt::Random JIK. > It looks like the issue involves Exporter (possibly the export cache), perhaps PDL is doing evil things? Having now read the source for Crypt::Random, that's looking more likely to be the case. I'm trying to find anything in PDL that might indicate culpability. I didn't grep any instances of 'makerandom' in the PDL source, which is too bad. I was really hoping it might be some odd namespace clash that could be found relatively easily. I did find this: /usr/local/lib/perl5/site_perl/5.8.3/alpha-dec_osf-thread-multi/auto/Crypt/Random/.packlist:/usr/local/bin/makerandom But I don't see how that would be the source of conflict. > -----Original Message----- > From: ssh...@li... on behalf of Sean Quinlan > Sent: Wed 2/23/2005 2:35 PM > To: ssh...@li... > Cc: pe...@ja... > Subject: [Ssh-sftp-perl-users] 'new' breaks if using PDL. > I have a function in a module which executes a long process (blast) on a > remote server via Net::SSH::Perl (NSP). This function is used by a > number of different programs quite successfully (thanks!). However it > recently started failing spectacularly in a program after I started > using a module based on PDL (pdl.perl.org). The Perl version, OS and > errors are below. I'm using NSP version 1.27 and PDL version 2.4.0. > > I've confirmed this as best I can by first stripping out use of my PDL > based modules, then adding them back piece by piece. The error below > doesn't occur until I have to add C<use PDL;> back in. I've also done a > trial case by adding C<use PDL;> to a program that uses the blast > function without error, and adding just the use statement causes the > same errors as below. > > My first guess is this is from a namespace conflict of some kind? I'm > hoping someone on these lists can help narrow down and resolve this > issue with far more alacrity than I, although I am digging. > > Thanks! > Sean > > 234: 1:57pm % perl -v > > This is perl, v5.8.3 built for alpha-dec_osf-thread-multi > > 235: 1:58pm % uname -a > OSF1 huxley V5.1 1885 alpha > > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: "makerandom" is not exported by the > Crypt::Random module > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: "makerandom_itv" is not exported by the > Crypt::Random module > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: "makerandom_octet" is not exported by > the Crypt::Random module > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: Can't continue after import errors > at /usr/local/lib/perl5/site_perl/5.8.3/Crypt/Random/Generator.pm line > 12 > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: BEGIN failed--compilation aborted > at /usr/local/lib/perl5/site_perl/5.8.3/Crypt/Random/Generator.pm line > 12, <GEN0> line 1. > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: Compilation failed in require > at /usr/local/lib/perl5/site_perl/5.8.3/Crypt/Random.pm line 18, <GEN0> > line 1. > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: BEGIN failed--compilation aborted > at /usr/local/lib/perl5/site_perl/5.8.3/Crypt/Random.pm line 18, <GEN0> > line 1. > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: Compilation failed in require > at /usr/local/lib/perl5/site_perl/5.8.3/Crypt/DH.pm line 6, <GEN0> line > 1. > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: BEGIN failed--compilation aborted > at /usr/local/lib/perl5/site_perl/5.8.3/Crypt/DH.pm line 6, <GEN0> line > 1. > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: Compilation failed in require > at /usr/local/lib/perl5/site_perl/5.8.3/Net/SSH/Perl/Kex/DH1.pm line 13, > <GEN0> line 1. > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: BEGIN failed--compilation aborted > at /usr/local/lib/perl5/site_perl/5.8.3/Net/SSH/Perl/Kex/DH1.pm line 13, > <GEN0> line 1. > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: Compilation failed in require > at /usr/local/lib/perl5/site_perl/5.8.3/Net/SSH/Perl/Kex.pm line 6, > <GEN0> line 1. > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: BEGIN failed--compilation aborted > at /usr/local/lib/perl5/site_perl/5.8.3/Net/SSH/Perl/Kex.pm line 6, > <GEN0> line 1. > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: Compilation failed in require > at /usr/local/lib/perl5/site_perl/5.8.3/Net/SSH/Perl/SSH2.pm line 6, > <GEN0> line 1. > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: [Wed Feb 23 13:30:04 > 2005] profile-request-cgi.prl: BEGIN failed--compilation aborted > at /usr/local/lib/perl5/site_perl/5.8.3/Net/SSH/Perl/SSH2.pm line 6, > <GEN0> line 1. > [Wed Feb 23 13:30:04 2005] profile-request-cgi.prl: Compilation failed > in require at /usr/local/lib/perl5/site_perl/5.8.3/Net/SSH/Perl.pm line > 51. > -- Sean Patrick Quinlan se...@qu... Tired of spyware? Wish there was a better, more secure way to browse the internet? There is, Firefox! And it's free! http://www.getfirefox.com |