On Sun, Apr 3, 2011 at 8:49 AM, Shlomi Fish wrote: > On Thursday 31 Mar 2011 10:47:34 Daphna Wasserman (dwasserm) wrote: >> >> After compiling & installing socket6 & IO::Socket::INET6, checking the >> module's version fails: >> >> ana38@sh-t100-600t [~]% perl -MIO::Socket::INET6 -e 'print >> $IO::Socket::INET6::VERSION' ; >> Your vendor has not defined Socket macro AF_INET6, used at >> /export/home/ana38/perl/lib/site_perl/5.8.6/IO/Socket/INET6.pm line 49 >> Compilation failed in require. >> BEGIN failed--compilation aborted.
Hi Daphna, You might also try the solution listed at: http://www.perlmonks.org/?node_id=679089 To quote: <<<<<<<<<<<<<<<<<<<< I removed the check making it 'optional' since I am using perl 5.82. Here are the lines I changed in Socket6.pm: Original: push @EXPORT, qw(AF_INET6) unless defined Socket::AF_INET6; push @EXPORT, qw(PF_INET6) unless defined Socket::PF_INET6; Fixed: push @EXPORT, qw(AF_INET6); push @EXPORT, qw(PF_INET6); >>>>>>>>>>>>>>>>>>>> Regards, Offer Kaye _______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
