← Back to team overview

linux-traipu team mailing list archive

[Bug 992758] Re: libgearman in ubuntu precise

 

For proper working, File plugin/gearman_udf/function_map.cc must have
include <libgearman/client.h>

But from precise version , such file doesnot exist in /usr/include/
directory.

In older version , there is a generic file <libgearman/gearman.h> which includes all remaining header files like <libgearman/client.h>
So it include it automatically.

In newer version , /usr/include/libgearman/ has only a <libgearman.h> ,
which include <libgearman-0.1/libgearman.h>

And <libgearman-0.1/libgearman.h> includes all the remaining header
files like <libgearman-0.1/client.h>

So in both case , by including <libgearman/libgearman.h> solves our
problem.

I hope you get my point.

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/992758

Title:
  libgearman in ubuntu precise

Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
  Confirmed

Bug description:
  Build failed on ubuntu 12.04 (Precise) with error message :
  plugin/gearman_udf/function_map.cc:17:31: fatal error: libgearman/client.h: No such file or directory

  Reason:

  ubuntu < 12.04 have libgearman 0.1x , while installing libgearman from apt-get it create directory /usr/include/libgearman/
  which have all header files.

  But ubuntu 12.04 have libgearman 0.2x , and it create two directory libgearman and libgearman-0.1. 
  libgearman-0.1 have all header files. while libgearman has only gearman.h which redirects to libgearman/gearman.h.

To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/992758/+subscriptions


References