build failure

Derek Atkins warlord at MIT.EDU
Mon May 11 10:26:38 EDT 2015


Christoph Holtermann <c.holtermann at> writes:

> Hello,
> can't make the current gnucash
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../../src/libqof/qof -I../../.. -I../../../../lib/libc -I../../../../src -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -DG_LOG_DOMAIN=\"qof\" -Wall -Wno-unused -Wno-deprecated-register -g -std=gnu++11 -g -MT gnc-timezone.lo -MD -MP -MF .deps/gnc-timezone.Tpo -c ../../../../src/libqof/qof/gnc-timezone.cpp  -fPIC -DPIC -o .libs/gnc-timezone.o
> In file included from /usr/include/boost/date_time/local_time/local_time_types.hpp:18:0,
>                  from /usr/include/boost/date_time/local_time/local_time.hpp:13,
>                  from ../../../../src/libqof/qof/gnc-timezone.hpp:34,
>                  from ../../../../src/libqof/qof/gnc-timezone.cpp:23:
> /usr/include/boost/date_time/local_time/custom_time_zone.hpp: In instantiation of 'bool boost::local_time::custom_time_zone_base<CharT>::has_dst() const [with CharT = char]':
> ../../../../src/libqof/qof/gnc-timezone.cpp:633:1:   required from here
> /usr/include/boost/date_time/local_time/custom_time_zone.hpp:67:30: error: cannot convert 'const boost::shared_ptr<boost::date_time::dst_day_calc_rule<boost::gregorian::date> >' to 'bool' in return
>        return (dst_calc_rules_); //if calc_rule is set the tz has dst
>                               ^
> cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" [enabled by default]

What OS/Distro?  What compiler?

Clearly you're trying to build master (and not the 2.6 maint branch).
Was this intentional?

> regards,
> Christoph Holtermann


       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list