RE: [Ssh-sftp-perl-users] 'new' breaks if using PDL.
Brought to you by:
dbrobins
From: David R. <dr...@at...> - 2005-02-23 20:51:47
|
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. It looks like the issue involves Exporter (possibly the export cache), = perhaps PDL is doing evil things? -----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. --=20 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 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick _______________________________________________ Ssh-sftp-perl-users mailing list Ssh...@li... https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users |