-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use cpan/cpanm to build Perl modules #867
Comments
Log exists as a Github Gist: Errors are on lines 146, 162 and 207. |
Hi @jacoby The solution is to edit
Set
Now it's possible to install all modules you want! |
For 16.04, the correct path to edit is Given that this reflects a fundamental difference between Windows and "real" Ubuntu Linux, shouldn't WSL Perl ship with this patch already in place? I get that the project is trying to use upstream packages untouched, but does the WSL project really want to make all Perl users hand-hack their install to allow I wouldn't be asking if this weren't a long-term problem with a simple, known solution, which has just bitten me for the second time. |
I'd also very much like an 'upstream' patch from Ubuntu/Microsoft here! |
There was no repro and no strace log on this one. Let's say this was /dupe #910 for lack. |
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Please use the following bug reporting template to help produce actionable and reproducible issues:
Perl devs often use cpan to build/install modules where no .deb exists or the .deb is much older than the current one. I tried to use cpanm to install YAML::XS, and it failed tests, specifically relating to newlines. I use Ubuntu 14.04 LTS and cpan, and can assert this passes there.
A working YAML::XS module.
log file in a gist linked below. Errors come at lines 146, 162 and 207. This package installs flawlessly on other systems, including Strawberry Perl on the same machine.
14393
sudo apt-get install cpanm
sudo cpanm YAML::XS
cpanm (A faster version of Perl's cpan command)
See our contributing instructions for assistance.
The text was updated successfully, but these errors were encountered: