- 论坛徽章:
- 0
|
我想尝试一下epoll,但在cpan安装IO::Epoll的时候test出错:- [root@CentOS64 tmp]# /usr/local/perl5.12/bin/cpan IO::Epoll
- Going to read '/root/.cpan/Metadata'
- Database was generated on Tue, 12 Jul 2011 17:27:35 GMT
- Running install for module 'IO::Epoll'
- Running make for B/BR/BRUCEK/IO-Epoll-0.02.tar.gz
- Checksum for /root/.cpan/sources/authors/id/B/BR/BRUCEK/IO-Epoll-0.02.tar.gz ok
- CPAN.pm: Going to build B/BR/BRUCEK/IO-Epoll-0.02.tar.gz
- Checking if your kit is complete...
- Looks good
- Writing Makefile for IO::Epoll
- cp lib/IO/Epoll.pm blib/lib/IO/Epoll.pm
- AutoSplitting blib/lib/IO/Epoll.pm (blib/lib/auto/IO/Epoll)
- /usr/local/perl5.12/bin/perl /usr/local/perl5.12/lib/5.12.3/ExtUtils/xsubpp -typemap /usr/local/perl5.12/lib/5.12.3/ExtUtils/typemap Epoll.xs > Epoll.xsc && mv Epoll.xsc Epoll.c
- Please specify prototyping behavior for Epoll.xs (see perlxs manual)
- cc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/local/perl5.12/lib/5.12.3/x86_64-linux-thread-multi/CORE" Epoll.c
- In file included from Epoll.xs:5:
- ppport.h:231:1: warning: "PERL_UNUSED_DECL" redefined
- In file included from Epoll.xs:2:
- /usr/local/perl5.12/lib/5.12.3/x86_64-linux-thread-multi/CORE/perl.h:308:1: warning: this is the location of the previous definition
- Running Mkbootstrap for IO::Epoll ()
- chmod 644 Epoll.bs
- rm -f blib/arch/auto/IO/Epoll/Epoll.so
- cc -shared -O2 -L/usr/local/lib -fstack-protector Epoll.o -o blib/arch/auto/IO/Epoll/Epoll.so \
- \
-
- chmod 755 blib/arch/auto/IO/Epoll/Epoll.so
- cp Epoll.bs blib/arch/auto/IO/Epoll/Epoll.bs
- chmod 644 blib/arch/auto/IO/Epoll/Epoll.bs
- Manifying blib/man3/IO::Epoll.3
- BRUCEK/IO-Epoll-0.02.tar.gz
- /usr/bin/make -- OK
- Running make test
- PERL_DL_NONLAZY=1 /usr/local/perl5.12/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
- t/IO-Epoll.t ......... Can't load '/root/.cpan/build/IO-Epoll-0.02-KvJKWF/blib/arch/auto/IO/Epoll/Epoll.so' for module IO::Epoll: /root/.cpan/build/IO-Epoll-0.02-KvJKWF/blib/arch/auto/IO/Epoll/Epoll.so: undefined symbol: epoll_pwait at /usr/local/perl5.12/lib/5.12.3/x86_64-linux-thread-multi/DynaLoader.pm line 200.
- at t/IO-Epoll.t line 13
- Compilation failed in require at t/IO-Epoll.t line 13.
- BEGIN failed--compilation aborted at t/IO-Epoll.t line 13.
- t/IO-Epoll.t ......... Dubious, test returned 2 (wstat 512, 0x200)
- Failed 9/9 subtests
- t/IO-Poll-compat.t ... Can't load '/root/.cpan/build/IO-Epoll-0.02-KvJKWF/blib/arch/auto/IO/Epoll/Epoll.so' for module IO::Epoll: /root/.cpan/build/IO-Epoll-0.02-KvJKWF/blib/arch/auto/IO/Epoll/Epoll.so: undefined symbol: epoll_pwait at /usr/local/perl5.12/lib/5.12.3/x86_64-linux-thread-multi/DynaLoader.pm line 200.
- at t/IO-Poll-compat.t line 23
- Compilation failed in require at t/IO-Poll-compat.t line 23.
- BEGIN failed--compilation aborted at t/IO-Poll-compat.t line 23.
- t/IO-Poll-compat.t ... Dubious, test returned 2 (wstat 512, 0x200)
- No subtests run
- t/IO-Ppoll-compat.t .. Can't load '/root/.cpan/build/IO-Epoll-0.02-KvJKWF/blib/arch/auto/IO/Epoll/Epoll.so' for module IO::Epoll: /root/.cpan/build/IO-Epoll-0.02-KvJKWF/blib/arch/auto/IO/Epoll/Epoll.so: undefined symbol: epoll_pwait at /usr/local/perl5.12/lib/5.12.3/x86_64-linux-thread-multi/DynaLoader.pm line 200.
- at t/IO-Ppoll-compat.t line 7
- Compilation failed in require at t/IO-Ppoll-compat.t line 7.
- BEGIN failed--compilation aborted at t/IO-Ppoll-compat.t line 7.
- # Looks like your test exited with 2 before it could output anything.
- t/IO-Ppoll-compat.t .. Dubious, test returned 2 (wstat 512, 0x200)
- Failed 10/10 subtests
- Test Summary Report
- -------------------
- t/IO-Epoll.t (Wstat: 512 Tests: 0 Failed: 0)
- Non-zero exit status: 2
- Parse errors: Bad plan. You planned 9 tests but ran 0.
- t/IO-Poll-compat.t (Wstat: 512 Tests: 0 Failed: 0)
- Non-zero exit status: 2
- Parse errors: No plan found in TAP output
- t/IO-Ppoll-compat.t (Wstat: 512 Tests: 0 Failed: 0)
- Non-zero exit status: 2
- Parse errors: Bad plan. You planned 10 tests but ran 0.
- Files=3, Tests=0, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.07 cusr 0.00 csys = 0.09 CPU)
- Result: FAIL
- Failed 3/3 test programs. 0/0 subtests failed.
- make: *** [test_dynamic] Error 2
- BRUCEK/IO-Epoll-0.02.tar.gz
- /usr/bin/make test -- NOT OK
- //hint// to see the cpan-testers results for installing this module, try:
- reports BRUCEK/IO-Epoll-0.02.tar.gz
- Running make install
- make test had returned bad status, won't install without force
复制代码 |
|