I have had to move from Windows XP to Windows 7.
On the new system, I installed strawberry perl 5.18 and via cpan
PAR::Packer, Tk und IO::Socket::SSL 

My program (*) runs flawless if I run it directly.
But when I compile it with pp, I get a run-time error:

Use of uninitialized value in subroutine entry at IO/Socket/SSL.pm line 537.
cannot connect fex.rus.uni-stuttgart.de:443 - IO::Socket:SSL: Timeout

In my source code there is:

  $SH = IO::Socket::SSL->new(
    PeerAddr => $server,
    PeerPort => $port,
    Proto    => 'tcp',
  ) || error("cannot connect $server:$port - $@");


In IO/Socket/SSL.pm there is at line 537:

  $ssl = ${*$self}{'_SSL_object'} = Net::SSLeay::new($ctx->{context})
      || return $self->error("SSL structure creation failed");


The bug must be somewhere in PAR/pp. 
Is it compatible with Windows 7 at all?
On Windows XP I have no such error.


(*) http://fex.rus.uni-stuttgart.de/fop/Yt4lZHcZ/schwuppdiwupp.pl

-- 
Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum IZUS/TIK         E-Mail: horlac...@tik.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-68565868
Allmandring 30a                Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/
REF:<20140812132432.ga30...@rus.uni-stuttgart.de>

Reply via email to