Skip Menu |

This queue is for tickets about the CPANPLUS-Dist-Mdv CPAN distribution.

Report information
The Basics
Id: 31693
Status: resolved
Priority: 0/
Queue: CPANPLUS-Dist-Mdv

People
Owner: Nobody in particular
Requestors: goetz.waschk [...] gmail.com
Cc:
AdminCc:

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



Subject: perl-CPANPLUS-Dist-Mdv-0.3.3-1mdv2008.1 rpm home dir
Date: Wed, 19 Dec 2007 11:38:51 +0100
To: bug-CPANPLUS-Dist-Mdv [...] rt.cpan.org
From: "Götz Waschk" <goetz.waschk [...] gmail.com>
Hi Jerome, I have this problem with CPANPLUS::Dist::Mdv on Mandriva Cooker: $ cpan2dist --format CPANPLUS::Dist::Mdv BDB [ERROR] need to create rpm tree structure in your home [ERROR] Format 'CPANPLUS::Dist::Mdv' is not available [ERROR] Unable to create a new distribution object for 'BDB' -- cannot continue Unable to create 'CPANPLUS::Dist::Mdv' dist of 'BDB' at /usr/bin/cpan2dist line 377. It tries to access the directory $HOME/rpm, that whay it hardcodes the rpm top dir. But I have set it to a different directory: $ rpm --eval %_topdir /home/goetz After creating the symlink $HOME -> $HOME/rpm, the module was built just fine. So I think the module should get the top dir from rpm instead. Regards, Götz Waschk -- AL I:40: Do what thou wilt shall be the whole of the Law.
indeed you're right. after chatting with you on irc, always using this command to find rpm topdir, and no default to $HOME/rpm (thus dropping prereq on File::HomeDir). 0.3.4 on its way - enjoy. marking bug corrected.