On Sun, Jun 15, 2014 at 10:31 AM, Subinoy Biswas <suny....@gmail.com> wrote:
> Hi,
> I am having a trouble installing any module with cpanm in perlbrew
> perl-5.20.0 in an test1 local lib. Below I am pasting the verbose. Please
> help me to solve this issue

So, you need to install Tie::Hash::Indexed:

> Can't locate Tie/Hash/Indexed.pm in @INC (you may need to install the
> Tie::Hash::Indexed module)

Which you tried to do:

> subinoybiswas@sunymacs:~/work_ubc/seq$ cpanm Tie::Hash::Indexed
[ snip ]

Which failed:

> ! Installing Tie::Hash::Indexed failed. See
> /Users/subinoybiswas/.cpanm/build.log for details.

So the contents of that file might be helpful.

Additionally:

> cannot unlink file for
> /Users/subinoybiswas/.cpanm/work/1383165137.7601/build.log: Permission
> denied at /loader/0x7fd8d10320a0/App/cpanminus/script.pm line 1.
> cannot restore permissions to 0100644 for
> /Users/subinoybiswas/.cpanm/work/1383165137.7601/build.log: Permission
> denied at /loader/0x7fd8d10320a0/App/cpanminus/script.pm line 1.
> cannot remove directory for
> /Users/subinoybiswas/.cpanm/work/1383165137.7601: Directory not empty at
> /loader/0x7fd8d10320a0/App/cpanminus/script.pm line 1.

Those errors suggest something is messed up in your ~/.cpanm directory
hierarchy. If I had to bet, I'd bet that you ran something as root,
once upon a time, and the above errors are from root-owned files that
got produced at that point.

You should just be able to 'rm -rfv ~/.cpanm' without issue.


j.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to