Subject: | Failed to install Event with Strawberry Perl 5.12.1 |
Hi,
I could not install Event with Strawberry Perl 5.12.1, please see errors
listed below. I am running Win XP 2.16 Professional Version 2002 Service
Pack 3.
c/unix.c: In function 'pe_sys_multiplex':
c/unix.c:426: warning: passing argument 3 of '(*Perl_ILIO_ptr((struct
PerlInterpreter *)Perl_get_context()))->pFileStat' from incompatible
pointer type
c/unix.c:426: note: expected 'struct _stati64 *' but argument is of type
'struct stat *'
Running Mkbootstrap for Event ()
Thanks,
Yogesh Sawant
Subject: | installation-CPAN_module-Event.txt |
C:\y>perl -MCPAN -e "install Event"
Database was generated on Sun, 01 May 2011 07:14:09 GMT
Running install for module 'Event'
Running make for J/JP/JPRIT/Event-1.13.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\J\JP\JPRIT\Event-1.13.tar.gz
ok
CPAN.pm: Going to build J/JP/JPRIT/Event-1.13.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Event
cp lib/Event/signal.pm blib\lib\Event\signal.pm
cp lib/Event/generic.pod blib\lib\Event\generic.pod
cp lib/Event/io.pm blib\lib\Event\io.pm
cp lib/Event/generic.pm blib\lib\Event\generic.pm
cp lib/Event/timer.pm blib\lib\Event\timer.pm
cp lib/Event/var.pm blib\lib\Event\var.pm
cp lib/Event/idle.pm blib\lib\Event\idle.pm
cp lib/Event/typemap blib\lib\Event\typemap
cp lib/Event.pm blib\lib\Event.pm
cp lib/Event/EventAPI.h blib\lib\Event\EventAPI.h
cp lib/Event.pod blib\lib\Event.pod
cp lib/Event/group.pm blib\lib\Event\group.pm
cp lib/Event/Watcher.pm blib\lib\Event\Watcher.pm
cp lib/Event/type.pm blib\lib\Event\type.pm
cp lib/Event/MakeMaker.pm blib\lib\Event\MakeMaker.pm
C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp -typemap
C:\strawberry\perl\lib\ExtUtils\typemap -typemap ./lib/Event/typemap Event.xs
> Event.xsc && C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Event.xsc Event.c
gcc -c -Ic -Ilib/Event -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTO
MIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1.13\" -DXS_VERSION=\"1.13\" "-IC:\strawberry\perl\lib\CORE" Event.c
In file included from Event.xs:275:
c/unix.c: In function 'pe_sys_multiplex':
c/unix.c:426: warning: passing argument 3 of '(*Perl_ILIO_ptr((struct PerlInterpreter *)Perl_get_context()))->pFileStat' from incompatible pointer type
c/unix.c:426: note: expected 'struct _stati64 *' but argument is of type 'struct stat *'
Running Mkbootstrap for Event ()
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Event.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Event\", 'DLBASE' => 'Event', 'DL_FUNCS' => { },
'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def Event.def --output-exp dll.exp
g++ -o blib\arch\auto\Event\Event.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Event.o -Wl,--image-base,0x31580000 C:\strawberry\perl\lib\CORE\libperl512.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dlltool --def Event.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Event\Event.dll -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" Event.o -Wl,--image-base,0x31580000 C:\strawberry\perl\lib\CORE\libperl512.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 755 blib\arch\auto\Event\Event.dll
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "cp" -- Event.bs blib\arch\auto\Event\Event.bs
C:\strawberry\perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 blib\arch\auto\Event\Event.bs
JPRIT/Event-1.13.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,'blib\lib', 'blib\arch')" t/*.t
t/attach_to.t ..... ok
t/bored.t ......... ok
t/callback.t ...... ok
t/data.t .......... ok
t/delete.t ........ ok
t/eval.t .......... ok
t/fifo.t .......... ok
t/generic.t ....... ok
t/group.t ......... ok
t/hook.t .......... ok
t/hup.t ........... skipped: (no reason given)
t/idle.t .......... ok
t/io.t ............ skipped: (no reason given)
t/leak.t .......... ok
t/leak2.t ......... ok
t/loop.t .......... ok
t/now.t ........... ok
t/reenter.t ....... skipped: (no reason given)
t/signal.t ........ skipped: (no reason given)
t/timeout_cb.t .... ok
t/timer.t ......... ok
t/unconfigured.t .. ok
t/var.t ........... ok
Test Summary Report
-------------------
t/hup.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
Parse errors: Bad plan. You planned 0 tests but ran 1.
t/io.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
Parse errors: Bad plan. You planned 0 tests but ran 1.
t/reenter.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
Parse errors: Bad plan. You planned 0 tests but ran 1.
t/signal.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
Parse errors: Bad plan. You planned 0 tests but ran 1.
Files=23, Tests=105, 11 wallclock secs ( 0.08 usr + 0.16 sys = 0.24 CPU)
Result: FAIL
Failed 4/23 test programs. 4/105 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
JPRIT/Event-1.13.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports JPRIT/Event-1.13.tar.gz
Running make install
make test had returned bad status, won't install without force
C:\y>