Bug 52558 - Broken check for Boost::Date_Time in configure.in
Summary: Broken check for Boost::Date_Time in configure.in
Status: CLOSED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.6.0.2 rc
Hardware: All other
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-26 19:11 UTC by Francois Tigeot
Modified: 2021-04-21 05:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Tigeot 2012-07-26 19:11:04 UTC
Recent versions of LibreOffice-3.6 (since June 2012) fail to build on some of
my systems. The error message indicates a problem with Boost::Date_time

    checking whether the Boost::Date_Time library is available... yes
    configure: error: Could not find a version of the library!

It turns out Boost::Date_time is in fact perfectly functional and the
configure script reports a non-existing error.

Removing the AX_BOOST_DATE_TIME check from configure.in is enough to make LibreOffice-3.6 start building.
Comment 1 Francois Tigeot 2012-07-26 19:18:09 UTC
I'm using pkgsrc, the configure check fails to "find a version of the library" for both native (in /usr/pkg/lib/) and pkgsrc (in ${WORKDIR}/.buildlink/lib/) builds.

These Boost:DateTime library files are present locally:

/usr/pkg/lib/libboost_date_time.a
/usr/pkg/lib/libboost_date_time.so
/usr/pkg/lib/libboost_date_time.so.1.49.0

${WORKDIR}/.buildlink/lib/libboost_date_time.a
${WORKDIR}/.buildlink/lib/libboost_date_time.so
${WORKDIR}/.buildlink/lib/libboost_date_time.so.1.49.0
Comment 2 David Tardon 2012-07-27 12:35:51 UTC
(In reply to comment #1)
> I'm using pkgsrc, the configure check fails to "find a version of the library"
> for both native (in /usr/pkg/lib/) and pkgsrc (in ${WORKDIR}/.buildlink/lib/)
> builds.
> 
> These Boost:DateTime library files are present locally:
> 
> /usr/pkg/lib/libboost_date_time.a
> /usr/pkg/lib/libboost_date_time.so
> /usr/pkg/lib/libboost_date_time.so.1.49.0

Does ./configure --with-boost-libdir=/usr/pkg/lib work?
Comment 3 Francois Tigeot 2012-07-27 18:04:31 UTC
On Fri, Jul 27, 2012 at 12:35:51PM +0000, bugzilla-daemon@freedesktop.org wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=52558
> 
> David Tardon <dtardon@redhat.com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDINFO
>                  CC|                            |dtardon@redhat.com
>      Ever Confirmed|0                           |1
> 
> --- Comment #2 from David Tardon <dtardon@redhat.com> 2012-07-27 12:35:51 UTC ---
> (In reply to comment #1)
> > 
> > These Boost:DateTime library files are present locally:
> > 
> > /usr/pkg/lib/libboost_date_time.a
> > /usr/pkg/lib/libboost_date_time.so
> > /usr/pkg/lib/libboost_date_time.so.1.49.0
> 
> Does ./configure --with-boost-libdir=/usr/pkg/lib work?

It does, LO has been building for an hour with no sign of failure so far.
Comment 4 David Tardon 2012-07-31 05:07:20 UTC
Okay, so this is just a matter of proper configuration, not a bug.
Comment 5 Virgie Rickard 2021-04-21 02:33:47 UTC Comment hidden (spam)