Re: Problem when using NMAKE to build Perl on Windows



On May 31, 4:32 am, "eish...@xxxxxxxxxxxxxx" <eish...@xxxxxxxxxxxxxx>
wrote:
On May 30, 10:36 pm, treble54 <trebl...@xxxxxxxxx> wrote:







I am trying to run Perl in a Windows environment.

Here is my setup:
I have installed Visual Studio C++ Express 2005 as well as the latest
SDK (non 64-bit version). I am currently running Windows XP SP2. I
first had problems with the some environment variables but I resolved
that by adding the correct paths in the LIB and INCLUDE environment
variables.

Here is the issue I am trying to resolve:
I load up the Visual Studio 2005 Command prompt and direct my way to
the correct ..\perl-5.8.8\win32\ directory. From that, I type nmake to
start the make process. When the build process of nmake gets outputs
the line:

"Runing Makefile.PL in B
C:\..\perl-5.8.8\win32\..\miniperl.exe -IC:\..\perl5.8.8\win32\..\lib
Makefile.PL INSTALLDIRS=perl PERL_CORE=1"

a window outside the command prompt pops up, stating:
"miniperl.exe has encountered a problem and needs to close. We are
sorry for the inconvenience." with the only optional button being one
that says "Close." When I hit the "Close" button, the same window pops
up again, stating the same information about "miniperl.exe"
encountering a problem. I press the "Close" button again and the
resulting output is as follows:

"Making B
nmake -nologo
NMAKE : fatal error U1064: MAKEFILE not found and no target specified
Stop.
Unsuccessful make(B): code=512 at buildext.pl line 142.
NMAKE : fatal error U1077: '..\miniperl.exe' : return code '0x2'
Stop."

After that, I gain control of the prompt again. I am hoping someone on
here will be able to help me resolve this error. If anyone here has
some help or suggestions that they can contribute, I would very much
appreciate it. Thanks for taking your time to look over this.

-- treble54

Try a google search for install perl on windows. If im not mistaken
there is a an issue with using nmake that disappears if you use make.
But to be sure do the search.

Dean

If you're interested you can install the ActivePerl distro
(www.activestate.com).

.


Quantcast