RPM Build Mystery-Error

Latest response

I'm in the process of upgrading a personal LAMP/Mail/DNS server from RHEL 5 to RHEL 6. As part of this process, I'm installing some mail-related services. Wanting to be able to track said software - since it's not part of the RHEL repositories - I decided that I'd create an RPM of the software and then install the RPM. The building of the RPM goes fine. However, when I attempt to install the RPM, I get an error (and failure):

# rpm -Uh /home/ferric/rpmbuild/RPMS/x86_64/dkimproxy-1.4.1-1.el6.x86_64.rpm
   error: Failed dependencies:
        perl(MIME::Entity) is needed by dkimproxy-1.4.1-1.el6.x86_64
        perl(Net::Server) is needed by dkimproxy-1.4.1-1.el6.x86_64

However, the Perl modules that the RPM install is calling out are present and found in the normal Perl module locations

# perl -MMIME::Entity -e 1
   # perl -MNet::Server -e 1

Both return null indicating that they're installed correctly. Otherwise, I'd expect an error similar to

Can't locate Net/Danish.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
   BEGIN failed--compilation aborted.

Any clues where this spurious error may be coming from (I didn't put it in my Requires: section of my SPEC file)?

Responses