[buildd-tools-devel] Bug#589658: Bug#589658: schroot: configure.ac boost function header issue
Roger Leigh
rleigh at codelibre.net
Sat Aug 7 11:05:02 UTC 2010
tags 589658 + fixed-upstream pending
thanks
On Mon, Jul 19, 2010 at 10:08:39AM -0700, Zach Carter wrote:
> In the fedora build system, the ./configure process fails with this error:
>
> configure: error: libboost_program_options (Boost C++ Libraries) is not installed, but is required by schroot
>
> | boost::program_options::variables_map::variables_map dummy()
>
> At the suggestion of some other fedora developers, I made this change and now it works:
>
> diff --git a/configure.ac b/configure.ac
> index 47d1b80..779a837 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -565,7 +565,7 @@ AC_MSG_CHECKING([for boost::program_options::variables_map in -lboost_program_op
> saved_LIBS="${LIBS}"
> LIBS="${saved_LIBS} -lboost_program_options"
> define([testprog], [AC_LANG_PROGRAM([#include <boost/program_options.hpp>],
> - [boost::program_options::variables_map::variables_map dummy()])])
> + [boost::program_options::variables_map dummy()])])
> AC_LINK_IFELSE(testprog,
> [AC_MSG_RESULT([yes])
> BOOST_LIBS="${BOOST_LIBS} -lboost_program_options"],
Thanks for the patch. It's been applied to the schroot-1.4 branch,
and I'll make a new release with the fix soon. I'll also merge it
onto the master branch.
Thanks,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100807/b0d58b7d/attachment.pgp>
More information about the Buildd-tools-devel
mailing list