http://www.perlmonks.org?node_id=378738


in reply to Re^2: A Guide to Installing Modules
in thread A Guide to Installing Modules

Sorry for missing the point of your tutorial and thanks for your patience and reply.

Enum appeared to install ok as follows:

C:\enum\enum-1.016>perl makefile.pl Checking if your kit is complete... Looks good Writing Makefile for enum C:\enum\enum-1.016>nmake WARNING: missing nmake.err; displaying error numbers without messages +. cp enum.pm blib\lib\enum.pm C:\enum\enum-1.016>nmake test WARNING: missing nmake.err; displaying error numbers without messages +. C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, ' +bl ib\lib', 'blib\arch')" t\dot_dot.t t\new_index.t t\new_package.t t\new +_tag.t t\s imple_tags.t t\dot_dot........ok t\new_index......ok t\new_package....ok t\new_tag........ok t\simple_tags....ok All tests successful. Files=5, Tests=14, 0 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 +CPU)
It installed itself here:
Directory of C:\perl\site\lib\win32\ole 01/06/2004 12:15 2,839 Enum.pm 1 File(s) 2,839 bytes 0 Dir(s) 8,706,207,744 bytes free
But installing Win32::Rase produced:
C:\win32-RASE\Win32-RASE-1.01>perl makefile.pl Checking if your kit is complete... Looks good Warning: prerequisite Win32::API 0 not found. Warning: prerequisite enum 1.014 not found. Writing Makefile for Win32::RASE
Is the difference between enum 1.014 and enum 1.016 significant?

I noticed that Win32::API was also not found.

I have Win32API::File, Win32API::Net and Win32API::Registry. I downloaded Win32::API from CPAN.

C:\Win32-API-0.41>perl makefile.pl Checking if your kit is complete... Looks good Writing Makefile for Win32::API::Callback Writing Makefile for Win32::API C:\Win32-API-0.41>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp Type.pm blib\lib\Win32/API/Type.pm cp Callback.pm blib\lib\Win32/API/Callback.pm cp Struct.pm blib\lib\Win32/API/Struct.pm cp API.pm blib\lib\Win32/API.pm C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap C:\ +Perl\lib\E xtUtils\typemap Callback.xs > Callback.xsc && C:\Perl\bin\perl.exe -M +ExtUtils:: Command -e mv Callback.xsc Callback.c cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_ST RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_I +MPLICIT_SY S -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION +=\"0.41\" -DXS_VERSION=\"0.41\" "-IC:\Perl\lib\CORE" Callback.c 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x1' Stop. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x2' Stop.

Does this mean I need a C compiler?

Sorry to be a pain.

Note: I found and moved nmake.err into the path.