in reply to Problem with IO::Pty and sshing with Net::Telnet and pseudo-terminals

It's the same versions of Perl and the relevant modules, but is it the same version of Solaris and the same C compiler? My distant memory of Solaris is that things can go bad fast if you change compilers, particularly if you compile Perl with one compiler and use a different one for your modules.

Also, do the modules pass their own tests?

-sam

  • Comment on Re: Problem with IO::Pty and sshing with Net::Telnet and pseudo-terminals

Replies are listed 'Best First'.
Re^2: Problem with IO::Pty and sshing with Net::Telnet and pseudo-terminals
by c0bra (Acolyte) on Mar 13, 2008 at 17:22 UTC
    Yea they're both Solaris 10. Same version of gcc on both but as I did not handle the installs (and don't have rights to do so) I can't be 100% sure what they used. I'll try to find out if the admins ever get back to me. Perl looks like it was compiled with cc, though cc doesn't seem to exist on the machine.

    I also can't check the module tests for the same reason, I guess.

      You should be able to download the modules and build and test them in a directory you own. The only thing you need root for is to install them system wide.

      I bet you're going to have problems though - if Perl was compiled with Sun's cc and you don't have Sun's cc to compile modules with then you're in trouble. Most likely you need to either get cc installed or compile a new Perl with gcc.

      -sam