Re: Building LibreOffice on Debian sid (libboost1.54-date-time >= 1.54.0-4)
Hi Lionel,
On Thu, Jan 30, 2014 at 07:32:36AM +0100, Lionel Elie Mamane wrote:
> since my ./autogen.sh is failing with:
>
> 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!
>
> because ./configure (from m4/ax_boost_date_time.m4) goes to look for
> libboost_date_time*.so in /usr/lib, but it is in
> /usr/lib/x86_64-linux-gnu/
>
> I don't see any patch for that in the Debian LibreOffice package git
> repository, and the relevant parts of configure.ac, and m4/* haven't
There is none :)
But:
rene@frodo:~/Debian/Pakete/LibreOffice/libreoffice-4.1.4~rc2$ grep boost debian/rules
SYSTEM_STUFF += boost
ifneq (,$(filter boost, $(SYSTEM_STUFF)))
BUILD_DEPS += , libboost-dev (>= 1.34.1-15), libboost-date-time-dev (>= 1.34.1-15)
BUILD_DEPS += , libboost-dev, libboost-date-time-dev
BUILD_DEPS += , libboost$(BOOST_VERSION)-dev $(BOOST_MINVER), libboost-date-time$(BOOST_VERSION)-dev $(BOOST_MINVER)
#BUILD_DEPS += , libboost-thread$(BOOST_VERSION)-dev, libboost-program-options$(BOOST_VERSION)-dev
BUILD_DEPS += , libboost-system$(BOOST_VERSION)-dev $(BOOST_MINVER)
BUILD_DEPS += , libboost-dev $(BOOST_MINVER), libboost-date-time-dev $(BOOST_MINVER)
#BUILD_DEPS += , libboost-thread-dev, libboost-program-options-dev
BUILD_DEPS += , libboost-system-dev $(BOOST_MINVER)
ifeq "$(shell if [ -e /usr/lib/$(DEB_HOST_MULTIARCH)/libboost_date_time.so ]; then echo true; fi)" "true"
CONFIGURE_FLAGS += --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
The last one is the key. boosts m4 honours it apparently.
Regards,
Rene
Reply to: