Subject: | 1) 0.12 wont build on new gearman and 2) 0.13 is not available |
1)
Gearman-XS-0.12 $ make
clang -c -I. -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"0.12\" -DXS_VERSION=\"0.12\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" Worker.c
Worker.xs:270:49: error: no member named 'work_job' in 'struct gearman_worker_st'
(void)gearman_worker_grab_job(self, &(self->work_job), &ret);
~~~~ ^
Worker.xs:273:60: error: no member named 'work_job' in 'struct gearman_worker_st'
XPUSHs(sv_2mortal(_bless("Gearman::XS::Job", &(self->work_job))));
~~~~ ^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/embed.h:3327:46: note: expanded from
macro 'sv_2mortal'
#define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a)
^
/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE/pp.h:298:56: note: expanded from
macro 'XPUSHs'
#define XPUSHs(s) STMT_START { EXTEND(sp,1); (*++sp = (s)); } STMT_END
^
2 errors generated.
make: *** [Worker.o] Error 1
2)
cpanm -S Gearman::XS
--> Working on Gearman::XS
Fetching http://www.cpan.org/authors/id/K/KR/KROW/Gearman-XS-0.13.tar.gz ... FAIL
! Download http://www.cpan.org/authors/id/K/KR/KROW/Gearman-XS-0.13.tar.gz failed. Retrying ...
! Download http://www.cpan.org/authors/id/K/KR/KROW/Gearman-XS-0.13.tar.gz failed. Retrying ...
! Download http://www.cpan.org/authors/id/K/KR/KROW/Gearman-XS-0.13.tar.gz failed. Retrying ...
! Failed to download http://www.cpan.org/authors/id/K/KR/KROW/Gearman-XS-0.13.tar.gz
! Failed to fetch distribution Gearman-XS-0.13