lp:~flameeyes/gearmand/gentoo-fixes

Created by Diego Elio Pettenò on 2010-04-08 and last modified on 2010-04-08
Get this branch:
bzr branch lp:~flameeyes/gearmand/gentoo-fixes
Only Diego Elio Pettenò can upload to this branch. If you are Diego Elio Pettenò please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Diego Elio Pettenò
Project:
Gearman
Status:
Development

Recent revisions

352. By Diego Elio Pettenò on 2010-04-08

Fix PostgreSQL queue manager building on Gentoo and other platforms.

When the includes are installed in non-standard positions, and especially
when libpq-fe.h is available without -I directives, but pg_config_manual.h
isn't, you cannot rely on just finding one to get the other.

What you have to do in this case is use the pg_config script shipped with
PostgreSQL to get the right include directory, and use the simple basename
for the include headers.

Also, on modern (glibc-2.10) systems, using simply pg_config_manual.h
without pg_config.h or without adding further checks in configure, the
build will fail with this error:

In file included from libgearman-server/queue_libpq.c:19:
/usr/include/postgresql-8.4/pg_config_manual.h:128:5: error: "HAVE_DECL_POSIX_FADVISE" is not defined
make[1]: *** [libgearman-server/libgearman_server_libgearman_server_la-queue_libpq.lo] Error 1

So include the PostgreSQL headers first thing, undefine package-specific
entries, and proceed.

351. By Brian Aker <brian@gaz> on 2010-04-06

Merge Monty

350. By Brian Aker <brian@gaz> on 2010-04-06

Remove bitmask (these were all just one option).

349. By Brian Aker <brian@gaz> on 2010-04-06

Clean up pidfile.

348. By Brian Aker <brian@gaz> on 2010-04-06

Fix for race condition.

347. By Brian Aker <brian@gaz> on 2010-04-06

Remove fork logic.

346. By Brian Aker <brian@gaz> on 2010-04-06

Fixes timing (yes, it uses sleep).

345. By Brian Aker <brian@gaz> on 2010-04-06

It is now possible to test the server with valgrind.

344. By Brian Aker <brian@gaz> on 2010-04-06

Update to remove additional bitmask from server.

343. By Brian Aker <brian@gaz> on 2010-04-06

Commit for remove options from universal.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:gearmand/1.0
This branch contains Public information 
Everyone can see this information.