
Problems while Installing modules from Source on w2k.
Hi,
I installed perl from source (not the active state perl). The
installation went fine.
I had just changed the Install drive. No other value in the makefile
was changed.
Now I want some other modules to be installed,like win32api::file,
win32api::regitry, etc. When I try installing them I get an error . I
created the makefile(for the above modules after downloading
libwin32-0.18 from CPAN) by running "perl makefile.pl " at the command
prompt. When I try the next step i.e. "nmake", I get the following
error:
D:\PERL56~1.1\libwin32-0.18>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -c -GX -nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE
-DNO_STRICT -DPERL_MSVCRT_READFIX -O1 -MD -DNDEBUG
-DVERSION=\"0.09\" -DXS_VERSION=\"0.09\"
-ID:\perl\5.6.1\lib\MSWin32-x86\CORE Process.cpp
Process.cpp
Process.xs(25) : error C2065: 'get_childenv' : undeclared identifier
Process.xs(25) : error C2440: '=' : cannot convert from 'int' to 'void
*'
Conversion from integral type to pointer type requires
reinterpret_cast, C-style cast or function-style cast
Process.xs(37) : error C2065: 'free_childenv' : undeclared identifier
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
How do I overcome this?? Is the error occuring because of some
settings when installing perl?. What do I need to change to install
the different modules when building perl from Source ??
Please Help.
Thanking you In advance.
Sreelatha