yogishaj
yogishaj

Reputation: 705

Building perl 5.14.2 on windows - getting the error NMAKE : fatal error U1077: miniperl.exe' : return code '0x1'

Building perl 5.14.2 on windows - getting error NMAKE : fatal error U1077: miniperl.exe' : return code '0x1' while the following command is invoked after running "nmake -logo" from win32 folder under perl source.

../miniperl.exe -I../lib ../make_ext.pl "MAKE=nmake -nologo" --dir=../cpan --dir=../dist --dir=../ext --nonxs

Did anybody face this problem before? Please let me know

Upvotes: 1

Views: 1670

Answers (1)

David W.
David W.

Reputation: 107060

Unlike Mac and Unix, Windows doesn't' come with a C compiler installed. Thus, it can be difficult to figure out exactly where things are going wrong without more information. For example, did you install the GCC compiler or another standard C compiler?

The easiest way to get the most recent and complete version of Perl on Windows is to use one of the two standard Windows distributions:

Many people like Strawberry Perl because it's a duplicate of what you find on Unix. The same modules, the same libraries. Others prefer ActivePerl because it includes by default all of the special Windows modules that you probably want to use on Windows to do things like update the registry, talk to the Windows domain to check credentials, etc.

The truth is that both of these versions are more or less the same. The two main complaints of why you should use one over the other:

  • Strawberry Perl doesn't work with Win32
  • Active Perl uses PPM and not CPAN.

Are both not correct. You can install and download the Win32 modules in Strawberry Perl and it'll run about every script that ActivePerl does.

And, Active Perl can now install the same C compiler Strawberry Perl uses if you want to install a module that requires compilation. The directions are online. It works with almost all the CPAN modules.

So, unless you have a special reason to build Perl from scratch, I recommend you just download ActivePerl or Strawberry Perl -- especially if you are not really familiar with C/C++ and Make.

Upvotes: 2

Related Questions