SA Bugzilla – Bug 4873
compiling problems
Last modified: 2006-06-29 06:23:19 UTC
When i compile SA it do not give me errors: But it do not run and give me the following error: Your vendor has not defined Socket macro AF_INET6, used at /usr/local/lib/perl5/site_perl/5.8.7/IO/Socket/INET6.pm line 50 Any suggestion? Giacomo
I suspect you may need to update your versions of Socket6 and IO::Socket::INET6 from CPAN. Try this to see what versions you have installed, from the shell command line perl -MSocket6 -e 'print Socket6->VERSION . "\n";' perl -MIO::Socket::INET6 -e 'print IO::Socket::INET6->VERSION . "\n";' This will tell you the versons that you have now. Then install the latest versions from CPAN (as root) perl -MCPAN -e 'shell' install Socket6 install IO::Socket::INET6 and see if that helps. If it does, please let us know what version you had installed and what new versions you ended up with.
I m running HP-UX 11.00. perl -MSocket6 -e 'print Socket6->VERSION . "\n";' 0.19 perl -MIO::Socket::INET6 -e 'print IO::Socket::INET6->VERSION . "\n";' Your vendor has not defined Socket macro AF_INET6, used at /usr/local/lib/perl5/site_perl/5.8.7/IO/Socket/INET6.pm line 27 Compilation failed in require. BEGIN failed--compilation aborted. if i run: cpan> install IO::Socket::INET6 Running install for module IO::Socket::INET6 Running make for M/MO/MONDEJAR/IO-Socket-INET6-2.51.tar.gz Fetching with LWP: ftp://bo.mirror.garr.it/mirrors/CPAN/authors/id/M/MO/MONDEJAR/IO-Socket-INET6-2.51.tar.gz CPAN: Digest::MD5 loaded ok Fetching with LWP: ftp://bo.mirror.garr.it/mirrors/CPAN/authors/id/M/MO/MONDEJAR/CHECKSUMS Checksum for /.cpan/sources/authors/id/M/MO/MONDEJAR/IO-Socket-INET6-2.51.tar.gz ok Scanning cache /.cpan/build for sizes x IO-Socket-INET6-2.51/t/io_multihomed6.t, 1820 bytes, 4 tape blocks x IO-Socket-INET6-2.51/t/io_udp6.t, 2463 bytes, 5 tape blocks x IO-Socket-INET6-2.51/t/io_sock6.t, 7558 bytes, 15 tape blocks x IO-Socket-INET6-2.51/README, 1141 bytes, 3 tape blocks x IO-Socket-INET6-2.51/INET6.pm, 17053 bytes, 34 tape blocks x IO-Socket-INET6-2.51/Makefile.PL, 217 bytes, 1 tape blocks x IO-Socket-INET6-2.51/ChangeLog, 1737 bytes, 4 tape blocks x IO-Socket-INET6-2.51/MANIFEST, 91 bytes, 1 tape blocks CPAN.pm: Going to build M/MO/MONDEJAR/IO-Socket-INET6-2.51.tar.gz Checking if your kit is complete... Looks good Writing Makefile for IO::Socket::INET6 cp INET6.pm blib/lib/IO/Socket/INET6.pm Manifying blib/man3/IO::Socket::INET6.3 /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/io_multihomed6....Your vendor has not defined Socket macro AF_INET6, used at /.cpan/build/IO-Socket-INET6-2.51/blib/lib/IO/Socket/INET6.pm line 27 Compilation failed in require at t/io_multihomed6.t line 55. BEGIN failed--compilation aborted at t/io_multihomed6.t line 55. t/io_multihomed6....dubious Test returned status 2 (wstat 512, 0x200) t/io_sock6..........Your vendor has not defined Socket macro AF_INET6, used at /.cpan/build/IO-Socket-INET6-2.51/blib/lib/IO/Socket/INET6.pm line 27 Compilation failed in require at t/io_sock6.t line 43. BEGIN failed--compilation aborted at t/io_sock6.t line 43. t/io_sock6..........dubious Test returned status 2 (wstat 512, 0x200) t/io_udp6...........Your vendor has not defined Socket macro AF_INET6, used at /.cpan/build/IO-Socket-INET6-2.51/blib/lib/IO/Socket/INET6.pm line 27 Compilation failed in require at t/io_udp6.t line 70. BEGIN failed--compilation aborted at t/io_udp6.t line 70. t/io_udp6...........dubious Test returned status 2 (wstat 512, 0x200) FAILED--3 test scripts could be run, alas--no output ever seen *** Error exit code 2 Stop. /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Can this help? Thanks Giacomo
There's some other open bug on HPUX 1100. I wonder if this is related in any way?
Maybe HP-UX 11.00 do not support IPv6?
You have the latest versions of Socket6 and IO::Socket:INET6, but perhaps you don't really have ipv6 on your system and the install of Socket6 did not detect that. If you don't have ipv6 on your system, try running spamassassin and spamd with the --ipv4 command line option to force not trying to use ipv6.
thanks Loren -- it is indeed a dup. *** This bug has been marked as a duplicate of 4970 ***