> Sent: Friday, October 27, 2017 at 9:20 AM > From: "Armin K." <[email protected]> > To: "BLFS Support List" <[email protected]> > Subject: Re: [blfs-support] abiword-3.0.2 fails to build > > On Thu, 2017-10-26 at 22:03 +0200, Teresa Williams wrote: > > I'm compiling abiword-3.0.2 using the SVN version of the book. The > > required and recommended dependencies are installed - including > > enchant-2.1.2 > > > > Compilation fails with three errors all in enchant-checker.cpp (which > > is in the src/af/xap/xp directory) > > > > line 130: 'enchant_dict_free_suggestions' was not declared in this > > scope > > line 142: 'enchant_dict_add_to_personal' was not declared in this > > scope > > line 130: 'enchant_dict_is_in_session' was not declared in this scope > > > > I've searched extensively, including the developers' mailing list > > archive, but I can't find anything relevant reported elsewhere. > > > > A comparison with enchant-1.6.0 (as used in the stable book) reveals > > that these constants are defined in /usr/include/enchant/enchant.h > > but are deprecated. In the equivalent file, version 2.1.2, they are > > omitted. > > > > For now I have reverted to enchant-1.6.0 and abiword built > > sucessfully. > > > > I guess few people build abiword, but this may help any who do. > > > > Teresa > > > > Try > > sed \ > -e "s#enchant_dict_free_suggestions#enchant_dict_free_string_list#g" \ > -e "s#enchant_dict_add_to_personal#enchant_dict_add#g" \ > -e "s#enchant_dict_is_in_session#enchant_dict_is_added#g" \ > -i src/af/xap/xp/enchant-checker.cpp > > Reference: https://github.com/AbiWord/enchant/commit/744a1a19c1d0a5c3e1 > 359fa994cf60a4d98ee12e
Many thanks - that worked well. Teresa -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
