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