cpan[6]> install Inline::CPP
Running install for module 'Inline::CPP'
CPAN: Data::Dumper loaded ok (v2.121_12)
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs 'C
:\Perl\cpan\prefs'
Running make for N/NE/NEILW/Inline-CPP-0.25.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Checksum for C:\Perl\cpan\sources\authors\id\N\NE\NEILW\Inline-CPP-0.25.tar.gz o
k
Scanning cache c:\Perl\cpan\build for sizes
........................................................--------------------DONE
DEL(1/5): C:\Perl\cpan\build\CPAN-1.9402-zZZmgH
DEL(2/5): C:\Perl\cpan\build\aliased-0.30-Ky0CzB
DEL(3/5): C:\Perl\cpan\build\Clone-0.31-H7WNkl
DEL(4/5): C:\Perl\cpan\build\Exporter-Tidy-0.07-VEBpAv
DEL(5/5): C:\Perl\cpan\build\Digest-SHA-5.47-E7jvVk
CPAN: Archive::Tar loaded ok (v1.42)
Inline-CPP-0.25/
Inline-CPP-0.25/grammar/
Inline-CPP-0.25/grammar/t/
Inline-CPP-0.25/grammar/t/07static.t
Inline-CPP-0.25/grammar/t/01nherit.t
Inline-CPP-0.25/grammar/t/16varlst.t
Inline-CPP-0.25/grammar/t/12retlst.t
Inline-CPP-0.25/grammar/t/14const.t
Inline-CPP-0.25/grammar/t/15stvar.t
Inline-CPP-0.25/grammar/t/03inline.t
Inline-CPP-0.25/grammar/t/02scope.t
Inline-CPP-0.25/grammar/t/04const.t
Inline-CPP-0.25/grammar/t/08anon.t
Inline-CPP-0.25/grammar/t/11minhrt.t
Inline-CPP-0.25/grammar/t/13vararg.t
Inline-CPP-0.25/grammar/t/10struct.t
Inline-CPP-0.25/grammar/t/06deflt.t
Inline-CPP-0.25/grammar/t/05virt.t
Inline-CPP-0.25/grammar/t/09purevt.t
Inline-CPP-0.25/grammar/grammar.pm
Inline-CPP-0.25/grammar/Makefile.PL
Inline-CPP-0.25/Changes
Inline-CPP-0.25/TESTED
Inline-CPP-0.25/MANIFEST
Inline-CPP-0.25/t/
Inline-CPP-0.25/t/01basic.t
Inline-CPP-0.25/t/02prefix.t
Inline-CPP-0.25/lib/
Inline-CPP-0.25/lib/Inline/
Inline-CPP-0.25/lib/Inline/CPP.pod
Inline-CPP-0.25/CPP.pm
Inline-CPP-0.25/README
Inline-CPP-0.25/Makefile.PL
CPAN: File::Temp loaded ok (v0.21)
Warning (usually harmless): 'YAML' not installed, will not store persistent stat
e
CPAN.pm: Going to build N/NE/NEILW/Inline-CPP-0.25.tar.gz
Set up gcc environment - 3.4.5 (mingw special)
This will configure and build Inline::C++.
What default C++ compiler would you like to use? [g++] gcc
What default libraries would you like to include? [-lstdc++]
Checking if your kit is complete...
Looks good
Writing Makefile for Inline::CPP::grammar
Writing Makefile for Inline::CPP
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cp CPP.pm blib\lib\Inline\CPP.pm
cp lib/Inline/CPP.pod blib\lib\Inline\CPP.pod
nmake -f Makefile all -nologo
cp grammar.pm ..\blib\lib\Inline\CPP\grammar.pm
cd ..
NEILW/Inline-CPP-0.25.tar.gz
C:\Perl\site\bin\nmake.EXE -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent stat
e
Running make test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
nmake -f Makefile all -nologo
cd ..
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl
ib\lib', 'blib\arch')" t/*.t
t/01basic.....
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\E
xtUtils\typemap -typemap C:\Perl\cpan\build\Inline-CPP-0.25-jUO8zP\_Inline\build
\_01basic_t_5cd2\CPP.map _01basic_t_5cd2.xs > _01basic_t_5cd2.xsc && C:\Perl\bi
n\perl.exe -MExtUtils::Command -e mv _01basic_t_5cd2.xsc _01basic_t_5cd2.c
gcc -c -IC:/Perl/cpan/build/Inline-CPP-0.25-jUO8zP/t -DNDEBUG -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPR
IVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPER
L_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.00\"
-DXS_VERSION=\"0.00\" "-IC:\Perl\lib\CORE" _01basic_t_5cd2.c
_01basic_t_5cd2.xs:2:22: iostream.h: No such file or directory
_01basic_t_5cd2.xs:4: error: syntax error before string constant
In file included from C:/Perl/lib/CORE/win32thread.h:4,
from C:/Perl/lib/CORE/perl.h:2611,
from _01basic_t_5cd2.xs:6:
C:/Perl/lib/CORE/win32.h:289: error: syntax error before "need"
_01basic_t_5cd2.xs:9: error: syntax error before '}' token
_01basic_t_5cd2.xs:16: error: syntax error before '{' token
_01basic_t_5cd2.xs:24: error: syntax error before ':' token
_01basic_t_5cd2.xs:28: error: syntax error before '}' token
_01basic_t_5cd2.xs:30: error: syntax error before ':' token
_01basic_t_5cd2.xs:36: error: syntax error before ':' token
_01basic_t_5cd2.xs:40: error: syntax error before ':' token
_01basic_t_5cd2.xs:44: error: syntax error before ':' token
_01basic_t_5cd2.c: In function `XS_main__Soldier_new':
_01basic_t_5cd2.c:80: error: `Soldier' undeclared (first use in this function)
_01basic_t_5cd2.c:80: error: (Each undeclared identifier is reported only once
_01basic_t_5cd2.c:80: error: for each function it appears in.)
_01basic_t_5cd2.c:80: error: `RETVAL' undeclared (first use in this function)
_01basic_t_5cd2.c:82: error: `new' undeclared (first use in this function)
_01basic_t_5cd2.c:82: error: syntax error before "Soldier"
_01basic_t_5cd2.c: In function `XS_main__Soldier_get_name':
_01basic_t_5cd2.c:103: error: `Soldier' undeclared (first use in this function)
_01basic_t_5cd2.c:103: error: `THIS' undeclared (first use in this function)
_01basic_t_5cd2.c:108: error: syntax error before ')' token
_01basic_t_5cd2.c: In function `XS_main__Soldier_get_rank':
_01basic_t_5cd2.c:134: error: `Soldier' undeclared (first use in this function)
_01basic_t_5cd2.c:134: error: `THIS' undeclared (first use in this function)
_01basic_t_5cd2.c:139: error: syntax error before ')' token
_01basic_t_5cd2.c: In function `XS_main__Soldier_get_serial':
_01basic_t_5cd2.c:165: error: `Soldier' undeclared (first use in this function)
_01basic_t_5cd2.c:165: error: `THIS' undeclared (first use in this function)
_01basic_t_5cd2.c:170: error: syntax error before ')' token
_01basic_t_5cd2.c: In function `XS_main__Soldier_DESTROY':
_01basic_t_5cd2.c:196: error: `Soldier' undeclared (first use in this function)
_01basic_t_5cd2.c:196: error: `THIS' undeclared (first use in this function)
_01basic_t_5cd2.c:199: error: syntax error before ')' token
_01basic_t_5cd2.c:206: error: `delete' undeclared (first use in this function)
_01basic_t_5cd2.c:206: error: syntax error before "THIS"
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
####
A problem was encountered while attempting to compile and install your Inline
CPP code. The command that failed was:
nmake > out.make 2>&1
##
##
The build directory was:
C:\Perl\cpan\build\Inline-CPP-0.25-jUO8zP\_Inline\build\_01basic_t_5cd2
To debug the problem, cd to the build directory, and inspect the output files.
at t/01basic.t line 30
BEGIN failed--compilation aborted at t/01basic.t line 64.
t/01basic.....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/02prefix....
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\E
xtUtils\typemap -typemap C:\Perl\cpan\build\Inline-CPP-0.25-jUO8zP\_Inline\build
\_02prefix_t_4ede\CPP.map _02prefix_t_4ede.xs > _02prefix_t_4ede.xsc && C:\Perl
\bin\perl.exe -MExtUtils::Command -e mv _02prefix_t_4ede.xsc _02prefix_t_4ede.c
gcc -c -IC:/Perl/cpan/build/Inline-CPP-0.25-jUO8zP/t -DNDEBUG -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPR
IVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPER
L_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSION=\"0.00\"
-DXS_VERSION=\"0.00\" "-IC:\Perl\lib\CORE" _02prefix_t_4ede.c
_02prefix_t_4ede.xs:2:22: iostream.h: No such file or directory
_02prefix_t_4ede.xs:4: error: syntax error before string constant
In file included from C:/Perl/lib/CORE/win32thread.h:4,
from C:/Perl/lib/CORE/perl.h:2611,
from _02prefix_t_4ede.xs:6:
C:/Perl/lib/CORE/win32.h:289: error: syntax error before "need"
_02prefix_t_4ede.xs:9: error: syntax error before '}' token
_02prefix_t_4ede.xs:17: error: field `dummy' declared as a function
_02prefix_t_4ede.xs:17: warning: no semicolon at end of struct or union
_02prefix_t_4ede.xs:17: error: syntax error before '{' token
_02prefix_t_4ede.c: In function `XS_main__Foo_dummy':
_02prefix_t_4ede.c:50: error: `Foo' undeclared (first use in this function)
_02prefix_t_4ede.c:50: error: (Each undeclared identifier is reported only once
_02prefix_t_4ede.c:50: error: for each function it appears in.)
_02prefix_t_4ede.c:50: error: `THIS' undeclared (first use in this function)
_02prefix_t_4ede.c:55: error: syntax error before ')' token
_02prefix_t_4ede.c: In function `XS_main__Foo_new':
_02prefix_t_4ede.c:82: error: `Foo' undeclared (first use in this function)
_02prefix_t_4ede.c:82: error: `RETVAL' undeclared (first use in this function)
_02prefix_t_4ede.c:84: error: `new' undeclared (first use in this function)
_02prefix_t_4ede.c:84: error: syntax error before "Foo"
_02prefix_t_4ede.c: In function `XS_main__Foo_DESTROY':
_02prefix_t_4ede.c:105: error: `Foo' undeclared (first use in this function)
_02prefix_t_4ede.c:105: error: `THIS' undeclared (first use in this function)
_02prefix_t_4ede.c:108: error: syntax error before ')' token
_02prefix_t_4ede.c:115: error: `delete' undeclared (first use in this function)
_02prefix_t_4ede.c:115: error: syntax error before "THIS"
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
A problem was encountered while attempting to compile and install your Inline
CPP code. The command that failed was:
nmake > out.make 2>&1
The build directory was:
C:\Perl\cpan\build\Inline-CPP-0.25-jUO8zP\_Inline\build\_02prefix_t_4ede
To debug the problem, cd to the build directory, and inspect the output files.
at t/02prefix.t line 0
INIT failed--call queue aborted.
t/02prefix....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/01basic.t 2 512 10 20 1-10
t/02prefix.t 2 512 4 8 1-4
Failed 2/2 test scripts. 14/14 subtests failed.
Files=2, Tests=14, 149 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
Failed 2/2 test programs. 14/14 subtests failed.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
NEILW/Inline-CPP-0.25.tar.gz
C:\Perl\site\bin\nmake.EXE test -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent stat
e
Running make install
make test had returned bad status, won't install without force
Failed during this command:
NEILW/Inline-CPP-0.25.tar.gz : make_test NO