S
siddharth
Hi All,
I have been trying to run a perl script since morning and now i am
totally bugged up please help..... my problem is "i want to run a perl
script in which a c function is called"
this is how i went about it
first thing i did was to try to install Inline-0.44. it reported that
ParseRecDescent is required for it so i downloaded this module since it
is a pure perl module i simply copied it to its respective directory
thatis (lib/parse).
then i again tried installing Inline-0.44 with following command
c:\>perl makefile.pl
c:\>nmake
C:\>nmake test
above command(third one) gave following error:
------------------------------------------------------------------
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'bl
ib\lib', 'blib\arch')" t\00init.t t\01usages.t t\02config.t
t\03errors.t t\04cre
ate.t t\05files.t
t\00init......ok
t\01usages....ok
t\02config....ok
t\03errors....ok
t\04create....ok
t\05files.....skipped
all skipped: no reason given
All tests successful, 1 test skipped.
Files=6, Tests=14, 11 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00
CPU)
D:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, '..
\blib\lib', '..\blib\arch')" t\00init.t t\01syntax.t t\02config.t
t\03typemap.t
t\04perlapi.t t\05xsmode.t
t\00init.......ok
t\01syntax.....Uncaught exception from user code:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\E
xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap
_01syntax_t_6b3a.xs > _01sy
ntax_t_6b3a.xsc && D:\Perl\bin\perl.exe -MExtUtils::Command -e mv
_01syntax_t_6b
3a.xsc _01syntax_t_6b3a.c
cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
-O1 -DWIN3
2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
-DNO_HASH_SEED
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -D
PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0
..00\" "-ID:\Perl\lib\CORE" _01syntax_t_6b3a.c
_01syntax_t_6b3a.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C run time library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
nmake > out.make 2>&1
The build directory was:
D:\Inline-0.44\C\_Inline_test\build\_01syntax_t_6b3a
To debug the problem, cd to the build directory, and inspect the output
files.
at t\01syntax.t line 28
BEGIN failed--compilation aborted at t\01syntax.t line 37.
at t\01syntax.t line 37
t\01syntax.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t\02config.....ok 1/3# Failed test 2 in t\02config.t at line 33
# t\02config.t line 33 is: ok($@ =~ /not a valid config option/);
t\02config.....NOK 2Uncaught exception from user code:
Invalid value '_Inline_test' for config option DIRECTORY
at t\02config.t line 38
BEGIN failed--compilation aborted at t\02config.t line 40.
at t\02config.t line 40
t\02config.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-3
Failed 2/3 tests, 33.33% okay
t\03typemap....Uncaught exception from user code:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\E
xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap -typemap
D:\Inline-0.44\C\t\
typemap _03typemap_t_a52c.xs > _03typemap_t_a52c.xsc &&
D:\Perl\bin\perl.exe -M
ExtUtils::Command -e mv _03typemap_t_a52c.xsc _03typemap_t_a52c.c
cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
-O1 -DWIN3
2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
-DNO_HASH_SEED
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -D
PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0
..00\" "-ID:\Perl\lib\CORE" _03typemap_t_a52c.c
_03typemap_t_a52c.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C run
time library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
nmake > out.make 2>&1
The build directory was:
D:\Inline-0.44\C\_Inline_test\build\_03typemap_t_a52c
To debug the problem, cd to the build directory, and inspect the output
files.
at t\03typemap.t line 0
INIT failed--call queue aborted.
at t\03typemap.t line 0
t\03typemap....dubious
Test returned status 2 (wstat 512, 0x200)
t\04perlapi....Uncaught exception from user code:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\E
xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap
_04perlapi_t_3c76.xs > _04p
erlapi_t_3c76.xsc && D:\Perl\bin\perl.exe -MExtUtils::Command -e mv
_04perlapi_t
_3c76.xsc _04perlapi_t_3c76.c
cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
-O1 -DWIN3
2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
-DNO_HASH_SEED
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -D
PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0
..00\" "-ID:\Perl\lib\CORE" _04perlapi_t_3c76.c
_04perlapi_t_3c76.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C run
time library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
nmake > out.make 2>&1
The build directory was:
D:\Inline-0.44\C\_Inline_test\build\_04perlapi_t_3c76
To debug the problem, cd to the build directory, and inspect the output
files.
at t\04perlapi.t line 0
INIT failed--call queue aborted.
at t\04perlapi.t line 0
t\04perlapi....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t\05xsmode.....Uncaught exception from user code:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\E
xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap xsmode.xs >
xsmode.xsc && D
:\Perl\bin\perl.exe -MExtUtils::Command -e mv xsmode.xsc xsmode.c
Please specify prototyping behavior for xsmode.xs (see perlxs manual)
cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
-O1 -DWIN3
2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
-DNO_HASH_SEED
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -D
PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0
..00\" "-ID:\Perl\lib\CORE" xsmode.c
xsmode.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C run
time library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
nmake > out.make 2>&1
The build directory was:
D:\Inline-0.44\C\_Inline_test\build\xsmode
To debug the problem, cd to the build directory, and inspect the output
files.
at t\05xsmode.t line 0
INIT failed--call queue aborted.
at t\05xsmode.t line 0
t\05xsmode.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\01syntax.t 2 512 5 10 200.00% 1-5
t\02config.t 2 512 3 3 100.00% 2-3
t\03typemap.t 2 512 ?? ?? % ??
t\04perlapi.t 2 512 1 2 200.00% 1
t\05xsmode.t 2 512 1 2 200.00% 1
Failed 5/6 test scripts, 16.67% okay. 9/11 subtests failed, 18.18%
okay.
NMAKE : fatal error U1077: 'D:\Perl\bin\perl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
----------------------------------------------------------------------
even after getting so many error i went ahead and executed
c:\>nmake install
it gave following message
----------------------------------------------------------------
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Appending installation info to D:\Perl\lib/perllocal.pod
-----------------------------------------------------------------
then i tried running my perl script and as expectecd it konked up and
gave following errors
-----------------------------------------------------------
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\E
xtUtils\typemap greet_txt_1f4b.xs > greet_txt_1f4b.xsc &&
D:\Perl\bin\perl.exe
-MExtUtils::Command -e mv greet_txt_1f4b.xsc greet_txt_1f4b.c
cl -c -IE:/proj -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOL
E -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED
-DUSE_SITE
CUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT
_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0.00\" "-ID
:\Perl\lib\CORE" greet_txt_1f4b.c
greet_txt_1f4b.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C run
time library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
nmake > out.make 2>&1
The build directory was:
E:\proj\_Inline\build\greet_txt_1f4b
To debug the problem, cd to the build directory, and inspect the output
files.
at greet.txt line 1
BEGIN failed--compilation aborted at greet.txt line 7.
-----------------------------------------------------------------------------
for your convenience i am copying out.make file below
--------------------------------------------------------------
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\ExtUtils\typemap greet_txt_1f4b.xs > greet_txt_1f4b.xsc &&
D:\Perl\bin\perl.exe -MExtUtils::Command -e mv greet_txt_1f4b.xsc
greet_txt_1f4b.c
cl -c -IE:/proj -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
-DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG
-O1 -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" "-ID:\Perl\lib\CORE"
greet_txt_1f4b.c
greet_txt_1f4b.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C runtime library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
--------------------------------------------------------------------------
i have looked in this group, though there were similar kind of queries
and replies. i tried all the suggestion but still i could not run my
small script please help.
please note that i am using windows 2000 professional and Activeperl
5.8.7
also note that same code is running fine in linux(FC3).
thanks and regards
siddharth.
I have been trying to run a perl script since morning and now i am
totally bugged up please help..... my problem is "i want to run a perl
script in which a c function is called"
this is how i went about it
first thing i did was to try to install Inline-0.44. it reported that
ParseRecDescent is required for it so i downloaded this module since it
is a pure perl module i simply copied it to its respective directory
thatis (lib/parse).
then i again tried installing Inline-0.44 with following command
c:\>perl makefile.pl
c:\>nmake
C:\>nmake test
above command(third one) gave following error:
------------------------------------------------------------------
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'bl
ib\lib', 'blib\arch')" t\00init.t t\01usages.t t\02config.t
t\03errors.t t\04cre
ate.t t\05files.t
t\00init......ok
t\01usages....ok
t\02config....ok
t\03errors....ok
t\04create....ok
t\05files.....skipped
all skipped: no reason given
All tests successful, 1 test skipped.
Files=6, Tests=14, 11 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00
CPU)
D:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, '..
\blib\lib', '..\blib\arch')" t\00init.t t\01syntax.t t\02config.t
t\03typemap.t
t\04perlapi.t t\05xsmode.t
t\00init.......ok
t\01syntax.....Uncaught exception from user code:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\E
xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap
_01syntax_t_6b3a.xs > _01sy
ntax_t_6b3a.xsc && D:\Perl\bin\perl.exe -MExtUtils::Command -e mv
_01syntax_t_6b
3a.xsc _01syntax_t_6b3a.c
cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
-O1 -DWIN3
2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
-DNO_HASH_SEED
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -D
PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0
..00\" "-ID:\Perl\lib\CORE" _01syntax_t_6b3a.c
_01syntax_t_6b3a.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C run time library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
nmake > out.make 2>&1
The build directory was:
D:\Inline-0.44\C\_Inline_test\build\_01syntax_t_6b3a
To debug the problem, cd to the build directory, and inspect the output
files.
at t\01syntax.t line 28
BEGIN failed--compilation aborted at t\01syntax.t line 37.
at t\01syntax.t line 37
t\01syntax.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t\02config.....ok 1/3# Failed test 2 in t\02config.t at line 33
# t\02config.t line 33 is: ok($@ =~ /not a valid config option/);
t\02config.....NOK 2Uncaught exception from user code:
Invalid value '_Inline_test' for config option DIRECTORY
at t\02config.t line 38
BEGIN failed--compilation aborted at t\02config.t line 40.
at t\02config.t line 40
t\02config.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-3
Failed 2/3 tests, 33.33% okay
t\03typemap....Uncaught exception from user code:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\E
xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap -typemap
D:\Inline-0.44\C\t\
typemap _03typemap_t_a52c.xs > _03typemap_t_a52c.xsc &&
D:\Perl\bin\perl.exe -M
ExtUtils::Command -e mv _03typemap_t_a52c.xsc _03typemap_t_a52c.c
cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
-O1 -DWIN3
2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
-DNO_HASH_SEED
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -D
PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0
..00\" "-ID:\Perl\lib\CORE" _03typemap_t_a52c.c
_03typemap_t_a52c.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C run
time library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
nmake > out.make 2>&1
The build directory was:
D:\Inline-0.44\C\_Inline_test\build\_03typemap_t_a52c
To debug the problem, cd to the build directory, and inspect the output
files.
at t\03typemap.t line 0
INIT failed--call queue aborted.
at t\03typemap.t line 0
t\03typemap....dubious
Test returned status 2 (wstat 512, 0x200)
t\04perlapi....Uncaught exception from user code:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\E
xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap
_04perlapi_t_3c76.xs > _04p
erlapi_t_3c76.xsc && D:\Perl\bin\perl.exe -MExtUtils::Command -e mv
_04perlapi_t
_3c76.xsc _04perlapi_t_3c76.c
cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
-O1 -DWIN3
2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
-DNO_HASH_SEED
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -D
PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0
..00\" "-ID:\Perl\lib\CORE" _04perlapi_t_3c76.c
_04perlapi_t_3c76.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C run
time library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
nmake > out.make 2>&1
The build directory was:
D:\Inline-0.44\C\_Inline_test\build\_04perlapi_t_3c76
To debug the problem, cd to the build directory, and inspect the output
files.
at t\04perlapi.t line 0
INIT failed--call queue aborted.
at t\04perlapi.t line 0
t\04perlapi....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t\05xsmode.....Uncaught exception from user code:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\E
xtUtils\typemap -typemap D:\Inline-0.44\C\t\typemap xsmode.xs >
xsmode.xsc && D
:\Perl\bin\perl.exe -MExtUtils::Command -e mv xsmode.xsc xsmode.c
Please specify prototyping behavior for xsmode.xs (see perlxs manual)
cl -c -ID:/Inline-0.44/C/t -nologo -Gf -W3 -MD -Zi -DNDEBUG
-O1 -DWIN3
2 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
-DNO_HASH_SEED
-DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -D
PERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0
..00\" "-ID:\Perl\lib\CORE" xsmode.c
xsmode.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C run
time library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
nmake > out.make 2>&1
The build directory was:
D:\Inline-0.44\C\_Inline_test\build\xsmode
To debug the problem, cd to the build directory, and inspect the output
files.
at t\05xsmode.t line 0
INIT failed--call queue aborted.
at t\05xsmode.t line 0
t\05xsmode.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\01syntax.t 2 512 5 10 200.00% 1-5
t\02config.t 2 512 3 3 100.00% 2-3
t\03typemap.t 2 512 ?? ?? % ??
t\04perlapi.t 2 512 1 2 200.00% 1
t\05xsmode.t 2 512 1 2 200.00% 1
Failed 5/6 test scripts, 16.67% okay. 9/11 subtests failed, 18.18%
okay.
NMAKE : fatal error U1077: 'D:\Perl\bin\perl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
----------------------------------------------------------------------
even after getting so many error i went ahead and executed
c:\>nmake install
it gave following message
----------------------------------------------------------------
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Appending installation info to D:\Perl\lib/perllocal.pod
-----------------------------------------------------------------
then i tried running my perl script and as expectecd it konked up and
gave following errors
-----------------------------------------------------------
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\E
xtUtils\typemap greet_txt_1f4b.xs > greet_txt_1f4b.xsc &&
D:\Perl\bin\perl.exe
-MExtUtils::Command -e mv greet_txt_1f4b.xsc greet_txt_1f4b.c
cl -c -IE:/proj -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOL
E -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED
-DUSE_SITE
CUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT
_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0.00\" "-ID
:\Perl\lib\CORE" greet_txt_1f4b.c
greet_txt_1f4b.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C run
time library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
A problem was encountered while attempting to compile and install your
Inline
C code. The command that failed was:
nmake > out.make 2>&1
The build directory was:
E:\proj\_Inline\build\greet_txt_1f4b
To debug the problem, cd to the build directory, and inspect the output
files.
at greet.txt line 1
BEGIN failed--compilation aborted at greet.txt line 7.
-----------------------------------------------------------------------------
for your convenience i am copying out.make file below
--------------------------------------------------------------
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils/xsubpp -typemap
D:\Perl\lib\ExtUtils\typemap greet_txt_1f4b.xs > greet_txt_1f4b.xsc &&
D:\Perl\bin\perl.exe -MExtUtils::Command -e mv greet_txt_1f4b.xsc
greet_txt_1f4b.c
cl -c -IE:/proj -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE
-DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG
-O1 -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" "-ID:\Perl\lib\CORE"
greet_txt_1f4b.c
greet_txt_1f4b.c
D:\Perl\lib\CORE\locale.h(30) : fatal error C1189: #error : ERROR: Use
of C runtime library internal header file.
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
--------------------------------------------------------------------------
i have looked in this group, though there were similar kind of queries
and replies. i tried all the suggestion but still i could not run my
small script please help.
please note that i am using windows 2000 professional and Activeperl
5.8.7
also note that same code is running fine in linux(FC3).
thanks and regards
siddharth.