Failed modules installation CPAN
up vote
0
down vote
favorite
With the premise that macOS (Mojave in my case) comes with Perl pre-installed, I was trying to install few additional Perl modules through CPAN, with the following command:
cpan install Foo::Bar
I got 2 modules installed, the third failed the installation because of a missing .h file.
I decide to delete the folder in my home named .cpan (was a hidden folder) and I installed Perl through brew with the following command:
brew install perl
Reinstalled again the three modules through CPAN and the installation completed with an OK for all of the three modules.
- Was a bad idea to delete the .cpan folder?
- Is there anything else that I have to do to clean up the previous CPAN modules installation?
perl module zsh cpan
add a comment |
up vote
0
down vote
favorite
With the premise that macOS (Mojave in my case) comes with Perl pre-installed, I was trying to install few additional Perl modules through CPAN, with the following command:
cpan install Foo::Bar
I got 2 modules installed, the third failed the installation because of a missing .h file.
I decide to delete the folder in my home named .cpan (was a hidden folder) and I installed Perl through brew with the following command:
brew install perl
Reinstalled again the three modules through CPAN and the installation completed with an OK for all of the three modules.
- Was a bad idea to delete the .cpan folder?
- Is there anything else that I have to do to clean up the previous CPAN modules installation?
perl module zsh cpan
If the "brew install perl" installs a separate installation of Perl, then the only thing you need to do is only use that Perl going forward. Perls don't (and generally can't) use each other's module installation directories.
– Grinnz
Nov 9 at 18:27
1
The.cpan
directory is just a directory for the CPAN.pm cpan client's configuration and cache, so deleting it just clears that.
– Grinnz
Nov 9 at 18:28
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
With the premise that macOS (Mojave in my case) comes with Perl pre-installed, I was trying to install few additional Perl modules through CPAN, with the following command:
cpan install Foo::Bar
I got 2 modules installed, the third failed the installation because of a missing .h file.
I decide to delete the folder in my home named .cpan (was a hidden folder) and I installed Perl through brew with the following command:
brew install perl
Reinstalled again the three modules through CPAN and the installation completed with an OK for all of the three modules.
- Was a bad idea to delete the .cpan folder?
- Is there anything else that I have to do to clean up the previous CPAN modules installation?
perl module zsh cpan
With the premise that macOS (Mojave in my case) comes with Perl pre-installed, I was trying to install few additional Perl modules through CPAN, with the following command:
cpan install Foo::Bar
I got 2 modules installed, the third failed the installation because of a missing .h file.
I decide to delete the folder in my home named .cpan (was a hidden folder) and I installed Perl through brew with the following command:
brew install perl
Reinstalled again the three modules through CPAN and the installation completed with an OK for all of the three modules.
- Was a bad idea to delete the .cpan folder?
- Is there anything else that I have to do to clean up the previous CPAN modules installation?
perl module zsh cpan
perl module zsh cpan
asked Nov 9 at 18:24
teo-gamba
174
174
If the "brew install perl" installs a separate installation of Perl, then the only thing you need to do is only use that Perl going forward. Perls don't (and generally can't) use each other's module installation directories.
– Grinnz
Nov 9 at 18:27
1
The.cpan
directory is just a directory for the CPAN.pm cpan client's configuration and cache, so deleting it just clears that.
– Grinnz
Nov 9 at 18:28
add a comment |
If the "brew install perl" installs a separate installation of Perl, then the only thing you need to do is only use that Perl going forward. Perls don't (and generally can't) use each other's module installation directories.
– Grinnz
Nov 9 at 18:27
1
The.cpan
directory is just a directory for the CPAN.pm cpan client's configuration and cache, so deleting it just clears that.
– Grinnz
Nov 9 at 18:28
If the "brew install perl" installs a separate installation of Perl, then the only thing you need to do is only use that Perl going forward. Perls don't (and generally can't) use each other's module installation directories.
– Grinnz
Nov 9 at 18:27
If the "brew install perl" installs a separate installation of Perl, then the only thing you need to do is only use that Perl going forward. Perls don't (and generally can't) use each other's module installation directories.
– Grinnz
Nov 9 at 18:27
1
1
The
.cpan
directory is just a directory for the CPAN.pm cpan client's configuration and cache, so deleting it just clears that.– Grinnz
Nov 9 at 18:28
The
.cpan
directory is just a directory for the CPAN.pm cpan client's configuration and cache, so deleting it just clears that.– Grinnz
Nov 9 at 18:28
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53231386%2ffailed-modules-installation-cpan%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If the "brew install perl" installs a separate installation of Perl, then the only thing you need to do is only use that Perl going forward. Perls don't (and generally can't) use each other's module installation directories.
– Grinnz
Nov 9 at 18:27
1
The
.cpan
directory is just a directory for the CPAN.pm cpan client's configuration and cache, so deleting it just clears that.– Grinnz
Nov 9 at 18:28