Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Make error with cpan

📅 2013-Sep-04 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ cpan, cygwin, error, make ⬩ 📚 Archive

The first time you try to install a Perl package from CPAN, you might get this error:

Writing MYMETA.yml
  make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

The fix is simple: you need to install the make package. This error typically occurs on Cygwin, which does not have make installed by default. Install make and then try to install the package again and it should work now.

Tried with: Cygwin x86 1.7.25

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧