Build fails with non-standard boost location
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
Fix Released
|
Low
|
Brian Aker |
Bug Description
Hi,
I'm trying to build gearmand-0.28 with a non-standard location for boost on Debian 6. (No boost libraries are installed with the package manager). It is boost 1.48 and I can supply the commands used to build it if necessary for you to replicate the problem.
I can successfully run the configure script with the --with-boost option and the configure script detects the headers/libraries. However, when running make I get numerous build errors relating to being unable to find the boost header files and libraries. I have traced this to the non standard locations not being passed on the command line.
I have spent the afternoon faffing with the include.am files to get it to a point where it builds (patch below), but I really don't know what I'm doing with automake, so it's not a fix. However, it should give you a clue as to what needs fixing.
Thanks,
Kevin
diff -rupN gearmand-
--- gearmand-
+++ gearmand-
@@ -30,8 +30,9 @@ benchmark_
-benchmark_
+benchmark_
benchmark_
+ $(BOOST_
$
benchmark
libgearma
diff -rupN gearmand-
--- gearmand-
+++ gearmand-
@@ -12,6 +12,7 @@
# All paths should be given relative to the root
EXAMPLES_LDADD= \
+ $(BOOST_
$(BOOST_
libgearman/
diff -rupN gearmand-
--- gearmand-
+++ gearmand-
@@ -23,7 +23,7 @@ gearmand_
gearmand_
-gearmand_
+gearmand_
gearmand_
diff -rupN gearmand-
--- gearmand-
+++ gearmand-
@@ -81,6 +81,7 @@ libgearman_
libgearman_
libgearman_
+libgearman_
libgearman_
libgearman_
libgearman_
diff -rupN gearmand-
--- gearmand-
+++ gearmand-
@@ -33,6 +33,7 @@ tests_libstartw
tests_
tests_
tests_
+tests_
tests_
tests_
tests_
diff -rupN gearmand-
--- gearmand-
+++ gearmand-
@@ -5,6 +5,8 @@ LIBGEARMAN_
+tests_
+
tests_
Changed in gearmand: | |
assignee: | nobody → Brian Aker (brianaker) |
Changed in gearmand: | |
milestone: | none → 0.29 |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in gearmand: | |
status: | In Progress → Fix Committed |
Changed in gearmand: | |
status: | Fix Committed → Fix Released |
Can confirm this now builds in our environment