dmake not found when installing Perl module using CPAN

前端 未结 1 1037
轻奢々
轻奢々 2020-12-19 20:45

I installed Perl from ActiveState. Plain version with no extensions. Windows 10. \"This is perl 5, version 28, subversion 1 (v5.28.1) built for MSWin32-x64-multi-thread\

相关标签:
1条回答
  • 2020-12-19 21:25

    Runcpan, and execute the following:

    o conf make
    

    Here's an example from one of my Windows systems:

    cpan> o conf make
        make               [C:\STRAWB~1\c\bin\gmake.exe]
    

    Check to see if the file listed in the make option is available on your system where cpan thinks it is (the entry may just be missing the path information to the binary).

    If it's not, either find it, or look for another make program (gmake.exe is common), then enter the path and the make program's filename with the configuration command under cpan:

    cpan> o conf make C:\\Strawberry\\c\\bin\\gmake.exe
        make               [C:\Strawb~1\c\bin\gmake.exe]
        commit: wrote 'C:\Strawberry\perl\lib/CPAN/Config.pm'
    
    0 讨论(0)
提交回复
热议问题