Problems while Installing modules from Source on w2k. 
Author Message
 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



Sun, 16 May 2004 14:07:37 GMT  
 Problems while Installing modules from Source on w2k.
Quote:

> 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

Not being a windows programmer, what are the command line switches 'cl'
is using?  Are these valid?
--
Ron Reidy
Oracle DBA
Reidy Consulting, L.L.C.


Sun, 16 May 2004 14:52:22 GMT  
 Problems while Installing modules from Source on w2k.

Quote:

>Hi,
>   I installed perl from source (not the active state perl).

Why??

Regards,
Helgi Briem



Sun, 16 May 2004 15:42:02 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. installing Font-TTF-0.18 under W2k

2. Installing Tk under W2K with ppm

3. module install problems with cpan module and gcc?

4. Pat space doesn't change in nested whiles

5. Win32::EventLog / Problems with W2K and NT4

6. Problem with Term::ReadKey on W2K

7. Display problem with menu check buttons on W2K

8. Problem installing modules

9. problem installing RPC modules

10. Problems with installing modules on Perl-GS for NT

11. problems installing PGP::Pipe.pm module

12. Installing modules with/without MakeMaker problems ?

 

 
Powered by phpBB® Forum Software