Error message is:
Starting Mail Virus Scanner (amavisd): Digest::MD5 version 2.22 required--this is only version 2.20 at...
Googled for Digest::MD5 and found v2.33 (http://search.cpan.org/~gaas/Digest-MD5-2.33/MD5.pm)
Downloaded it untared it perl ./Makefile.PL ...error missing Digest::Base Download from CPAN perl ./Makefile.PL make make test make install
Back to Digest::MD5 perl ./Makefile.PL Perl's config says that U32 access must be aligned. Writing Makefile for Digest::MD5
make Makefile:85: *** missing separator. Stop.
google information about LANG environment variable... LANG=en_US export LANG error...
LANG=C export LANG error...
LANG=en_US LANGVAR=en_US export LANG export LANGVAR perl ./Makefile.PL Perl's config says that U32 access must be aligned. Writing Makefile for Digest::MD5
make gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION="2.33" -DXS_VERSION="2.33" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DU32_ALIGNMENT_REQUIRED MD5.c /bin/sh: line 1: gcc: command not found make: *** [MD5.o] Error 127
Any Ideas?
On Tue, May 03, 2005 at 11:29:34PM -0400, Leonard Isham enlightened us:
Error message is:
Starting Mail Virus Scanner (amavisd): Digest::MD5 version 2.22 required--this is only version 2.20 at...
Googled for Digest::MD5 and found v2.33 (http://search.cpan.org/~gaas/Digest-MD5-2.33/MD5.pm)
------------< snip <------< snip <------< snip <------------
gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION="2.33" -DXS_VERSION="2.33" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DU32_ALIGNMENT_REQUIRED MD5.c /bin/sh: line 1: gcc: command not found make: *** [MD5.o] Error 127
Any Ideas?
Install gcc.
yum install gcc
Matt
On 5/3/05, Matt Hyclak hyclak@math.ohiou.edu wrote:
On Tue, May 03, 2005 at 11:29:34PM -0400, Leonard Isham enlightened us:
Error message is:
Starting Mail Virus Scanner (amavisd): Digest::MD5 version 2.22 required--this is only version 2.20 at...
Googled for Digest::MD5 and found v2.33 (http://search.cpan.org/~gaas/Digest-MD5-2.33/MD5.pm)
------------< snip <------< snip <------< snip <------------
gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION="2.33" -DXS_VERSION="2.33" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DU32_ALIGNMENT_REQUIRED MD5.c /bin/sh: line 1: gcc: command not found make: *** [MD5.o] Error 127
Install gcc.
yum install gcc
Solved thanks to Matt.
Leonard Isham wrote:
Error message is:
Starting Mail Virus Scanner (amavisd): Digest::MD5 version 2.22 required--this is only version 2.20 at...
Googled for Digest::MD5 and found v2.33 (http://search.cpan.org/~gaas/Digest-MD5-2.33/MD5.pm)
You know that the next perl upgrade in CentOS (or RHEL fwiw) will break amavisd again, as it will overwrite your self compiled module?
Ralph
On 5/4/05, Ralph Angenendt ra+centos@br-online.de wrote:
Leonard Isham wrote:
Error message is:
Starting Mail Virus Scanner (amavisd): Digest::MD5 version 2.22 required--this is only version 2.20 at...
Googled for Digest::MD5 and found v2.33 (http://search.cpan.org/~gaas/Digest-MD5-2.33/MD5.pm)
You know that the next perl upgrade in CentOS (or RHEL fwiw) will break amavisd again, as it will overwrite your self compiled module?
sigh... Yes but what are my options? I'm not comfortable maintaining my own rpms, and unfortunately whoever made the rpm missed that dependency (errors happen).
I don't see an elegant way to resolve this aside from taking on the task of maintaining it myself (then I fix my own problems which may be more than I'm going through now).
Leonard Isham wrote:
On 5/4/05, Ralph Angenendt ra+centos@br-online.de wrote:
Leonard Isham wrote:
Error message is:
Starting Mail Virus Scanner (amavisd): Digest::MD5 version 2.22 required--this is only version 2.20 at...
Googled for Digest::MD5 and found v2.33 (http://search.cpan.org/~gaas/Digest-MD5-2.33/MD5.pm)
You know that the next perl upgrade in CentOS (or RHEL fwiw) will break amavisd again, as it will overwrite your self compiled module?
sigh... Yes but what are my options? I'm not comfortable maintaining my own rpms, and unfortunately whoever made the rpm missed that dependency (errors happen).
I don't see an elegant way to resolve this aside from taking on the task of maintaining it myself (then I fix my own problems which may be more than I'm going through now).
What about RPMPAN?
http://rpmpan.sourceforge.net/
From the site:
RPMPAN is a repository of RPM's of Perl modules. Every night an infinite number of monkeys download the latest modules from CPAN and try to build RPM packages out of them. Since they're only monkeys, they miss a few, but you'll find most of what you need here.
later, ajay
Ajay Sharma wrote:
Leonard Isham wrote:
On 5/4/05, Ralph Angenendt ra+centos@br-online.de wrote:
Leonard Isham wrote:
You know that the next perl upgrade in CentOS (or RHEL fwiw) will break amavisd again, as it will overwrite your self compiled module?
sigh... Yes but what are my options? I'm not comfortable maintaining my own rpms, and unfortunately whoever made the rpm missed that dependency (errors happen).
I don't see an elegant way to resolve this aside from taking on the task of maintaining it myself (then I fix my own problems which may be more than I'm going through now).
RPMPAN is a repository of RPM's of Perl modules. Every night an infinite number of monkeys download the latest modules from CPAN and try to build RPM packages out of them. Since they're only monkeys, they miss a few, but you'll find most of what you need here.
Yeah, that really sounds like a great idea :)
| [ralph@logout downloads]$ rpm -qpl perl-Digest-MD5-2.33-8.i386.rpm | /usr/lib/perl5/site_perl/5.6.1/i386-linux/Digest/MD5.pm | /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Digest/MD5/MD5.bs | /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Digest/MD5/MD5.so | /usr/share/doc/perl-Digest-MD5-2.33 | /usr/share/doc/perl-Digest-MD5-2.33/Changes | /usr/share/doc/perl-Digest-MD5-2.33/README | /usr/share/man/man3/Digest::MD5.3pm.gz
First problem:
Wrong version of perl. Won't work.
Second problem:
Digest::MD5.3pm.gz clashes with the file installed by perl included in CentOS3.
Third problem:
(@INC contains: /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 .)
.../site-perl/ is far down in that path, so every module living in there won't get included, if there's a module of the same name somewhere earlier in that path. And that is the problem here.
BTW: @INC in RedHat just sucks as there's no possibility to override core modules in perl. The problem with that is upstreams @INC which is exactly the same.
Ralph