anarres: (pic#456045)anarres ([personal profile] anarres) wrote in [site community profile] dw_dev_training,
@ 2010-07-08 12:48 pm UTC
Entry tags:dreamhacks, gearman
Has anyone got any hints on getting Gearman working on a Dreamhack? I keep getting this: '[Error: Unable to get gearman client. @ hack.dreamwidth.net]'


(Read 25 comments) - (Post a new comment)
(Flat) (Top-level comments only)

anarres: (pic#456045)


[personal profile] anarres
2010-07-09 12:39 pm UTC (link)
Thanks! I copied gearmand into ~/dw/bin and attempted to do all this:

$ perl Makefile.PL
$ make
$ make test
$ make install

But I got this:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/local/bin'
Do not have write permissions on '/usr/local/bin'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

so I had a look and there is a /usr/local/bin/gearmand, but clearly this isn't the *right* gearmand for it to look at, I want it to look at the one in ~/dw/bin instead..

(Reply to this)  (Thread


anarres: (pic#456045)


[personal profile] anarres
2010-07-09 12:52 pm UTC (link)
Hmm, the error message I get has changed, from 'Unable to get gearman client'to 'Unable to insert Gearman job.'

(Reply to this)  (Thread from start)  (Parent)  (Thread


anarres: (pic#456045)


[personal profile] anarres
2010-07-09 01:01 pm UTC (link)
Oh hang on, I think that error might be due to the script I'm running and not due to Gearman itself.

(Reply to this)  (Thread from start)  (Parent


alierak: (default)


[personal profile] alierak
2010-07-09 01:27 pm UTC (link)
Yeah, there was an option to tell it where to install, the default location being /usr/local/ - I think this is what I did:

perl Makefile.PL PREFIX=$HOME/dw

(Reply to this)  (Thread from start)  (Parent



(Read 25 comments) - (Post a new comment)
(Flat) (Top-level comments only)