Bearing in mind that this isn't something I'd use for anything other than local development, and I have done almost no c/c++ since university so there'll be no apologies for this if it hoses your system :)
I've managed to hack this to get compilation, with the following changes:
libgearman/client.cc: ln 602:
I replaced
if (gearman_connection_create(client->universal, host, port) == false)
{
assert(client->error_code() != GEARMAN_SUCCESS);
return client->error_code();
}
with
gearman_connection_create(client->universal, host, port);
and similar for anywhere else the compliation error is thrown.
It seems it's just the checking syntax which is failing, whilst the connection creation itself will succeed.
Bearing in mind that this isn't something I'd use for anything other than local development, and I have done almost no c/c++ since university so there'll be no apologies for this if it hoses your system :)
I've managed to hack this to get compilation, with the following changes:
libgearman/ client. cc: ln 602: connection_ create( client- >universal, host, port) == false) client- >error_ code() != GEARMAN_SUCCESS); >error_ code(); connection_ create( client- >universal, host, port);
I replaced
if (gearman_
{
assert(
return client-
}
with
gearman_
and similar for anywhere else the compliation error is thrown.
It seems it's just the checking syntax which is failing, whilst the connection creation itself will succeed.