Skip Menu |

This queue is for tickets about the Socket-Class CPAN distribution.

Report information
The Basics
Id: 79780
Status: new
Priority: 0/
Queue: Socket-Class

People
Owner: Nobody in particular
Requestors: bitcard [...] faxm0dem.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.258
Fixed in: (no value)



Subject: xs/sc_ssl/t/1_fork.t fails due to relative path to certificate files
Hi, make test fails (xs/sc_ssl/t/1_fork.t) due to dependancy on $CWD: "no such file or directory". I changed the path to the certificates in the test's following lines: $s = Socket::Class::SSL->new( 'certificate' => 'xs/sc_ssl/cert/server.crt', 'private_key' => 'xs/sc_ssl/cert/server.key', 'local_addr' => '127.0.0.1', 'listen' => 10, 'reuseaddr' => 1, ) or die Socket::Class->error(); but this is only a workaround. Maybe you should use $^X or $FindBin Cheers
From: bitcard [...] faxm0dem.org
Sorry I was (again) chasing the wrong symptom. make test does still fail, but with the following messages: -- t/0_basic.t .. Can't load '$HOME/.cpan/build/Socket-Class-2.258-_tjHZo/x s/sc_ssl/../../blib/arch/auto/Socket/Class/SSL/SSL.so' for module Socket::Class: :SSL: $HOME/.cpan/build/Socket-Class-2.258-_tjHZo/xs/sc_ssl/../../blib/a rch/auto/Socket/Class/SSL/SSL.so: undefined symbol: SSLv2_client_method at /usr/ lib/perl/5.14/DynaLoader.pm line 184. --