Hi all,
(I apologize if this question/problem is discussed somewhere else, nevertheless I wasn't able to google it so here it goes:)
I tried to install a perl module with cpan (with sudo, tried force as well ).
Running the script still returns a "Can't locate ABI.pm in @INC
".
Running find / -name ABI.pm
returns:
/home/karlo/.cpan/build/ABI-1.0-4ZD0zA/ABI.pm
/home/karlo/.cpan/build/ABI-1.0-CESho8/ABI.pm
/home/karlo/.cpan/build/ABI-1.0-sUTldK/ABI.pm
/home/karlo/.cpan/build/ABI-1.0-3Zjnsa/ABI.pm
/home/karlo/.cpan/build/ABI-1.0-LyVwCk/ABI.pm
/home/karlo/.cpan/build/ABI-1.0-Sy2Qmc/ABI.pm
(with all my installation tries)
running the script with -I /home/.../ABI.pm
helps. But I feel I needn't be doing this include with what seems to be a temporary installation folder (none of the other modules installed by cpan require this kind of special attention, why should this one be any different).
I assume the installation is skipping a step where the module should be copied into one of the folders of the @INC path...
I could just add the folder to the @INC path... but then again, it would be the kind of special attention I don't think a properly installed packaged should diserve...
Any advice on a better/proper way of handling this module?
Thank you in advance...
There is something that went wrong during installation, some error message you missed or did wrong. You have to post the complete output of the install command. You are correct with your concern about the proper installation of the module.
BTW: this question is rather a basic question about use of cpan and would likely apply to any module installation problem.
I have exactly the same problem. We have multiple versions of perl installed in the system, and I am not able to find a lib installed through cpan.
Have you figured out how to include the lib?
Thanks.