Mailscanner not work on Fedora 8

Michael Lai iamapo at ml520.dyndns.org
Thu Apr 10 07:34:33 IST 2008


Thanks Alex, I have compiled the Scalar-List-Utils-1.19 by the following
steps, but MailScanner is still not work. So have other suggestions ?
Thanks a lot. Michael
----------------------------------------------------------------------------------
wget
http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Scalar-List-Utils-1.19.tar.gz
tar zxvf Scalar-List-Utils-1.19.tar.gz
cd Scalar-List-Utils-1.19
[root at www Scalar-List-Utils-1.19]# perl Makefile.PL
Writing Makefile for List::Util
[root at www Scalar-List-Utils-1.19]# make test
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables   -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\"
-fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"  -DPERL_EXT Util.c
Running Mkbootstrap for List::Util ()
chmod 644 Util.bs
rm -f blib/arch/auto/List/Util/Util.so
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib Util.o  -o
blib/arch/auto/List/Util/Util.so    \
                \
chmod 755 blib/arch/auto/List/Util/Util.so
cp Util.bs blib/arch/auto/List/Util/Util.bs
chmod 644 blib/arch/auto/List/Util/Util.bs
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00version.....ok
t/blessed.......ok
t/dualvar.......ok
t/first.........ok
        2/17 skipped: Poor man's MULTICALL can't cope
t/isvstring.....ok
t/lln...........ok
t/max...........ok
t/maxstr........ok
t/min...........ok
t/minstr........ok
t/openhan.......ok
t/p_blessed.....ok
t/p_first.......ok
t/p_lln.........ok
t/p_max.........ok
t/p_maxstr......ok
t/p_min.........ok
t/p_minstr......ok
t/p_openhan.....ok
t/p_readonly....ok
t/p_reduce......ok
t/p_refaddr.....ok
t/p_reftype.....ok
t/p_shuffle.....ok
t/p_sum.........ok
t/p_tainted.....ok
t/proto.........ok
t/readonly......ok
t/reduce........ok
        2/23 skipped: Poor man's MULTICALL can't cope
t/refaddr.......ok
t/reftype.......ok
t/shuffle.......ok
t/sum...........ok
t/tainted.......ok
t/weak..........ok
All tests successful, 4 subtests skipped.
Files=35, Tests=380,  4 wallclock secs ( 2.69 cusr +  0.53 csys =  3.22 CPU)
[root at www Scalar-List-Utils-1.19]#make install
Manifying blib/man3/List::Util.3pm
Manifying blib/man3/Scalar::Util.3pm
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Writing /usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/List/Util/.packlist
Appending installation info to
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod
[root at www Scalar-List-Utils-1.19]#

-----Original Message-----
From: Alex <alex at skynet-srl.com>
To: mailscanner at lists.mailscanner.info
Date: Wed, 09 Apr 2008 15:20:16 +0200
Subject: Re: Mailscanner not work on Fedora 8

> 
> > Oggetto:
> > Mailscanner not work on Fedora 8
> > Da:
> > "Michael Lai" <iamapo at ml520.dyndns.org>
> > Data:
> > Wed, 09 Apr 2008 17:30:55 +0800
> > A:
> > mailscanner at lists.mailscanner.info
> >
> > A:
> > mailscanner at lists.mailscanner.info
> >
> > Content-Transfer-Encoding:
> > 8bit
> > Precedence:
> > list
> > Versione-MIME:
> > 1.0
> > Rispondi-a:
> > MailScanner discussion <mailscanner at lists.mailscanner.info>
> > ID-Messaggio:
> > <WorldClient-F200804091730.AA30550005 at ml520.dyndns.org>
> > Content-Type:
> > text/plain; charset="UTF-8"
> > Message:
> > 19
> >
> >
> > I try to install MailScanner on Fedora 8(Postfix run on it), but I
> got 
> > the error messages. I have no idea to resolve the problem. Please 
> > suggest.
> > Thank you,
> > Michael
> >
> > [root at www MailScanner-4.68.8-1]# ./install.sh
> >
> > Good. You have the patch command.
> >
> > Good, you have /usr/src/redhat in place.
> > But you are running Fedora, so I am going to force the installation
> > of the Perl modules that normally require it.
> >
> > Good, unpackaged files will not break the build process.
> > Good, far-too-clever Perl requirements will be ignored.
> > Good, Fedora 8 options will be ignored.
> >
> > Good, you appear to only have 1 copy of Perl installed.
> >
> > I think you are running on RedHat Linux, Mandriva Linux or SuSE
> Linux.
> > Good, you appear to have the basic development tools installed.
> >
> > 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
> >
> > Setting Perl5 search path
> >
> > I think your system will build architecture-dependent modules for
> i386
> >
> > Rebuilding all the Perl RPMs for your version of Perl
> >
> > Attempting to build and install perl-File-Spec-0.82-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-File-Spec-0.82-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-ExtUtils-MakeMaker-6.32-1
> > --rebuild: unknown option
> >
> > Missing file
> /usr/src/redhat/RPMS/noarch/perl-ExtUtils-MakeMaker-6.32-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Net-CIDR-0.11-1
> > --rebuild: unknown option
> >
> > Missing file
> /usr/src/redhat/RPMS/noarch/perl-Net-CIDR-0.11-1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-IO-stringy-2.110-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-IO-stringy-2.110-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-MIME-Base64-3.07-1
> > --rebuild: unknown option
> >
> > Missing file
> /usr/src/redhat/RPMS/i386/perl-MIME-Base64-3.07-1.i386.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-TimeDate-1.16-3
> > --rebuild: unknown option
> >
> > Missing file
> /usr/src/redhat/RPMS/noarch/perl-TimeDate-1.16-3.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Pod-Escapes-1.04-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Pod-Escapes-1.04-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Pod-Simple-3.05-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Pod-Simple-3.05-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Test-Pod-1.26-1
> > --rebuild: unknown option
> >
> > Missing file
> /usr/src/redhat/RPMS/noarch/perl-Test-Pod-1.26-1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-MailTools-2.02-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-MailTools-2.02-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-IO-1.2301-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-IO-1.2301-1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-File-Temp-0.19-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-File-Temp-0.19-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-HTML-Tagset-3.03-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-HTML-Tagset-3.03-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-HTML-Parser-3.56-1
> > --rebuild: unknown option
> >
> > Missing file
> /usr/src/redhat/RPMS/i386/perl-HTML-Parser-3.56-1.i386.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Convert-BinHex-1.119-2
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Convert-BinHex-1.119-
> > 2.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-MIME-tools-5.425-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-MIME-tools-5.425-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Convert-TNEF-0.17-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Convert-TNEF-0.17-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Compress-Zlib-1.41-1
> > Detected Compress-Zlib, building appropriately...
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/i386/perl-Compress-Zlib-1.41-
> > 1.i386.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Archive-Zip-1.16-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Archive-Zip-1.16-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Scalar-List-Utils-1.19-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Scalar-List-Utils-1.19-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Storable-2.16-1
> > --rebuild: unknown option
> >
> > Missing file
> /usr/src/redhat/RPMS/noarch/perl-Storable-2.16-1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-DBI-1.56-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-DBI-1.56-1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-DBD-SQLite-1.13-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-DBD-SQLite-1.13-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Getopt-Long-2.36-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Getopt-Long-2.36-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Time-HiRes-1.9707-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Time-HiRes-1.9707-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Filesys-Df-0.90-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Filesys-Df-0.90-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Test-Harness-2.64-1
> > Detected Compress-Zlib, building appropriately...
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Test-Harness-2.64-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Test-Simple-0.70-1
> > Detected Compress-Zlib, building appropriately...
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Test-Simple-0.70-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Math-BigInt-1.86-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Math-BigInt-1.86-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Math-BigRat-0.19-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Math-BigRat-0.19-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-bignum-0.21-1
> > --rebuild: unknown option
> >
> > Missing file
> /usr/src/redhat/RPMS/noarch/perl-bignum-0.21-1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Net-IP-1.25-1
> > --rebuild: unknown option
> >
> > Missing file
> /usr/src/redhat/RPMS/noarch/perl-Net-IP-1.25-1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Sys-Hostname-Long-1.4-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Sys-Hostname-Long-1.4-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Sys-Syslog-0.18-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Sys-Syslog-0.18-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Digest-MD5-2.36-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Digest-MD5-2.36-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Digest-SHA1-2.11-1
> > --rebuild: unknown option
> >
> > Missing file /usr/src/redhat/RPMS/noarch/perl-Digest-SHA1-2.11-
> > 1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Attempting to build and install perl-Net-DNS-0.63-1
> > --rebuild: unknown option
> >
> > Missing file
> /usr/src/redhat/RPMS/noarch/perl-Net-DNS-0.63-1.noarch.rpm.
> > Maybe it did not build correctly?
> >
> > Installing tnef decoder
> >
> > Preparing…                  
> > ##################################################
> >         package tnef-1.4.3-1.i386 have installed
> >
> > Now to install MailScanner itself.
> >
> > NOTE: If you get lots of errors here, run the install.sh script
> > NOTE: again with the command "./install.sh nodeps"
> >
> > Preparing…                 
> ########################################### 
> > [100%]
> >         Package mailscanner-4.68.8-1.noarch have installed
> > ----------------------------------------------------------
> > Please buy the MailScanner book from www.mailscanner.info!
> > It is a very useful administration guide and introduction
> > to MailScanner. All the proceeds go directly to making
> > MailScanner a better supported package than it is today.
> >
> > [root at www MailScanner-4.68.8-1]# service MailScanner start
> > Starting MailScanner daemons:
> >          incoming postfix:                                 [ok]
> >          outgoing postfix:                                 [ok]
> >          MailScanner:       Can't locate Filesys/Df.pm in @INC (@INC 
> > contains: /usr/lib/MailScanner
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-
> > thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-
> > multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-
> > multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-
> > multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
> /usr/
> > lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
> /usr/lib/perl5/s
> > ite_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-
> > multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-
> > multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-
> > multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-
> > multi /usr/lib/perl5/vendor_perl/5.8.8
> /usr/lib/perl5/vendor_perl/5.8.7 /
> > usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
> /usr/lib
> > /perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-
> > multi /usr/lib/perl5/5.8.8 . /usr/lib/MailScanner) 
> > at /usr/sbin/MailScanner line 66.
> > BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 66.
> >                                                            [ok]
> > [root at www MailScanner-4.68.8-1]# service MailScanner status
> > Checking MailScanner daemons:
> >          MailScanner:                                      [failed]
> > [root at www MailScanner-4.68.8-1]#
> >
> >
> >
> >   
> 99 on 100 you have to compile the Scalar-List-Utils-1.19 (grab it from
> CPAN)
> 
> It seems it is broken in F7 and F8 (F9? who knows)
> 
> After doing that install MS and be happy
> 
> Hope this helps
> 
> Ciaoooo
> 
> Alessandro Bianchi




More information about the MailScanner mailing list