Comment 5 for bug 1318151

Revision history for this message
Dave (doc+launchpad) wrote :

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.