You are not logged in.

#1 2014-06-08 10:48:23

acampbell
Member
Registered: 2013-05-15
Posts: 46

setupdistarch not working [SOLVED]

Since the recent upgrade of perl5 I need to rebuild modules to make get_iplayer (from Aur) work. I think I should run setupdistarch to fix this but it gives errors:

arcadia:~:$ setupdistarch
Can't locate Log/Message.pm in @INC (you may need to install the Log::Message module) (@INC contains: /home/ac/perl5/lib/perl5/x86_64-linux-thread-multi /home/ac/perl5/lib/perl5 /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/CPANPLUS/Error.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/CPANPLUS/Error.pm line 7.
Compilation failed in require at /usr/share/perl5/vendor_perl/CPANPLUS/Internals/Constants.pm line 5.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/CPANPLUS/Internals/Constants.pm line 5.
Compilation failed in require at /usr/bin/vendor_perl/setupdistarch line 10.
BEGIN failed--compilation aborted at /usr/bin/vendor_perl/setupdistarch line 10.

This seems to be a Catch-22. Any way to resolve it?

Last edited by acampbell (2014-06-08 14:29:03)

Offline

#2 2014-06-08 12:33:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: setupdistarch not working [SOLVED]

Are you using the latest perl-cpanplus-dist-arch?

Offline

#3 2014-06-08 14:06:56

acampbell
Member
Registered: 2013-05-15
Posts: 46

Re: setupdistarch not working [SOLVED]

Yes.  I think I managed to screw things up by messsing around initially.  But I fixed it by copying all the relevant stuff from another computer where I didn't have the problem (i.e. /usr/share/perl5/vendor_perl and ~/perl5). I was then able to install the modules needed

Last edited by acampbell (2014-06-08 14:27:55)

Offline

Board footer

Powered by FluxBB