franklin:/usr/src/clamAV-SA_script/install-Clam-0.91.1-SA-3.2.1# ./install.sh Good, you appear to only have 1 copy of Perl installed: /usr/bin/perl Found gcc. cc is really gcc. Good, I have found GNU tar in /bin/tar. This script will pause for a few seconds after each major step, so do not worry if it appears to stop for a while. If you want it to stop so you can scroll back through the output then press Ctrl-S to stop the output and Ctrl-Q to start it again. If this fails due to dependency checks, and you wish to ignore these problems, you can run ./install.sh --nodeps Installing ClamAV There are 2 recommended ways of installing ClamAV, depending on various factors. If you want to use MailScanners support for Clamd (virus-scanning daemon) then I recommend you cancel this script now (press Ctrl-C) and install the RPMs for clamav, clamav-db and clamd from http://dag.wieers.com/rpm/packages/clamav Then re-run this script and tell me that clamscan is installed in /usr/bin. This will set up your virus.scanners.conf file for you. Otherwise you probably want me to install ClamAV now. So answer y. Do you want me to install ClamAV for you [y or n, default is y] ? Do not worry about warnings or errors from the next 3 commands groupadd: group clamav exists useradd: user clamav exists You can start worrying about errors again now About to build the ClamAV virus scanner checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu creating target.h - canonical system defines checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gawk... (cached) mawk checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for ANSI C header files... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking sys/int_types.h usability... no checking sys/int_types.h presence... no checking for sys/int_types.h... no checking for dlfcn.h... (cached) yes checking for inttypes.h... (cached) yes checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking for memory.h... (cached) yes checking ndir.h usability... no checking ndir.h presence... no checking for ndir.h... no checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for off_t... yes checking size of short... 2 checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking for bind in -lsocket... no checking for gethostent in -lnsl... yes checking for libiconv_open in -liconv... no checking for poll... yes checking for setsid... yes checking for memcpy... yes checking for snprintf... yes checking for vsnprintf... yes checking for strerror_r... yes checking for strlcpy... no checking for strlcat... no checking for inet_ntop... yes checking for setgroups... yes checking for initgroups... yes checking for ctime_r... yes checking for mkstemp... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for _LARGEFILE_SOURCE value needed for large files... 1 checking whether snprintf correctly terminates long strings... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for zlib installation... /usr checking for inflateEnd in -lz... yes checking for bzReadOpen in -lbz2... no checking bzlib.h usability... no checking bzlib.h presence... no checking for bzlib.h... no configure: WARNING: ****** bzip2 support disabled checking for sn_sigscan_initdb in -lsn_sigscan... no checking for __dn_expand in -lresolv... yes checking for resolv.h... yes checking whether setpgrp takes no argument... yes checking for __gmpz_init in -lgmp... no checking for mpz_init in -lgmp... no configure: WARNING: ****** GNU MP 2 or newer NOT FOUND - digital signature support will be disabled ! checking for recvmsg... yes checking for sendmsg... yes checking for msg_accrights field in struct msghdr... no checking for msg_control field in struct msghdr... yes checking for gethostbyname_r... yes, and it takes 6 arguments checking for readdir_r... support disabled checking for ctime_r... yes, and it takes 2 arguments checking for socklen_t... yes checking for clamav in /etc/passwd... yes, user clamav and group clamav checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for structure packing via __attribute__((packed))... yes checking for type aligning via __attribute__((aligned))... yes checking for fd_set... yes, found in sys/types.h checking default FD_SETSIZE value... 1024 checking if signed right shift is sign extended... yes configure: creating ./config.status config.status: creating libclamav/Makefile config.status: creating clamscan/Makefile config.status: creating database/Makefile config.status: creating docs/Makefile config.status: creating clamd/Makefile config.status: creating clamdscan/Makefile config.status: creating clamav-milter/Makefile config.status: creating freshclam/Makefile config.status: creating sigtool/Makefile config.status: creating clamconf/Makefile config.status: creating etc/Makefile config.status: creating Makefile config.status: creating clamav-config config.status: creating libclamav.pc config.status: creating docs/man/clamav-milter.8 config.status: creating docs/man/clamconf.1 config.status: creating docs/man/clamd.8 config.status: creating docs/man/clamd.conf.5 config.status: creating docs/man/clamdscan.1 config.status: creating docs/man/clamscan.1 config.status: creating docs/man/freshclam.1 config.status: creating docs/man/freshclam.conf.5 config.status: creating docs/man/sigtool.1 config.status: creating clamav-config.h config.status: clamav-config.h is unchanged config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/tmp/clamav-0.91.1' Making all in libclamav make[2]: Entering directory `/tmp/clamav-0.91.1/libclamav' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I./nsis -g -O2 -MT others.lo -MD -MP -MF ".deps/others.Tpo" -c -o others.lo others.c; \ then mv -f ".deps/others.Tpo" ".deps/others.Plo"; else rm -f ".deps/others.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I./nsis -g -O2 -MT others.lo -MD -MP -MF .deps/others.Tpo -c others.c -fPIC -DPIC -o .libs/others.o others.c: In function `cli_md5buff': others.c:297: warning: passing arg 2 of `cli_md5_update' discards qualifiers from pointer target type gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I./nsis -g -O2 -MT others.lo -MD -MP -MF .deps/others.Tpo -c others.c -o others.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o libclamav.la -rpath /usr/local/lib -thread-safe -version-info 2:7:0 -no-undefined matcher-ac.lo matcher-bm.lo matcher-ncore.lo matcher.lo md5.lo others.lo readdb.lo cvd.lo dsig.lo str.lo scanners.lo filetypes.lo rtf.lo blob.lo mbox.lo message.lo snprintf.lo table.lo text.lo ole2_extract.lo vba_extract.lo msexpand.lo pe.lo upx.lo htmlnorm.lo chmunpack.lo rebuildpe.lo petite.lo wwunpack.lo suecrypt.lo unsp.lo aspack.lo packlibs.lo fsg.lo mew.lo upack.lo line.lo untar.lo unzip.lo special.lo binhex.lo is_tar.lo tnef.lo unrar15.lo unrarvm.lo unrar.lo unrarfilter.lo unrarppm.lo unrar20.lo unrarcmd.lo LZMADecode.lo bzlib.lo infblock.lo nulsft.lo pdf.lo spin.lo yc.lo elf.lo sis.lo uuencode.lo phishcheck.lo phish_domaincheck_db.lo phish_whitelist.lo regex_list.lo sha256.lo mspack.lo cab.lo entconv.lo hashtab.lo dconf.lo lockdb.lo -lz -lpthread -lnsl gcc -shared .libs/matcher-ac.o .libs/matcher-bm.o .libs/matcher-ncore.o .libs/matcher.o .libs/md5.o .libs/others.o .libs/readdb.o .libs/cvd.o .libs/dsig.o .libs/str.o .libs/scanners.o .libs/filetypes.o .libs/rtf.o .libs/blob.o .libs/mbox.o .libs/message.o .libs/snprintf.o .libs/table.o .libs/text.o .libs/ole2_extract.o .libs/vba_extract.o .libs/msexpand.o .libs/pe.o .libs/upx.o .libs/htmlnorm.o .libs/chmunpack.o .libs/rebuildpe.o .libs/petite.o .libs/wwunpack.o .libs/suecrypt.o .libs/unsp.o .libs/aspack.o .libs/packlibs.o .libs/fsg.o .libs/mew.o .libs/upack.o .libs/line.o .libs/untar.o .libs/unzip.o .libs/special.o .libs/binhex.o .libs/is_tar.o .libs/tnef.o .libs/unrar15.o .libs/unrarvm.o .libs/unrar.o .libs/unrarfilter.o .libs/unrarppm.o .libs/unrar20.o .libs/unrarcmd.o .libs/LZMADecode.o .libs/bzlib.o .libs/infblock.o .libs/nulsft.o .libs/pdf.o .libs/spin.o .libs/yc.o .libs/elf.o .libs/sis.o .libs/uuencode.o .libs/phishcheck.o .libs/phish_domaincheck_db.o .libs/phish_whitelist.o .libs/regex_list.o .libs/sha256.o .libs/mspack.o .libs/cab.o .libs/entconv.o .libs/hashtab.o .libs/dconf.o .libs/lockdb.o -lz -lpthread -lnsl -Wl,-soname -Wl,libclamav.so.2 -o .libs/libclamav.so.2.0.7 /usr/lib/libc_nonshared.a(atexit.oS)(.text.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx': : multiple definition of `__i686.get_pc_thunk.bx' /usr/lib/gcc-lib/i486-linux/3.3.5/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here collect2: ld returned 1 exit status make[2]: *** [libclamav.la] Error 1 make[2]: Leaving directory `/tmp/clamav-0.91.1/libclamav' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/clamav-0.91.1' make: *** [all] Error 2 Making install in libclamav make[1]: Entering directory `/tmp/clamav-0.91.1/libclamav' /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o libclamav.la -rpath /usr/local/lib -thread-safe -version-info 2:7:0 -no-undefined matcher-ac.lo matcher-bm.lo matcher-ncore.lo matcher.lo md5.lo others.lo readdb.lo cvd.lo dsig.lo str.lo scanners.lo filetypes.lo rtf.lo blob.lo mbox.lo message.lo snprintf.lo table.lo text.lo ole2_extract.lo vba_extract.lo msexpand.lo pe.lo upx.lo htmlnorm.lo chmunpack.lo rebuildpe.lo petite.lo wwunpack.lo suecrypt.lo unsp.lo aspack.lo packlibs.lo fsg.lo mew.lo upack.lo line.lo untar.lo unzip.lo special.lo binhex.lo is_tar.lo tnef.lo unrar15.lo unrarvm.lo unrar.lo unrarfilter.lo unrarppm.lo unrar20.lo unrarcmd.lo LZMADecode.lo bzlib.lo infblock.lo nulsft.lo pdf.lo spin.lo yc.lo elf.lo sis.lo uuencode.lo phishcheck.lo phish_domaincheck_db.lo phish_whitelist.lo regex_list.lo sha256.lo mspack.lo cab.lo entconv.lo hashtab.lo dconf.lo lockdb.lo -lz -lpthread -lnsl gcc -shared .libs/matcher-ac.o .libs/matcher-bm.o .libs/matcher-ncore.o .libs/matcher.o .libs/md5.o .libs/others.o .libs/readdb.o .libs/cvd.o .libs/dsig.o .libs/str.o .libs/scanners.o .libs/filetypes.o .libs/rtf.o .libs/blob.o .libs/mbox.o .libs/message.o .libs/snprintf.o .libs/table.o .libs/text.o .libs/ole2_extract.o .libs/vba_extract.o .libs/msexpand.o .libs/pe.o .libs/upx.o .libs/htmlnorm.o .libs/chmunpack.o .libs/rebuildpe.o .libs/petite.o .libs/wwunpack.o .libs/suecrypt.o .libs/unsp.o .libs/aspack.o .libs/packlibs.o .libs/fsg.o .libs/mew.o .libs/upack.o .libs/line.o .libs/untar.o .libs/unzip.o .libs/special.o .libs/binhex.o .libs/is_tar.o .libs/tnef.o .libs/unrar15.o .libs/unrarvm.o .libs/unrar.o .libs/unrarfilter.o .libs/unrarppm.o .libs/unrar20.o .libs/unrarcmd.o .libs/LZMADecode.o .libs/bzlib.o .libs/infblock.o .libs/nulsft.o .libs/pdf.o .libs/spin.o .libs/yc.o .libs/elf.o .libs/sis.o .libs/uuencode.o .libs/phishcheck.o .libs/phish_domaincheck_db.o .libs/phish_whitelist.o .libs/regex_list.o .libs/sha256.o .libs/mspack.o .libs/cab.o .libs/entconv.o .libs/hashtab.o .libs/dconf.o .libs/lockdb.o -lz -lpthread -lnsl -Wl,-soname -Wl,libclamav.so.2 -o .libs/libclamav.so.2.0.7 /usr/lib/libc_nonshared.a(atexit.oS)(.text.__i686.get_pc_thunk.bx+0x0): In function `__i686.get_pc_thunk.bx': : multiple definition of `__i686.get_pc_thunk.bx' /usr/lib/gcc-lib/i486-linux/3.3.5/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here collect2: ld returned 1 exit status make[1]: *** [libclamav.la] Error 1 make[1]: Leaving directory `/tmp/clamav-0.91.1/libclamav' make: *** [install-recursive] Error 1 Enabling ClamAV auto-updates Setting ClamAV location in /opt/MailScanner/etc/virus.scanners.conf Good, your /etc/ld.so.conf file looks okay. Refreshing run-time linker cache... Rebuilding all the Perl modules for your version of Perl Attempting to build and install Digest-1.15 Unpacking perl-tar/Digest-1.15.tar.gz Do not worry too much about errors from the next command. It is quite likely that some of the Perl modules are already installed on your system. The important ones are Mail-ClamAV and Mail-SpamAssassin. Checking if your kit is complete... Looks good Writing Makefile for Digest cp Digest.pm blib/lib/Digest.pm cp Digest/file.pm blib/lib/Digest/file.pm cp Digest/base.pm blib/lib/Digest/base.pm Manifying blib/man3/Digest.3pm Manifying blib/man3/Digest::file.3pm Manifying blib/man3/Digest::base.3pm PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/base......ok t/digest....ok t/file......ok All tests successful. Files=3, Tests=20, 0 wallclock secs ( 0.06 cusr + 0.01 csys = 0.07 CPU) Manifying blib/man3/Digest.3pm Manifying blib/man3/Digest::file.3pm Manifying blib/man3/Digest::base.3pm Oh good, module Text::Balanced version 1.98 is already installed. Oh good, module Digest::MD5 version 2.36 is already installed. Oh good, module Parse::RecDescent version 1.94 is already installed. Oh good, module Inline version 0.44 is already installed. Attempting to build and install Test-Harness-2.56 Unpacking perl-tar/Test-Harness-2.56.tar.gz Do not worry too much about errors from the next command. It is quite likely that some of the Perl modules are already installed on your system. The important ones are Mail-ClamAV and Mail-SpamAssassin. Checking if your kit is complete... Looks good Writing Makefile for Test::Harness cp lib/Test/Harness/TAP.pod blib/lib/Test/Harness/TAP.pod cp lib/Test/Harness/Point.pm blib/lib/Test/Harness/Point.pm cp lib/Test/Harness/Iterator.pm blib/lib/Test/Harness/Iterator.pm cp lib/Test/Harness/Assert.pm blib/lib/Test/Harness/Assert.pm cp lib/Test/Harness.pm blib/lib/Test/Harness.pm cp lib/Test/Harness/Straps.pm blib/lib/Test/Harness/Straps.pm cp bin/prove blib/script/prove /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/prove Manifying blib/man1/prove.1p Manifying blib/man3/Test::Harness::TAP.3pm Manifying blib/man3/Test::Harness::Point.3pm Manifying blib/man3/Test::Harness::Iterator.3pm Manifying blib/man3/Test::Harness::Assert.3pm Manifying blib/man3/Test::Harness::Straps.3pm Manifying blib/man3/Test::Harness.3pm PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00compile.........# Testing Test::Harness 2.56 under Perl 5.008008 and Test::More 0.42 t/00compile.........ok t/assert............ok t/base..............ok t/callback..........ok t/from_line.........ok t/harness...........ok t/inc_taint.........ok t/nonumbers.........ok t/ok................ok t/pod...............skipped all skipped: Test::Pod 1.00 required for testing POD t/point-parse.......ok t/point.............ok t/prove-globbing....ok t/prove-switches....ok t/strap-analyze.....ok t/strap.............ok t/test-harness......ok 31/189 skipped: various reasons t/version...........ok All tests successful, 1 test and 31 subtests skipped. Files=18, Tests=534, 2 wallclock secs ( 2.13 cusr + 0.66 csys = 2.79 CPU) Manifying blib/man1/prove.1p Manifying blib/man3/Test::Harness::TAP.3pm Manifying blib/man3/Test::Harness::Point.3pm Manifying blib/man3/Test::Harness::Iterator.3pm Manifying blib/man3/Test::Harness::Assert.3pm Manifying blib/man3/Test::Harness::Straps.3pm Attempting to build and install Test-Simple-0.70 Unpacking perl-tar/Test-Simple-0.70.tar.gz Do not worry too much about errors from the next command. It is quite likely that some of the Perl modules are already installed on your system. The important ones are Mail-ClamAV and Mail-SpamAssassin. WARNING: LICENSE is not a known parameter. Checking if your kit is complete... Looks good 'LICENSE' is not a known MakeMaker parameter name. Writing Makefile for Test::Simple cp lib/Test/Builder/Tester/Color.pm blib/lib/Test/Builder/Tester/Color.pm cp lib/Test/Builder.pm blib/lib/Test/Builder.pm cp lib/Test/Simple.pm blib/lib/Test/Simple.pm cp lib/Test/More.pm blib/lib/Test/More.pm cp lib/Test/Builder/Module.pm blib/lib/Test/Builder/Module.pm cp lib/Test/Builder/Tester.pm blib/lib/Test/Builder/Tester.pm cp lib/Test/Tutorial.pod blib/lib/Test/Tutorial.pod Manifying blib/man3/Test::Builder::Tester::Color.3pm Manifying blib/man3/Test::Simple.3pm Manifying blib/man3/Test::Builder.3pm Manifying blib/man3/Test::More.3pm Manifying blib/man3/Test::Builder::Tester.3pm Manifying blib/man3/Test::Builder::Module.3pm Manifying blib/man3/Test::Tutorial.3pm PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00signature.............WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 3669 19C5 3228 1283 6390 4112 58CA 2196 10F5 4327 t/00signature.............ok t/00test_harness_check....ok t/bad_plan................ok t/bail_out................ok t/buffer..................ok t/Builder.................ok t/carp....................ok t/circular_data...........ok t/create..................ok t/curr_test...............ok t/details.................ok t/diag....................ok t/eq_set..................ok t/exit....................ok t/extra...................ok t/extra_one...............ok t/fail-like...............ok t/fail-more...............ok t/fail....................ok t/fail_one................ok t/filehandles.............ok t/fork....................ok t/harness_active..........ok t/has_plan................ok t/has_plan2...............ok t/import..................ok t/is_deeply_fail..........ok t/is_fh...................ok t/maybe_regex.............ok t/missing.................ok t/More....................ok t/no_diag.................ok t/no_ending...............ok t/no_header...............ok t/no_plan.................ok t/ok_obj..................ok t/output..................ok t/overload................ok t/overload_threads........ok 1/5 skipped: not really skipped, testing overloaded reason t/plan....................ok t/plan_bad................ok t/plan_is_noplan..........ok t/plan_no_plan............ok 1/6 skipped: Just testing skip with no_plan t/plan_shouldnt_import....ok t/plan_skip_all...........skipped all skipped: Just testing plan & skip_all t/pod-coverage............skipped all skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t/pod.....................skipped all skipped: Test::Pod 1.00 required for testing POD t/require_ok..............ok t/reset...................ok t/simple..................ok t/skip....................ok 8/17 skipped: various reasons t/skipall.................ok t/sort_bug................ok t/tbt_01basic.............ok t/tbt_02fhrestore.........ok t/tbt_03die...............ok t/tbt_04line_num..........ok t/tbt_05faildiag..........ok t/tbt_06errormess.........ok t/tbt_07args..............ok t/thread_taint............ok t/threads.................ok t/todo....................ok t/undef...................ok t/use_ok..................ok t/useing..................ok All tests successful, 3 tests and 10 subtests skipped. Files=66, Tests=492, 23 wallclock secs ( 3.32 cusr + 0.39 csys = 3.71 CPU) Manifying blib/man3/Test::Builder::Tester::Color.3pm Manifying blib/man3/Test::Simple.3pm Manifying blib/man3/Test::Builder.3pm Manifying blib/man3/Test::More.3pm Manifying blib/man3/Test::Builder::Tester.3pm Manifying blib/man3/Test::Builder::Module.3pm Manifying blib/man3/Test::Tutorial.3pm Oh good, module Mail::ClamAV version 0.20 is already installed. Oh good, module DB_File version 1.814 is already installed. Oh good, module Digest::SHA1 version 2.10 is already installed. Oh good, module Net::CIDR::Lite version 0.20 is already installed. Oh good, module Test::Manifest version 0.95 is already installed. Oh good, module HTML::Parser version 3.56 is already installed. Oh good, module Business::ISBN::Data version 1.10 is already installed. Oh good, module Business::ISBN version 1.82 is already installed. Oh good, module Sys::Hostname::Long version 1.4 is already installed. Oh good, module Digest::HMAC version 1.01 is already installed. Oh good, module Net::IP version 1.25 is already installed. Oh good, module YAML version 0.62 is already installed. Oh good, module ExtUtils::CBuilder version 0.18 is already installed. Oh good, module ExtUtils::ParseXS version 2.18 is already installed. Oh good, module version version 0.7203 is already installed. Oh good, module Module::Build version 0.2808 is already installed. Oh good, module Net::DNS version 0.60 is already installed. Oh good, module Net::DNS::Resolver::Programmable version 0.002.2 is already installed. Oh good, module Error version 0.17008 is already installed. Oh good, module NetAddr::IP version 4.004 is already installed. Oh good, module URI version 1.35 is already installed. Oh good, module Mail::SPF::Query version 1.999.1 is already installed. Oh good, module IP::Country version 2.21 is already installed. Oh good, module IO::Zlib version 1.04 is already installed. Oh good, module IO::String version 1.08 is already installed. Oh good, module Archive::Tar version 1.29 is already installed. Oh good, module Data::Dump version 1.08 is already installed. Attempting to build and install Encode-Detect-1.00 Unpacking perl-tar/Encode-Detect-1.00.tar.gz Do not worry too much about errors from the next command. It is quite likely that some of the Perl modules are already installed on your system. The important ones are Mail-ClamAV and Mail-SpamAssassin. # running Build.PL /usr/bin/perl Build.PL Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'Encode-Detect' version '1.00' /usr/bin/perl Build --makefile_env_macros 1 cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/LangBulgarianModel.o src/LangBulgarianModel.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/LangGreekModel.o src/LangGreekModel.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsCharSetProber.o src/nsCharSetProber.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsGB2312Prober.o src/nsGB2312Prober.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsEUCJPProber.o src/nsEUCJPProber.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsSJISProber.o src/nsSJISProber.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsUTF8Prober.o src/nsUTF8Prober.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsEUCTWProber.o src/nsEUCTWProber.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsLatin1Prober.o src/nsLatin1Prober.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsMBCSSM.o src/nsMBCSSM.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsEscSM.o src/nsEscSM.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsBig5Prober.o src/nsBig5Prober.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/CharDistribution.o src/CharDistribution.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsUniversalDetector.o src/nsUniversalDetector.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsEscCharsetProber.o src/nsEscCharsetProber.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsMBCSGroupProber.o src/nsMBCSGroupProber.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsSBCSGroupProber.o src/nsSBCSGroupProber.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/JpCntx.o src/JpCntx.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsHebrewProber.o src/nsHebrewProber.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/LangHungarianModel.o src/LangHungarianModel.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsEUCKRProber.o src/nsEUCKRProber.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/LangHebrewModel.o src/LangHebrewModel.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/LangCyrillicModel.o src/LangCyrillicModel.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/nsSBCharSetProber.o src/nsSBCharSetProber.cpp cc -Isrc -I/usr/lib/perl/5.8/CORE -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o src/LangThaiModel.o src/LangThaiModel.cpp Copying Detect.pm -> blib/lib/Encode/Detect.pm Copying Detector.pm -> blib/lib/Encode/Detect/Detector.pm Copying Detector.xs -> lib/Encode/Detect/Detector.xs lib/Encode/Detect/Detector.xs -> lib/Encode/Detect/Detector.c Use of uninitialized value in concatenation (.) or string at /usr/share/perl/5.8/ExtUtils/ParseXS.pm line 508, line 65. cc -Isrc -I/usr/lib/perl/5.8/CORE -DXS_VERSION="1.00" -DVERSION="1.00" -fPIC -x c++ -Iinclude -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -o lib/Encode/Detect/Detector.o lib/Encode/Detect/Detector.c In file included from lib/Encode/Detect/Detector.xs:40: /usr/lib/perl/5.8/CORE/perl.h:2700: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perl.h:2710: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perl.h:2710: error: syntax error before `)' token In file included from /usr/lib/perl/5.8/CORE/iperlsys.h:51, from /usr/lib/perl/5.8/CORE/perl.h:2733, from lib/Encode/Detect/Detector.xs:40: /usr/lib/perl/5.8/CORE/perlio.h:117: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `void PerlIO_define_layer(...)': /usr/lib/perl/5.8/CORE/perlio.h:118: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `PerlIO_funcs* PerlIO_find_layer(...)': /usr/lib/perl/5.8/CORE/perlio.h:121: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `PerlIOl** PerlIO_push(...)': /usr/lib/perl/5.8/CORE/perlio.h:123: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `void PerlIO_pop(...)': /usr/lib/perl/5.8/CORE/perlio.h:124: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `AV* PerlIO_get_layers(...)': /usr/lib/perl/5.8/CORE/perlio.h:125: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `void PerlIO_clone(...)': /usr/lib/perl/5.8/CORE/perlio.h:220: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `void PerlIO_init(...)': /usr/lib/perl/5.8/CORE/perlio.h:233: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `PerlIOl** PerlIO_openn(...)': /usr/lib/perl/5.8/CORE/perlio.h:351: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `PerlIOl** PerlIO_fdupopen(...)': /usr/lib/perl/5.8/CORE/perlio.h:360: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `int PerlIO_apply_layers(...)': /usr/lib/perl/5.8/CORE/perlio.h:364: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `int PerlIO_binmode(...)': /usr/lib/perl/5.8/CORE/perlio.h:371: error: parse error before `__attribute__' /usr/lib/perl/5.8/CORE/perlio.h: In function `void PerlIO_destruct(...)': /usr/lib/perl/5.8/CORE/perlio.h:376: error: parse error before `__attribute__' In file included from /usr/lib/perl/5.8/CORE/perl.h:2746, from lib/Encode/Detect/Detector.xs:40: /usr/lib/perl/5.8/CORE/regexp.h: In function `void PerlIO_cleanup(...)': /usr/lib/perl/5.8/CORE/regexp.h:31: error: declaration of `struct regexp' in ` void PerlIO_cleanup(...)' which does not enclose `::' /usr/lib/perl/5.8/CORE/regexp.h:31: confused by earlier errors, bailing out error building lib/Encode/Detect/Detector.o from 'lib/Encode/Detect/Detector.c' at /usr/local/share/perl/5.8.8/ExtUtils/CBuilder/Base.pm line 108. make: *** [all] Error 2 Oh good, module Mail::SPF version 2.004 is already installed. Oh good, module Mail::SpamAssassin version 3.2.1 is already installed. Setting a soft-link from spam.assassin.prefs.conf into the SpamAssassin site rules directory. spam.assassin.prefs.conf is read directly by the SpamAssassin startup code, so make sure you have a link from the site_rules directory to this file in your MailScanner/etc directory. Good, SpamAssassin site rules found in "/etc/mail/spamassassin" Good, the link was created to /opt/MailScanner/etc Making backup of pre files to /tmp/backup.pre.5900.tar tar: *pre: Cannot stat: No such file or directory tar: Error exit delayed from previous errors Now go and edit the file /etc/mail/spamassassin/v320.pre You need to uncomment (remove the #) the loadplugin lines for DCC. I am adding up to 5 more loadplugin lines to v320.pre to add the missing plugins for RelayCountry, SPF, Razor2, ASN and URIDNSBL. Loading plugin RelayCountry is already done. Loading plugin SPF is already done. Loading plugin URIDNSBL is already done. Loading plugin Razor2 is already done. Loading plugin ASN is already done. Now go and edit the file /etc/mail/spamassassin/v310.pre You need to uncomment (remove the #) the loadplugin lines for DCC. I am adding up to 5 more loadplugin lines to v310.pre to add the missing plugins for RelayCountry, SPF, Razor2, ASN and URIDNSBL. Loading plugin RelayCountry is already done. Loading plugin SPF is already done. Loading plugin URIDNSBL is already done. Loading plugin Razor2 is already done. Loading plugin ASN is already done. Now go and edit the file /etc/mail/spamassassin/init.pre You need to uncomment (remove the #) the loadplugin lines for DCC. I am adding up to 5 more loadplugin lines to init.pre to add the missing plugins for RelayCountry, SPF, Razor2, ASN and URIDNSBL. Loading plugin RelayCountry is already done. Loading plugin SPF is already done. Loading plugin URIDNSBL is already done. Loading plugin Razor2 is already done. Loading plugin ASN is already done. Make sure your MailScanner.conf says "Use SpamAssassin = yes" Now you need to install: 1) Razor-agents-sdk and Razor2 from http://razor.sourceforge.net/ and 2) DCC from http://www.rhyolite.com/anti-spam/dcc/ and 3) Rules_Du_Jour from http://www.fsl.com/support