[GNC] Compiling 2.6.12
Stephen M. Butler
kg7je at arrl.net
Fri Aug 31 15:05:58 EDT 2018
First -- be sure to cc the user group (gnucash-user at gnucash.org) so that
others can jump in and help.
Second -- I presume you have looked at this page
https://wiki.gnucash.org/wiki/BuildUbuntu16.04
It has the entire list for building on 18.04. I know it says 16.04
but it also works for 18.04
Third -- you are aware that 2.6.19 is available for 18.04 from the
packaged libraries. That would have several bug fixes. In addition,
you could pull down 2.6.21 (as Geert suggested) and get even more fixes.
<<and then, why not jump to 3.2--some fix level? I pulled from the
git library a couple weeks back to get some fixes for 3.2 and am happy.
Sounds like some more fixes were added in the last few days>>
On 08/31/2018 11:07 AM, Paul Schwartz wrote:O
> Very long message
> Package glib-2.0 was not found in the pkg-config search path. Perhaps
> you should add the directory containing `glib-2.0.pc' to the
> PKG_CONFIG_PATH environment variable No package 'glib-2.0' found
> Package gio-2.0 was not found in the pkg-config search path. Perhaps
> you should add the directory containing `gio-2.0.pc' to the
> PKG_CONFIG_PATH environment variable No package 'gio-2.0' found
> Package gthread-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gthread-2.0.pc' to
> the PKG_CONFIG_PATH environment variable No package 'gthread-2.0'
> found Package gobject-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gobject-2.0.pc' to
> the PKG_CONFIG_PATH environment variable No package 'gobject-2.0'
> found Package gmodule-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gmodule-2.0.pc' to
> the PKG_CONFIG_PATH environment variable No package 'gmodule-2.0' found
> configure: error: Library requirements (glib-2.0 >= 2.28 gio-2.0 >=
> 2.25 gthread-2.0 gobject-2.0 gmodule-2.0) not met; consider adjusting
> the PKG_CONFIG_PATH environment variable if your libraries are in a
> nonstandard prefix so pkg-config can find them.
>
> When you installed glib did you remove anything?
>
> Paul
>
There was something funky on my machine and I did have to clean up some
items.
I searched my sent folder and found that gtest and gmock on my system
were very old.
You may need to remove them and then forcibly remove the two folders
/usr/src/gtest and /usr/src/gmock and then add them back:
sudo apt-get install googletest
sudo apt-get install googlemock
sudo apt-get install libgtest-dev
> On Fri, Aug 31, 2018 at 11:48 AM Stephen M. Butler <kg7je at arrl.net
> <mailto:kg7je at arrl.net>> wrote:
>
> On 08/31/2018 10:36 AM, Paul Schwartz wrote:
> > I have been trying to compile 2.6.12 on Ubuntu 18.04. I have not
> been able
> > to get past the recognition of glib-2.0 in configure. I have
> installed
> > glib-2.0 and glib-2.0-dev with apt. I have tried setting
> PKG_CONFIG_PATH
> > to /usr/share before running
> conhttps://wiki.gnucash.org/wiki/BuildUbuntu16.04figure. Nothing
> seems to work. Some
> > suggestions would be appreciated.
> >
> > Paul
> >
> What error messages do you get? I was compiling 3.1 and 3.2 on Ubuntu
> 18.04 and had to load the generic glib and let 18.04 figure out which
> one to install.
>
>
> --
> Stephen M Butler, PMP, PSM
> Stephen.M.Butler51 at gmail.com <mailto:Stephen.M.Butler51 at gmail.com>
> kg7je at arrl.net <mailto:kg7je at arrl.net>
> 253-350-0166
> -------------------------------------------
> GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
--
Stephen M Butler, PMP, PSM
Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
253-350-0166
-------------------------------------------
GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
More information about the gnucash-user
mailing list