problems installing
Dave Filchak
dfilchak at sympatico.ca
Tue Aug 10 15:54:03 IST 2004
Hello to all,
I am new to this list and to mailscanner. Pleasure to be here ;-)
I am trying to install a MailScanner/SpamAssassin/ClamAV set up on my
secondary mail server. I am doing this on my secondary because I do not
currently have a test server I can do this on and thought it best to do it
here rather than on the main server first.
I am having trouble with the install of MailScanner. I have read the manual.
I have changed the language settings under root to export LANG=C. (This is a
RedHat ES3/Perl 5.80 system). When I run the install.sh script, most things
go well but near the end I start to get errors that seem to be about missing
archives or perl modules. To follow is an example: (please forgive the
length but thought it important to give you context)
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/limits.h:132,
from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/syslimits.h:7,
from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/limits.h:11,
from /usr/include/sys/param.h:22,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:437,
from Zlib.xs:22:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or
directory In file included from
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:437,
from Zlib.xs:22:
/usr/include/sys/param.h:23:26: linux/limits.h: No such file or directory
/usr/include/sys/param.h:24:25: linux/param.h: No such file or directory In
file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:612,
from Zlib.xs:22:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
In file included from /usr/include/errno.h:36,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:669,
from Zlib.xs:22:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory In
file included from /usr/include/sys/ioctl.h:27,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:805,
from Zlib.xs:22:
/usr/include/bits/ioctls.h:24:24: asm/ioctls.h: No such file or directory In
file included from /usr/include/sys/ioctl.h:30,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:805,
from Zlib.xs:22:
/usr/include/bits/ioctl-types.h:25:24: asm/ioctls.h: No such file or
directory In file included from /usr/include/signal.h:326,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/unixish.h:106,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:1932,
from Zlib.xs:22:
/usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or
directory
make: *** [Zlib.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.5967 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.5967 (%build)
/testex............dubious
Test returned status 2 (wstat 512, 0x200) t/testMemberRead....Can't locate
Compress/Zlib.pm in @INC (@INC contains:
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/lib
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/arch
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/lib/Archive/Zip.pm line 24.
BEGIN failed--compilation aborted at
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/lib/Archive/Zip.pm line 24.
Compilation failed in require at t/testMemberRead.t line 10.
BEGIN failed--compilation aborted at t/testMemberRead.t line 10.
t/testMemberRead....dubious
Test returned status 2 (wstat 512, 0x200) t/testTree..........Can't locate
Compress/Zlib.pm in @INC (@INC contains:
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/lib
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/arch
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/lib/Archive/Zip.pm line 24.
BEGIN failed--compilation aborted at
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/lib/Archive/Zip.pm line 24.
Compilation failed in require at t/testTree.t line 11.
BEGIN failed--compilation aborted at t/testTree.t line 11.
t/testTree..........dubious
Test returned status 2 (wstat 512, 0x200) t/testUpdate........Can't locate
Compress/Zlib.pm in @INC (@INC contains:
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/lib
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/arch
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/lib/Archive/Zip.pm line 24.
BEGIN failed--compilation aborted at
/usr/src/redhat/BUILD/Archive-Zip-1.12/blib/lib/Archive/Zip.pm line 24.
Compilation failed in require at t/testUpdate.t line 11.
BEGIN failed--compilation aborted at t/testUpdate.t line 11.
t/testUpdate........dubious
Test returned status 2 (wstat 512, 0x200)
FAILED--5 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.35762 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.35762 (%build)
Missing file /usr/src/redhat/RPMS/noarch/perl-Archive-Zip-1.12-1.noarch.rpm.
Maybe it did not build correctly?
When I then try to start MailScanner, here is what I get:
Starting MailScanner daemons:
incoming sendmail: [ OK ]
outgoing sendmail: [ OK ]
MailScanner: Can't locate Archive/Zip.pm in @INC (@INC
contains: /usr/lib/MailScanner /usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .
/usr/lib/MailScanner) at /usr/lib/MailScanner/MailScanner/Message.pm line
46.
BEGIN failed--compilation aborted at
/usr/lib/MailScanner/MailScanner/Message.pm line 46.
Compilation failed in require at /usr/sbin/MailScanner line 52.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 52.
[ OK ]
The message log has the following in it: Aug 10 10:48:01 ebony MailScanner:
succeeded
Which seems to indicate that MailScanner is running although I can see no
processes for it. I am not really sure if there is supposed to be one
though.
My feeling is that this is obviously not right and was hoping someone might
have some insight on this.
TIA
Dave
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
More information about the MailScanner
mailing list