Click here to get back home

Installing Perl InlineC module in Windows 2003

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Installing Perl InlineC module in Windows 2003 Sankaran 08-04-2005
Posted by Sankaran on August 4, 2005, 9:11 pm
Please log in for more thread options


Hello ,

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>Perl
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>nmake 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')" tinit.t tusages.t tconfig.t
terrors.t tcre
ate.t tfiles.t
tinit......ok
tusages....ok
tconfig....ok
terrors....ok
tcreate....ok
tfiles.....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')" tinit.t tsyntax.t tconfig.t
ttypemap.t
tperlapi.t txsmode.t
tinit.......ok
tsyntax.....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 tsyntax.t line 28
BEGIN failed--compilation aborted at tsyntax.t line 37.
tsyntax.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
tconfig.....ok 1/3# Failed test 2 in tconfig.t at line 33
tconfig.....NOK 2# tconfig.t line 33 is: ok($@ =~ /not a
valid config
option/);
Uncaught exception from user code:
Invalid value '_Inline_test' for config option DIRECTORY

at tconfig.t line 38
BEGIN failed--compilation aborted at tconfig.t line 40.
tconfig.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2-3
Failed 2/3 tests, 33.33% okay
ttypemap....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 ttypemap.t line 0
INIT failed--call queue aborted.
ttypemap....dubious
Test returned status 2 (wstat 512, 0x200)
tperlapi....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 tperlapi.t line 0
INIT failed--call queue aborted.
tperlapi....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
txsmode.....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 txsmode.t line 0
INIT failed--call queue aborted.
txsmode.....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
-------------------------------------------------------------------------------
tsyntax.t 2 512 5 10 200.00% 1-5
tconfig.t 2 512 3 3 100.00% 2-3
ttypemap.t 2 512 ?? ?? % ??
tperlapi.t 2 512 1 2 200.00% 1
txsmode.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



Posted by Sisyphus on August 14, 2005, 7:06 pm
Please log in for more thread options




> Will the Windows 2003 will cause any problems ?

Should not be a problem.

> I assume No.
> Also remeber I dont have VC++ installed, I had copied the VC98 folder
> for availing the nmake utility.
>

Should be ok, so long as you copied the *entire* VC98 folder - not just the
VC98/bin folder.

Can't tell from the report that you sent just what the trouble is. Might
help if we can see what 'out.make' has to say.

Cheers,
Rob




Similar ThreadsPosted
installing LWP::UserAgent on windows June 21, 2005, 10:37 pm
Installing DBI module for Perl 5.8.4 October 4, 2005, 6:26 am
Installing DBD:Oracle module on Perl 5.8.4 October 5, 2005, 11:11 am
installing LIBNET and NET::TELNET on a windows 200 server June 16, 2005, 12:11 pm
Windows: Perl:XS July 6, 2005, 4:57 am
Perl on Windows April 18, 2007, 3:30 pm
Imlib2 and Windows perl March 17, 2005, 6:28 am
Windows: Perl:Inline July 6, 2005, 4:56 am
Windows services in PERL July 13, 2006, 3:01 pm
help on how to use PERL to do a "postmessage" to a windows handle January 16, 2005, 12:10 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap