[GNC] Compiling 2.6.12

Geert Janssens geert.gnucash at kobaltwit.be
Tue Sep 4 01:57:46 EDT 2018


Op maandag 3 september 2018 22:41:50 CEST schreef Paul Schwartz:
> Thanks for the suggestion. I have been working through ./configure adding
> new packages as it complains [including -dev ones]. I have now hit this
> 
> checking for webkit-1.0 >= "1.2"... no
> Package webkit-1.0 was not found in the pkg-config search path. Perhaps you
> should add the directory containing `webkit-1.0.pc' to the PKG_CONFIG_PATH
> environment variable No package 'webkit-1.0' found
> configure: error: Library requirements (webkit-1.0 >= "1.2") not met;
> consider adjusting the PKG_CONFIG_PATH environment variable if your
> libraries are in a nonstandard prefix so pkg-config can find them.
> 
> There is a libwebkitgtk-1.0 installed in my system. My package manager
> doesn't show webkit-1.0 and a web search didn't show anything promising.
> Looking for more help.
> 
As with the previous ones the problem is that while libwebkitgtk-1.0 is 
installed the corresponding -dev package is not. For building you also need 
the -dev package. Unfortunately Ubuntu (and probably debian as well) uses a 
naming scheme for the -dev package that's not simply <original-package>-dev.

As Ubuntu is not my primary system I don't know the proper commands on that OS 
to figure it out directly.

So what I do instead is go to https://packages.ubuntu.com/ and use that site 
to find which package provides the missing *.pc file the build system 
complains about ("webkit-1.0.pc), and then install the missing package. This 
has worked for my answer to you previous questions. I'll make it an exercise 
for the reader to try it for the currently missing package :)

Regards,

Geert




More information about the gnucash-user mailing list