Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2015 15:47:39 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Omar S <omars1234@gmail.com>, office@freebsd.org
Subject:   Re: libreoffice configure fails on not using LOCALBASE for boost args
Message-ID:  <5609995B.9030003@FreeBSD.org>
In-Reply-To: <CA%2B%2BoXvRgbp-vLsUvMXCe0FOwL_pB9-NNp0Pf-enDiNFqgCf1HA@mail.gmail.com>
References:  <CA%2B%2BoXvRgbp-vLsUvMXCe0FOwL_pB9-NNp0Pf-enDiNFqgCf1HA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 09/26/2015 13:35, Omar S wrote:
> Hi,
> 
> libreoffice 5.0.2 port is failing on configure apparently because
> it's not using $LOCALBASE for the Boost lib and include paths
> (though it's using LOCALBASE correctly elsewhere).
> 
> It fails like so: checking which boost to use... external checking
> for boostlib >= 1.47... yes checking whether the Boost::Date_Time
> library is available... yes configure: error: Could not find a
> version of the library! ===>  Script "configure" failed
> unexpectedly.
> 
> Config.log is not attached. The build process error message does
> say to include it, but the list's current 200Kb message limit makes
> that difficult. Anyway, I strongly suspect it's these two lines: 
> BOOST_CPPFLAGS='-I/usr/local/include' 
> BOOST_LDFLAGS='-L/usr/local/lib'
> 
> (since boost is installed in /usr/pkg, like all of my ports)
> 
> Current ports tree,  freebsd 10.2-releng. This is the Makefile
> version from the port: # $FreeBSD:
> head/editors/libreoffice/Makefile 397662 2015-09-23 21:06:12Z jkim
> $

Honestly, I haven't tried to build LOCALBASE != /usr/local case.  You
can try the following patch for this particular error but I am afraid
you may encounter more errors like this.

Index: editors/libreoffice/Makefile
===================================================================
- --- editors/libreoffice/Makefile	(revision 398125)
+++ editors/libreoffice/Makefile	(working copy)
@@ -227,6 +227,7 @@ CONFIGURE_ARGS=	--disable-dependency-tracking \
 		--enable-release-build \
 		--exec-prefix=${PREFIX} \
 		--with-alloc=system \
+		--with-boost=${LOCALBASE} \
 		--with-build-version="FreeBSD ports ${PKGVERSION}" \
 		--with-external-dict-dir=${LOCALBASE}/share/hunspell \
 		--with-external-hyph-dir=${LOCALBASE}/share/hyphen \

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWCZlWAAoJEHyflib82/FGoZUH/01lXXwDNpM3l9VzGaO3AT0R
icdIgyUxv8aR62H/9GP69qIsnW+qq6HA400O2Nr33AuFezaej9fxSFA71Dqlyia4
YwRi30kzBt0Lv45UdP+EMXGBeDuejGpUi3FVsWmRjvNzQh+wZ9DYSADmJCVGU38n
B8QG4uAJnMvcIhjHXV1K3mL/XcErB6Ed7vcWJz1LFCXsIuaUKo13xVkKWpSaE0Bd
oaChtctzQYuFSq4MnYDEvoN/yrYu2gDh2EDN9KiArnmnnYeMxVRCbcU6gVzS5H5x
dvMELsIDpbWGPcFZKtX2VaRGEIt9tYAf4jR6lLO+v8hKdOyw1KUmYeiQoteIbBY=
=CtCH
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5609995B.9030003>