Re: GIT version doesn't build anymore



On 2018.07.24 09:04, Peter Bloomfield wrote:
Jack and Helmut:

On 07/23/2018 04:16:48 PM Mon, Jack via balsa-list wrote:
Hi Peter,

On 2018.07.23 12:57, Peter Bloomfield wrote:
Hi Helmut,

On 07/23/2018 11:19:21 AM Mon, Helmut Jarausch via balsa-list wrote:
Hi,
my last successful build of the GIT version of Balsa was on 2018/07/16

But now I encounter problems.

First, in configure.ac it checks pkg_config enchant-2 which doesn't exist in Gentoo even though enchant-2.1.2 is installed here.
Therefore it checks for  <= enchant-1.6.0 which fails.

Does Gentoo put enchant-2.pc in a separate devel package? That's the file that pkg-config is failing to find.
Remember, Gentoo builds EVERY package from source, there are no sparate -dev or -devel packages. However it seems that Gentoo has not distinguished enchant <2 from >=2 so even for enchant-2, the file is enchant.pc. For me "pkg-config --modversion enchant" returns 2.1.1.

Configure and meson.build have been changed in master so that, when pkg-config fails to find enchant-2.pc, it tries "enchant != 1.6.1" instead of "enchant <= 1.6.0". It's a bit obscure (!) but should work both with distros that provide enchant-2.pc and those like Gentoo that name it enchant.pc.

Writing this from a new meson/ninja build with webkit-gtk 2.20.3, with no apparent problems, but only minimal testing so far. At some point, I'll try configuring with internal spell check - I assume that will test the new enchant checking.

Jack


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]