Created
December 17, 2009 19:50
-
-
Save wetnun/258977 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ii50-9 (11:40:39) /usr/src/redhat/SOURCES]# cp Gearman-XS-0.7.tar.gz /tmp | |
[root@ii50-9 (11:40:57) /usr/src/redhat/SOURCES]# cd /tmp | |
[root@ii50-9 (11:40:58) /tmp]# tar -xzvf Gearman-XS-0.7.tar.gz | |
Gearman-XS-0.7/ | |
Gearman-XS-0.7/inc/ | |
Gearman-XS-0.7/inc/Module/ | |
Gearman-XS-0.7/inc/Module/Install.pm | |
Gearman-XS-0.7/inc/Module/Install/ | |
Gearman-XS-0.7/inc/Module/Install/AutoInstall.pm | |
Gearman-XS-0.7/inc/Module/Install/Makefile.pm | |
Gearman-XS-0.7/inc/Module/Install/Include.pm | |
Gearman-XS-0.7/inc/Module/Install/Metadata.pm | |
Gearman-XS-0.7/inc/Module/Install/WriteAll.pm | |
Gearman-XS-0.7/inc/Module/Install/Win32.pm | |
Gearman-XS-0.7/inc/Module/Install/Fetch.pm | |
Gearman-XS-0.7/inc/Module/Install/Compiler.pm | |
Gearman-XS-0.7/inc/Module/Install/Base.pm | |
Gearman-XS-0.7/inc/Module/Install/Can.pm | |
Gearman-XS-0.7/inc/Module/AutoInstall.pm | |
Gearman-XS-0.7/Server.xs | |
Gearman-XS-0.7/Changes | |
Gearman-XS-0.7/t/ | |
Gearman-XS-0.7/t/test_worker.pl | |
Gearman-XS-0.7/t/99-perlcritic.t | |
Gearman-XS-0.7/t/02-pod.t | |
Gearman-XS-0.7/t/test_server.pl | |
Gearman-XS-0.7/t/lib/ | |
Gearman-XS-0.7/t/lib/TestLib.pm | |
Gearman-XS-0.7/t/perlcriticrc | |
Gearman-XS-0.7/t/00-use.t | |
Gearman-XS-0.7/t/04-live.t | |
Gearman-XS-0.7/t/05-live-worker.t | |
Gearman-XS-0.7/t/03-basic.t | |
Gearman-XS-0.7/gearman_xs.h | |
Gearman-XS-0.7/MANIFEST | |
Gearman-XS-0.7/typemap | |
Gearman-XS-0.7/lib/ | |
Gearman-XS-0.7/lib/Gearman/ | |
Gearman-XS-0.7/lib/Gearman/XS/ | |
Gearman-XS-0.7/lib/Gearman/XS/Server.pm | |
Gearman-XS-0.7/lib/Gearman/XS/Task.pm | |
Gearman-XS-0.7/lib/Gearman/XS/Job.pm | |
Gearman-XS-0.7/lib/Gearman/XS/Worker.pm | |
Gearman-XS-0.7/lib/Gearman/XS/Client.pm | |
Gearman-XS-0.7/lib/Gearman/XS.pm | |
Gearman-XS-0.7/examples/ | |
Gearman-XS-0.7/examples/reverse_client.pl | |
Gearman-XS-0.7/examples/reverse_worker.pl | |
Gearman-XS-0.7/examples/echo_client.pl | |
Gearman-XS-0.7/examples/echo_worker.pl | |
Gearman-XS-0.7/examples/reverse_client_bg.pl | |
Gearman-XS-0.7/examples/reverse_client_cb.pl | |
Gearman-XS-0.7/XS.xs | |
Gearman-XS-0.7/META.yml | |
Gearman-XS-0.7/Job.xs | |
Gearman-XS-0.7/Client.xs | |
Gearman-XS-0.7/Worker.xs | |
Gearman-XS-0.7/Task.xs | |
Gearman-XS-0.7/Const.xs | |
Gearman-XS-0.7/ppport.h | |
Gearman-XS-0.7/Makefile.PL | |
Gearman-XS-0.7/README | |
[root@ii50-9 (11:41:05) /tmp]# cd Gearman-XS-0.7 | |
[root@ii50-9 (11:41:08) /tmp/Gearman-XS-0.7]# ls | |
Changes Client.xs Const.xs Job.xs MANIFEST META.yml Makefile.PL README Server.xs Task.xs Worker.xs XS.xs examples/ gearman_xs.h inc/ lib/ ppport.h t/ typemap | |
[root@ii50-9 (11:41:08) /tmp/Gearman-XS-0.7]# perl Makefile.PL | |
*** Module::AutoInstall version 1.03 | |
*** Checking for Perl dependencies... | |
[Core Features] | |
- Test::More ...loaded. (0.94) | |
- Storable ...loaded. (2.15) | |
*** Module::AutoInstall configuration finished. | |
Checking if your kit is complete... | |
Looks good | |
Writing Makefile for Gearman::XS | |
[root@ii50-9 (11:41:12) /tmp/Gearman-XS-0.7]# make | |
cp lib/Gearman/XS.pm blib/lib/Gearman/XS.pm | |
cp lib/Gearman/XS/Client.pm blib/lib/Gearman/XS/Client.pm | |
cp lib/Gearman/XS/Job.pm blib/lib/Gearman/XS/Job.pm | |
cp lib/Gearman/XS/Server.pm blib/lib/Gearman/XS/Server.pm | |
cp lib/Gearman/XS/Worker.pm blib/lib/Gearman/XS/Worker.pm | |
cp lib/Gearman/XS/Task.pm blib/lib/Gearman/XS/Task.pm | |
/usr/bin/perl "-Iinc" /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap XS.xs > XS.xsc && mv XS.xsc XS.c | |
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -march=i386 -mcpu=i686 -DVERSION=\"0.7\" -DXS_VERSION=\"0.7\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" XS.c | |
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. | |
/usr/bin/perl "-Iinc" /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Const.xs > Const.xsc && mv Const.xsc Const.c | |
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -march=i386 -mcpu=i686 -DVERSION=\"0.7\" -DXS_VERSION=\"0.7\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" Const.c | |
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. | |
Const.xs: In function 'boot_Gearman__XS__Const': | |
Const.xs:17: warning: ISO C90 forbids mixed declarations and code | |
/usr/bin/perl "-Iinc" /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Client.xs > Client.xsc && mv Client.xsc Client.c | |
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -march=i386 -mcpu=i686 -DVERSION=\"0.7\" -DXS_VERSION=\"0.7\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" Client.c | |
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. | |
/usr/bin/perl "-Iinc" /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Worker.xs > Worker.xsc && mv Worker.xsc Worker.c | |
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -march=i386 -mcpu=i686 -DVERSION=\"0.7\" -DXS_VERSION=\"0.7\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" Worker.c | |
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. | |
/usr/bin/perl "-Iinc" /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Job.xs > Job.xsc && mv Job.xsc Job.c | |
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -march=i386 -mcpu=i686 -DVERSION=\"0.7\" -DXS_VERSION=\"0.7\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" Job.c | |
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. | |
/usr/bin/perl "-Iinc" /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Task.xs > Task.xsc && mv Task.xsc Task.c | |
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -march=i386 -mcpu=i686 -DVERSION=\"0.7\" -DXS_VERSION=\"0.7\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" Task.c | |
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. | |
/usr/bin/perl "-Iinc" /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Server.xs > Server.xsc && mv Server.xsc Server.c | |
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -march=i386 -mcpu=i686 -DVERSION=\"0.7\" -DXS_VERSION=\"0.7\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" Server.c | |
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. | |
Running Mkbootstrap for Gearman::XS () | |
chmod 644 XS.bs | |
rm -f blib/arch/auto/Gearman/XS/XS.so | |
LD_RUN_PATH="/usr/lib" gcc -shared -O2 -g -march=i386 -mcpu=i686 -L/usr/local/lib XS.o Const.o Client.o Worker.o Job.o Task.o Server.o -o blib/arch/auto/Gearman/XS/XS.so \ | |
-lgearman -lgearman-server \ | |
chmod 755 blib/arch/auto/Gearman/XS/XS.so | |
cp XS.bs blib/arch/auto/Gearman/XS/XS.bs | |
chmod 644 blib/arch/auto/Gearman/XS/XS.bs | |
Manifying blib/man3/Gearman::XS::Client.3pm | |
Manifying blib/man3/Gearman::XS.3pm | |
Manifying blib/man3/Gearman::XS::Job.3pm | |
Manifying blib/man3/Gearman::XS::Server.3pm | |
Manifying blib/man3/Gearman::XS::Worker.3pm | |
Manifying blib/man3/Gearman::XS::Task.3pm | |
[root@ii50-9 (11:41:30) /tmp/Gearman-XS-0.7]# make test | |
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t | |
t/00-use............ok 1/6# Testing Gearman::XS 0.7 | |
t/00-use............ok | |
t/02-pod............ok | |
t/03-basic..........ok | |
t/04-live...........ok 1/154test_server PID is 25410 at /tmp/Gearman-XS-0.7/t/lib/TestLib.pm line 14. | |
test_worker PID is 25411 at /tmp/Gearman-XS-0.7/t/lib/TestLib.pm line 31. | |
t/04-live...........NOK 7# Failed test at t/04-live.t line 50. | |
# got: '26' | |
# expected: '0' | |
t/04-live...........NOK 8# Failed test at t/04-live.t line 51. | |
# got: '26' | |
# expected: '0' | |
t/04-live...........NOK 9# Failed test at t/04-live.t line 55. | |
# got: '26' | |
# expected: '0' | |
t/04-live...........NOK 10# Failed test at t/04-live.t line 56. | |
# got: undef | |
# expected: 'od' | |
t/04-live...........NOK 11# Failed test at t/04-live.t line 60. | |
# got: '26' | |
# expected: '0' | |
t/04-live...........NOK 12# Failed test at t/04-live.t line 61. | |
# got: undef | |
# expected: '7' | |
t/04-live...........NOK 13# Failed test at t/04-live.t line 67. | |
# got: '26' | |
# expected: '0' | |
t/04-live...........NOK 14# Failed test at t/04-live.t line 68. | |
# Structures begin differing at: | |
# $got = HASH(0x9260c3c) | |
# $expected = undef | |
t/04-live...........NOK 15# Failed test at t/04-live.t line 71. | |
# got: '26' | |
# expected: '0' | |
t/04-live...........NOK 16# Failed test at t/04-live.t line 72. | |
# got: undef | |
# expected: 'euqinu od' | |
t/04-live...........NOK 17# Failed test at t/04-live.t line 75. | |
# got: '26' | |
# expected: '0' | |
t/04-live...........NOK 18# Failed test at t/04-live.t line 76. | |
# got: undef | |
# expected: 'hgih od' | |
t/04-live...........NOK 19# Failed test at t/04-live.t line 79. | |
# got: '26' | |
# expected: '0' | |
t/04-live...........NOK 20# Failed test at t/04-live.t line 80. | |
# got: undef | |
# expected: 'wol od' | |
t/04-live...........NOK 21# Failed test at t/04-live.t line 84. | |
# got: '26' | |
# expected: '0' | |
Use of uninitialized value in pattern match (m//) at t/04-live.t line 85. | |
t/04-live...........NOK 22# Failed test at t/04-live.t line 85. | |
# undef | |
# doesn't match '(?-xism:H:.+:.+)' | |
t/04-live...........NOK 23# Failed test at t/04-live.t line 88. | |
# got: '26' | |
# expected: '0' | |
Use of uninitialized value in pattern match (m//) at t/04-live.t line 89. | |
t/04-live...........NOK 24# Failed test at t/04-live.t line 89. | |
# undef | |
# doesn't match '(?-xism:H:.+:.+)' | |
t/04-live...........NOK 25# Failed test at t/04-live.t line 92. | |
# got: '26' | |
# expected: '0' | |
Use of uninitialized value in pattern match (m//) at t/04-live.t line 93. | |
t/04-live...........NOK 26# Failed test at t/04-live.t line 93. | |
# undef | |
# doesn't match '(?-xism:H:.+:.+)' | |
t/04-live...........ok 27/154make: *** [test_dynamic] Interrupt | |
^C | |
[root@ii50-9 (11:42:56) /tmp/Gearman-XS-0.7]# make clean | |
rm -f \ | |
core.[0-9] XS.bso \ | |
pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \ | |
Worker.c perl \ | |
tmon.out *.o \ | |
pm_to_blib Client.c \ | |
blibdirs.ts *perl.core \ | |
core.*perl.*.? XS.def \ | |
core.[0-9][0-9][0-9] mon.out \ | |
libXS.def perl.exe \ | |
perlmain.c XS.c \ | |
so_locations XS.exp \ | |
Task.c *.a \ | |
core blib/arch/auto/Gearman/XS/extralibs.all \ | |
core.[0-9][0-9] Server.c \ | |
XS.bs XS.x \ | |
blib/arch/auto/Gearman/XS/extralibs.ld core.[0-9][0-9][0-9][0-9][0-9] \ | |
Makefile.aperl perl \ | |
Job.c Const.c | |
rm -rf \ | |
MANIFEST \ | |
blib | |
mv Makefile Makefile.old > /dev/null 2>&1 | |
[root@ii50-9 (11:43:12) /tmp/Gearman-XS-0.7]# ls | |
Changes Client.xs Const.xs Job.xs META.yml Makefile.PL Makefile.old README Server.xs Task.xs Worker.xs XS.xs examples/ gearman_xs.h inc/ lib/ ppport.h t/ typemap | |
[root@ii50-9 (11:47:54) /tmp/Gearman-XS-0.7]# grep '#include' * | |
Client.xs:#include "gearman_xs.h" | |
Const.xs:#include "gearman_xs.h" | |
Job.xs:#include "gearman_xs.h" | |
Server.xs:#include "gearman_xs.h" | |
Server.xs:#include <libgearman-server/gearmand.h> | |
Task.xs:#include "gearman_xs.h" | |
Worker.xs:#include "gearman_xs.h" | |
XS.xs:#include "gearman_xs.h" | |
gearman_xs.h:#include "EXTERN.h" | |
gearman_xs.h:#include "perl.h" | |
gearman_xs.h:#include "XSUB.h" | |
gearman_xs.h:#include "ppport.h" | |
gearman_xs.h:#include <libgearman/gearman.h> | |
ppport.h: #include "ppport.h" | |
ppport.h: $pp .= qq(#include "$ppport"\n) | |
ppport.h:#include <locale.h> | |
[root@ii50-9 (11:48:03) /tmp/Gearman-XS-0.7]# locate gearmand.h | |
/usr/include/libgearman-server/gearmand.h | |
[root@ii50-9 (11:48:19) /tmp/Gearman-XS-0.7]# locate gearman.h | |
/usr/include/libgearman/gearman.h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment