Skip Menu |

This queue is for tickets about the XML-SAX CPAN distribution.

Report information
The Basics
Id: 19129
Status: open
Priority: 0/
Queue: XML-SAX

People
Owner: Nobody in particular
Requestors: perlbug [...] ubc.pkts.ca
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.14
Fixed in: (no value)



Subject: Dependency problem when trying to use cpan2rpm
I've been using the program cpan2rpm to download and convert perl modules into rpm files for my freshly installed Fedora Core 5 system. It's worked great for dozens of modules, but chokes on XML::SAX. It stops and says that XML::SAX isn't found in @INC. Of course it's not going to be found, I'm just installing it for the first time. As a workaround, I installed XML::SAX via cpan, and then ran cpan2rpm. That worked. But now the rpm complains about unsatisfied dependencies: perl(XML::SAX::PurePerl::DTDDecls) is needed by perl-XML-SAX-0.14-1.noarch perl(XML::SAX::PurePerl::DocType) is needed by perl-XML-SAX-0.14-1.noarch perl(XML::SAX::PurePerl::EncodingDetect) is needed by perl-XML-SAX-0.14-1.noarch perl(XML::SAX::PurePerl::XMLDecl) is needed by perl-XML-SAX-0.14-1.noarch Here's where cpan2rpm can be found: http://perl.arix.com/cpan2rpm/ Perl version 5.8.8, Linux x86, Fedora Core 5
From: Tim.Mooney [...] ndsu.edu
On Sun May 07 02:56:15 2006, guest wrote: Show quoted text
> I've been using the program cpan2rpm to download and convert perl > modules into rpm files for my freshly installed Fedora Core 5 system. > It's worked great for dozens of modules, but chokes on XML::SAX. It > stops and says that XML::SAX isn't found in @INC. Of course it's not > going to be found, I'm just installing it for the first time.
This is somewhat related to bug #6221, and happens not just with cpan2rpm and cpanflute but with any installation where the directory you install into is not the same path that perl uses to find its modules. This is typically the case for packaging (whether via RPM or some other package format), but is also true for AFS and other environments.