Hello Monks. Tried searching for this error, but could not find any solution.
Working on cygwin/windows, I have a local cpan mirror at C:\\Softwares\\cpanmirror which is /cygdrive/c/Softwares/cpanmirror.
Everything working fine. I am able to install/upgrade any module through cpan by configuring MyConfig.pm or cpanm by following commands.
cpanm --mirror /cygdrive/c/Softwares/cpanmirror/ --install Tie::Hash:: +LRU
OR
cpan install Getopt::Complete
Now I try to use the same mirror on some remote machine by sharing the folder "Softwares". I am able to install modules through cpan by adding "file://<originalMachine>/Softwares/cpanmirror in MyConfig.pm urllist and using simple command -
cpan install Module::Find
And it gets installed easily. However,when using cpanm, I get the following error.
Command:
cpanm --mirror /<machineName>/Softwares/cpanmirror --install Tie::Hash +::LRU
OR
cpanm --mirror /<machineName>/Softwares/cpanmirror --mirror-only --ins +tall Tie::Hash::LRU
//<machineName>/Softwares/cpanmirror: No such file or directory at /lo +ader/0x20088118/App/cpanminus/script.pm line 81. ! Finding Tie::Hash::LRU on cpanmetadb failed. ! cannot open file '/home/<homeDirectory>/.cpanm/sources/file%<machine +Name>%Softwares%cpanmirror/02packages.details.txt.gz': No such file o +r directory opening compressed index ! Couldn't find module or a distribution Tie::Hash::LRU
I even tried using a symlink pointing to the local mirror and using command:
cpanm --mirror /cygdrive/c/Softwares/linkToCpanMirror --install Tie::H +ash::LRU
But no success.
I want to just ignore running test. That is why I am interested in running cpanm, but it is failing. May be some mistake of mine, or some issue in the script. Please help in same.
In reply to cpanminus with local mirror on remote machine by gurpreetsingh13
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |