Installing Perl InlineC module in Windows 2003
am 05.08.2005 06:11:25 von SankaranHello ,
After successful installation of Inline C in Windows XP, I am trying to
install Perl InlineC in Windows 2003. This machine doesnt have VC++
installation, so I copied the VC98 folder and updated the PATH with
VC98\BIN for getting the NMAKE utility.
I did the following for installing Inline C in Windows 2003.
1. Copied the downloaded modules TextBalanced,
Parse-RecDescent-1.94.tar and Inline-0.44.
2. Extracted these into seperate folders.
3. Opened a Command Prompt and updated the PATH variable with VC98\Bin
where this folder I have copied from a VC++ installed machine. As of
now the Windows 2003 machine where I am trying to install Inline::C
doesnt have VC++ installation.
4. Installed Test Balanced and its going through.
5. Installed Parse-RecDescent-1.94 and this was also succeeded.
6. Installed Inline::C and got the error mentioned below;
------------------------------------------------------------ ------
G:\Temp\TPs\New_Perl_Install\Inline-0.44.tar\Inline-0.44>Per l
Makefile.pl
Checking if your kit is complete...
Looks good
Inline::C is packaged with Inline.pm because it is the most commonly
used
Inline Language Support Module (ILSM).
See also: Inline::ASM, ::Awk, ::BC, ::Basic, ::Befunge, ::CPP (C++),
::CPR,
::Foo, ::Guile, ::Java, ::Octave, ::PERL, ::Python, ::Ruby,
::TT,
::Tcl and ::WebChat.
Config.pm indicates that your version of Perl was built with this C
compiler:
cl.exe
I have located this compiler on your system:
Do you want to install Inline::C? [y] y
Writing Makefile for Inline::C
Writing Makefile for Inline
Fixing Makefile for MSWin32
G:\Temp\TPs\New_Perl_Install\Inline-0.44.tar\Inline-0.44>nma ke test
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp Inline.pod blib\lib\Inline.pod
cp lib/Inline/MakeMaker/Changes blib\lib\Inline\MakeMaker\Changes
cp lib/Inline/denter.pm blib\lib\Inline\denter.pm
AutoSplitting blib\lib\Inline\denter.pm (blib\lib\auto\Inline\denter)
cp Inline.pm blib\lib\Inline.pm
AutoSplitting blib\lib\Inline.pm (blib\lib\auto\Inline)
cp lib/Inline/Foo.pm blib\lib\Inline\Foo.pm
cp Inline-API.pod blib\lib\Inline-API.pod
cp lib/Inline/MakeMaker.pm blib\lib\Inline\MakeMaker.pm
cp Inline-FAQ.pod blib\lib\Inline-FAQ.pod
cp Inline-Support.pod blib\lib\Inline-Support.pod
cp lib/Inline/C/ParseRegExp.pm ..\blib\lib\Inline\C\ParseRegExp.pm
cp C-Cookbook.pod ..\blib\lib\Inline\C-Cookbook.pod
cp C.pm ..\blib\lib\Inline\C.pm
cp C.pod ..\blib\lib\Inline\C.pod
cp lib/Inline/C/ParseRecDescent.pm
...\blib\lib\Inline\C\ParseRecDescent.pm
E:\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, 12 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00
CPU)
E:\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.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
E:\Perl\bin\perl.exe E:\Perl\lib\ExtUtils/xsubpp -typemap
E:\Perl\lib\E
xtUtils\typemap -typemap
G:\Temp\TPs\New_Perl_Install\Inline-0.44.tar\Inline-0.4
4\C\t\typemap _01syntax_t_6b3a.xs > _01syntax_t_6b3a.xsc &&
E:\Perl\bin\perl.ex
e -MExtUtils::Command -e mv _01syntax_t_6b3a.xsc _01syntax_t_6b3a.c
cl -c
-IG:/Temp/TPs/New_Perl_Install/Inline-0.44.tar/Inline-0.44/C /t -
nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FC
RYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -DP
ERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0.
00\" "-IE:\Perl\lib\CORE" _01syntax_t_6b3a.c
NMAKE : fatal error U1077: 'cl' : return code '0x80'
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:
G:\Temp\TPs\New_Perl_Install\Inline-0.44.tar\Inline-0.44\C\_ Inline_test\build\_0
1syntax_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.
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.....NOK 2# t\02config.t line 33 is: ok($@ =~ /not a
valid config
option/);
Uncaught 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.
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.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
E:\Perl\bin\perl.exe E:\Perl\lib\ExtUtils/xsubpp -typemap
E:\Perl\lib\E
xtUtils\typemap -typemap
G:\Temp\TPs\New_Perl_Install\Inline-0.44.tar\Inline-0.4
4\C\t\typemap -typemap
G:\Temp\TPs\New_Perl_Install\Inline-0.44.tar\Inline-0.44\
C\t\typemap _03typemap_t_a52c.xs > _03typemap_t_a52c.xsc &&
E:\Perl\bin\perl.ex
e -MExtUtils::Command -e mv _03typemap_t_a52c.xsc _03typemap_t_a52c.c
cl -c
-IG:/Temp/TPs/New_Perl_Install/Inline-0.44.tar/Inline-0.44/C /t -
nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FC
RYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -DP
ERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0.
00\" "-IE:\Perl\lib\CORE" _03typemap_t_a52c.c
NMAKE : fatal error U1077: 'cl' : return code '0x80'
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:
G:\Temp\TPs\New_Perl_Install\Inline-0.44.tar\Inline-0.44\C\_ Inline_test\build\_0
3typemap_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.
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.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
E:\Perl\bin\perl.exe E:\Perl\lib\ExtUtils/xsubpp -typemap
E:\Perl\lib\E
xtUtils\typemap -typemap
G:\Temp\TPs\New_Perl_Install\Inline-0.44.tar\Inline-0.4
4\C\t\typemap _04perlapi_t_3c76.xs > _04perlapi_t_3c76.xsc &&
E:\Perl\bin\perl.
exe -MExtUtils::Command -e mv _04perlapi_t_3c76.xsc _04perlapi_t_3c76.c
cl -c
-IG:/Temp/TPs/New_Perl_Install/Inline-0.44.tar/Inline-0.44/C /t -
nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FC
RYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -DP
ERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0.
00\" "-IE:\Perl\lib\CORE" _04perlapi_t_3c76.c
NMAKE : fatal error U1077: 'cl' : return code '0x80'
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:
G:\Temp\TPs\New_Perl_Install\Inline-0.44.tar\Inline-0.44\C\_ Inline_test\build\_0
4perlapi_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.
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.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
E:\Perl\bin\perl.exe E:\Perl\lib\ExtUtils/xsubpp -typemap
E:\Perl\lib\E
xtUtils\typemap -typemap
G:\Temp\TPs\New_Perl_Install\Inline-0.44.tar\Inline-0.4
4\C\t\typemap xsmode.xs > xsmode.xsc && E:\Perl\bin\perl.exe
-MExtUtils::Comman
d -e mv xsmode.xsc xsmode.c
Please specify prototyping behavior for xsmode.xs (see perlxs manual)
cl -c
-IG:/Temp/TPs/New_Perl_Install/Inline-0.44.tar/Inline-0.44/C /t -
nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FC
RYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -DP
ERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.00\"
-DXS_VERSION=\"0.
00\" "-IE:\Perl\lib\CORE" xsmode.c
NMAKE : fatal error U1077: 'cl' : return code '0x80'
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:
G:\Temp\TPs\New_Perl_Install\Inline-0.44.tar\Inline-0.44\C\_ Inline_test\build\xs
mode
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.
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: 'E:\Perl\bin\perl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
------------------------------------------------------------ ------
5. I tried the installation of INline ::C as follows
Perl Makefile.pl
nmake test
(Also I tried "nmake" without "test" so this will do some
copy actions)
nmake Install
(Also I tried cleaning my nmake clean)
But still I am getting the above error.
Any idea ??
Will the Windows 2003 will cause any problems ? I assume No.
Also remeber I dont have VC++ installed, I had copied the VC98 folder
for availing the nmake utility.
Regards,
Sankaran