Re: Conflict with Net::SSH::Perl and Tk?



Folks-

Maybe I should phrase the question better.

Has anyone been able to successfully write
a perl program that uses both Tk and Net::SSH::Perl
and have it work?

Thanks

-Craig

"Craig M. Votava" wrote:
>
> Folks-
>
> When I try to run the following:
> ======================================================
> #!/usr/bin/perl
>
> require Net::SSH::Perl;
>
> use Tk;
>
> my $ssh;
> my $host="nwsgpb";
>
> $ssh = Net::SSH::Perl->new($host, protocol=>2);
> ======================================================
>
> I get the attached errors. If I comment out the
> "use Tk" everything works fine.
>
> Any thoughts why?
>
> Thanks
>
> -Craig Votava
> Lucent Technologies
>
> "makerandom" is not exported by the Crypt::Random module at
> /opt/exp/perl/lib/site_perl/5.6.1/Crypt/Random/Generator.pm line 12
> "makerandom_itv" is not exported by the Crypt::Random module at
> /opt/exp/perl/lib/site_perl/5.6.1/Crypt/Random/Generator.pm line 12
> "makerandom_octet" is not exported by the Crypt::Random module at
> /opt/exp/perl/lib/site_perl/5.6.1/Crypt/Random/Generator.pm line 12
> Can't continue after import errors at
> /opt/exp/perl/lib/site_perl/5.6.1/Crypt/Random/Generator.pm line 12
> BEGIN failed--compilation aborted at
> /opt/exp/perl/lib/site_perl/5.6.1/Crypt/Random/Generator.pm line 12, <GEN0> line
> 1.
> Compilation failed in require at
> /opt/exp/perl/lib/site_perl/5.6.1/Crypt/Random.pm line 18, <GEN0> line 1.
> BEGIN failed--compilation aborted at
> /opt/exp/perl/lib/site_perl/5.6.1/Crypt/Random.pm line 18, <GEN0> line 1.
> Compilation failed in require at /opt/exp/perl/lib/site_perl/5.6.1/Crypt/DH.pm
> line 6, <GEN0> line 1.
> BEGIN failed--compilation aborted at
> /opt/exp/perl/lib/site_perl/5.6.1/Crypt/DH.pm line 6, <GEN0> line 1.
> Compilation failed in require at
> /opt/exp/perl/lib/site_perl/5.6.1/Net/SSH/Perl/Kex/DH1.pm line 13, <GEN0> line
> 1.
> BEGIN failed--compilation aborted at
> /opt/exp/perl/lib/site_perl/5.6.1/Net/SSH/Perl/Kex/DH1.pm line 13, <GEN0> line
> 1.
> Compilation failed in require at
> /opt/exp/perl/lib/site_perl/5.6.1/Net/SSH/Perl/Kex.pm line 6, <GEN0> line 1.
> BEGIN failed--compilation aborted at
> /opt/exp/perl/lib/site_perl/5.6.1/Net/SSH/Perl/Kex.pm line 6, <GEN0> line 1.
> Compilation failed in require at
> /opt/exp/perl/lib/site_perl/5.6.1/Net/SSH/Perl/SSH2.pm line 6, <GEN0> line 1.
> BEGIN failed--compilation aborted at
> /opt/exp/perl/lib/site_perl/5.6.1/Net/SSH/Perl/SSH2.pm line 6, <GEN0> line 1.
> Compilation failed in require at
> /opt/exp/perl/lib/site_perl/5.6.1/Net/SSH/Perl.pm line 51, <GEN0> line 1.
> -++**==--++**==--++**==--++**==--++**==--++**==--++**==
> This message was posted through the Stanford campus mailing list
> server. If you wish to unsubscribe from this mailing list, send the
> message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server. If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx

.



Relevant Pages

  • Re: Conflict with Net::SSH::Perl and Tk?
    ... > This message was posted through the Stanford campus mailing list ... > server. ... > message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx ...
    (comp.lang.perl.tk)
  • Re: Tk::HList oddity
    ... I haven't had any problems with the HList widget on Linux... ... server. ... message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx ...
    (comp.lang.perl.tk)
  • RE: :Text::FindAndReplaceAll()
    ... >> Now I put as a text 'gallo' and from the next line 'ballo'. ... >server. ... >message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx ...
    (comp.lang.perl.tk)
  • Re: Tks lack of "chrome" (prompted by Re: Tk::FunkyButton ?)
    ... A VERY simple project would be to make them the perl/Tk ... >server. ... >message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx ...
    (comp.lang.perl.tk)
  • Re: question about Ptk new version
    ... this drawback is not a reason to include entire GUI toolkit into Perl ... server. ... message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx ...
    (comp.lang.perl.tk)