-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey everyone. I have a question about how rpm and perl play together (if at
all).
I am trying to install the Samba 3.0 beta on a RedHat 8 machine. I downloaded
the tarball, built the RPM using the handy script and spec file included, and
on attempting an "rpm -ivh" I get this:
error: Failed dependencies:
perl(Net::LDAP::LDIF) is needed by samba-3.0.0beta1-1
So, knowing just enough about perl to be dangerous, I fire up cpan and install
Net::LDAP. Alas, rpm doesn't seem to care. Maybe I was thrown by the format
of the message. perl(something) seems to imply to me that it tried to ask
perl if the desired module was installed, but that doesn't seem to be the
case. Am I wrong? How smart is rpm? Am I playing with fire trying to
maintain perl modules with cpan and rpms with rpm?
Incidentally, I've already found the solution if the answer turns out to be
"use only rpm". cpan2rpm (http://perl.arix.com/cpan2rpm/) goes off and
crawls cpan for the module you ask for and builds the rpm for you. Very cool
(probably old hat to true perlmongers, but it's new to me).
Anyway, that's my rambling question. Is rpm actually asking perl if a module
was installed and I did something wrong, or is it just messing with me
(perhaps "trying to be helpful") with the perl() message?
Ian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+73RjSiY+RXI7JS4RAsSOAJ9RwDvEgn2wno1Yyu3hDVnFpMgPVQCgs0+2
pzBShQLPRj8foFAJ14toPBQ=
=ZfMd
-----END PGP SIGNATURE-----