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.