Nagarajan V [20/08/01 03:53 -0700]:
> Hi,
> 
> I'm trying to use Inline.pm with the following
> configuration and have had problems as described
> below.
> 
> OS        : Microsoft Windows 2000 [Version 5.00.2195]
> Perl      : ActiveState Perl version 5.6.1 Build 628
> Inline.pm : version 0.43 got from CPAN. 
> Inline.pm installed using 
>  - perl Makefile.PL
>  - nmake 
>  - nmake test 
>  - nmake install.

[snip]

> On changing directory and running nmake this is 
> what I got...
> ------- Begin Error Message ------------------------
> D:\users\nagaraj\work\TestPrograms\_Inline\build\Simple_pl_1370>nmake
> 
> Microsoft (R) Program Maintenance Utility   
> Version 6.00.8168.0 Copyright (C) Microsoft Corp 
> 1988-1998. All rights reserved.
> 
>         cl -c -ID:/users/nagaraj/work/TestPrograms
> -nologo -O1 -MD -DNDEBUG -DWI
> N32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
> -DPERL_IMPLICIT_CONTEXT -DPERL_IMPL
> ICIT_SYS -DPERL_MSVCRT_READFIX -O1 -MD -DNDEBUG   
> -DVERSION=\"0.00\"  -DXS_VERS
> ION=\"0.00\"  -ID:\ActivePerl\lib\CORE 
> Simple_pl_1370.c
> Simple_pl_1370.c
> D:\ActivePerl\lib\CORE\perl.h(435) : fatal error 
> C1083: Cannot open include file : 'sys/types.h': No
> such file or directory
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
> ------- End Error Message ------------------------

> Why should the sys/types.h file be included for a
> Win2K environment ??? Could somebody please help me?

First, a word of advice: if a test fails, it's best to try and figure out why
it failed _before_ installing it, unless you know what you're doing.

IIRC, you need to run vcvars32.bat before using Inline with Visual C++.
It's a batch file (which comes with Visual Studio) that sets up your
console to work with the command-line tools. Try running it and
rebuilding your application. Let me know if that fixes it.

Later,
Neil

Reply via email to