Re: Conflict with Net::SSH::Perl and Tk?
"Craig M. Votava" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Organization | Lucent Technologies |
| Message-ID | <[email protected]> |
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 [email protected] -++**==--++**==--++**==--++**==--++**==--++**==--++**== 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 [email protected]