build failure

John Ralls jralls at ceridwen.us
Mon May 11 10:26:40 EDT 2015


> On May 11, 2015, at 2:43 AM, Christoph Holtermann <c.holtermann at gmx.de> wrote:
> 
> 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]
> 

Looks like your boost might be too old. 1.56.0 has 
      return (bool) dst_calc_rules_; //if calc_rule is set the tz has dst

for that line. What version do you have?

Regards,
John Ralls




More information about the gnucash-devel mailing list