简体   繁体   中英

Cygwin Perl installation missing CPAN

I'm using the Buildroot makefiles on Cygwin to make some basic Linux systems, which requires several Perl modules.
CPAN does not seem to have installed with Perl, so I can't install any modules them without a lot of work (I know basically nothing about Perl)
How can I get CPAN working? Thanks

Thought I'd return to this in case anyone comes back in the future: It seems to be unsupported and impossible to use Buildroot on Cygwin, so don't bother unless you really think you can make it work. If you do make it work please let me know :)

输出

From the comments, we came to find:

$ cygcheck -c perl_base
Cygwin Package Information
Package              Version        Status
perl_base            5.30.1-1       OK

$ cygcheck -c perl
Cygwin Package Information
Package              Version        Status
perl                 5.26.3-2       OK

At some point, the perl_base package (the essential files) were updated. perl_base doesn't depend on perl (the rest of core perl), so the perl package wasn't updated at that time.

Those two packages need to be upgraded in step. The discrepancies in the versions is causing the problem. Upgrading the perl package to match fixed the problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM