error installing mailscanner

Julian Field MailScanner at ecs.soton.ac.uk
Sat Apr 19 19:48:02 IST 2008


The only non-shell commands run that could generate the 'Undefined 
subroutine' errors are these:
    perl -V
and
    rpm -q

So to get this, your Perl installation is *seriously* screwed. You 
shouldn't need the "nodeps" for starters, you should never need that in 
any consistent system.

I would try to re-install your copy of Perl, something went badly wrong 
when you installed it.

Israel Garcia wrote:
> Hi everybody.. I'm installing mailscanner on a CentOS server...BUT I'm
> getting this error when run ./install from mailscanner TGZ:
>
> If this fails due to dependency checks, and you wish to ignore
> these problems, you can run
>     ./install.sh nodeps
>
> Setting Perl5 search path
>
> Undefined subroutine &Config::myconfig called.
> I think your system will build architecture-dependent modules for i386
>
> Rebuilding all the Perl RPMs for your version of Perl
>
> Oh good, module File::Spec version 0.82 is already installed.
>
> Attempting to build and install perl-ExtUtils-MakeMaker-6.32-1
> Installing perl-ExtUtils-MakeMaker-6.32-1.src.rpm
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2919
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd /usr/src/redhat/BUILD
> + rm -rf ExtUtils-MakeMaker-6.32
> + /bin/gzip -dc /usr/src/redhat/SOURCES/ExtUtils-MakeMaker-6.32.tar.gz
> + tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd ExtUtils-MakeMaker-6.32
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chown -Rhf root .
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chgrp -Rhf root .
> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2919
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd ExtUtils-MakeMaker-6.32
> + CFLAGS='-O2 -g -march=i386 -mcpu=i686'
> + perl Makefile.PL PREFIX=/var/tmp/perl-ExtUtils-MakeMaker-6.32-1-root/usr
> Use of uninitialized value in split at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 80.
> Global symbol "%Config" requires explicit package name at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/lib.pm line 10.
> Global symbol "%Config" requires explicit package name at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/lib.pm line 11.
> Global symbol "%Config" requires explicit package name at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/lib.pm line 12.
> Compilation failed in require at Makefile.PL line 12.
> BEGIN failed--compilation aborted at Makefile.PL line 12.
> error: Bad exit status from /var/tmp/rpm-tmp.2919 (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.2919 (%build)
>
> .......
>
> Can you help me?
>
> regards
> Israel
>   

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list