Bug 4873 - compiling problems
Summary: compiling problems
Status: RESOLVED DUPLICATE of bug 4970
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Building & Packaging (show other bugs)
Version: 3.1.1
Hardware: HP HP-UX
: P5 blocker
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-18 07:43 UTC by Giaocmo Fazio
Modified: 2006-06-29 06:23 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Giaocmo Fazio 2006-04-18 07:43:08 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
Comment 1 Sidney Markowitz 2006-04-18 09:10:23 UTC
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.
Comment 2 Giaocmo Fazio 2006-04-18 10:11:39 UTC
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
Comment 3 Loren Wilton 2006-04-18 10:36:39 UTC
There's some other open bug on HPUX 1100.  I wonder if this is related in any 
way?
Comment 4 Giaocmo Fazio 2006-04-18 11:14:40 UTC
Maybe HP-UX 11.00 do not support IPv6?
Comment 5 Sidney Markowitz 2006-04-18 12:36:03 UTC
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.
Comment 6 Justin Mason 2006-06-29 13:23:19 UTC
thanks Loren -- it is indeed a dup.

*** This bug has been marked as a duplicate of 4970 ***