[GNC] Build From Source Near Impossible
crusadeon09
crusadeon09 at protonmail.com
Thu Aug 4 23:23:16 EDT 2022
I'm running Ubuntu, 21.10, Impish Indri.
I downloaded the 4.11 tarball, gnucash-4.11.tar.bz2
I followed these directions:
https://wiki.gnucash.org/wiki/Building
https://wiki.gnucash.org/wiki/Build_Tools
https://wiki.gnucash.org/wiki/Building_On_Linux
I tried changing repositories. I ran "sudo apt update" multiple times. The dependencies for 4.11 simply wouldn't install.
(base) chris at chris-B550-AORUS-ELITE:~$ sudo apt-get build-dep gnucash
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgtk-3-dev : Depends: gir1.2-gtk-3.0 (= 3.24.30-1ubuntu1) but 3.24.30-1ubuntu1.1 is to be installed
Depends: libgdk-pixbuf-2.0-dev (>= 2.40.0) but it is not going to be installed or
libgdk-pixbuf2.0-dev (>= 2.40.0) but it is not going to be installed
Depends: libgtk-3-0 (= 3.24.30-1ubuntu1) but 3.24.30-1ubuntu1.1 is to be installed
libpython3.9-dev : Depends: libpython3.9-stdlib (= 3.9.7-2build1) but 3.9.7-2ubuntu0.1 is to be installed
Depends: libpython3.9 (= 3.9.7-2build1) but 3.9.7-2ubuntu0.1 is to be installed
libsepol1-dev : Depends: libsepol1 (= 3.1-1ubuntu2) but 3.1-1ubuntu2.1 is to be installed
libwebkit2gtk-4.0-dev : Depends: libwebkit2gtk-4.0-37 (= 2.34.6-0ubuntu0.21.10.1) but 2.36.3-0ubuntu0.21.10.1 is to be installed
Depends: gir1.2-webkit2-4.0 (= 2.34.6-0ubuntu0.21.10.1) but 2.36.3-0ubuntu0.21.10.1 is to be installed
Depends: libsoup2.4-dev (>= 2.40) but it is not going to be installed
Depends: libjavascriptcoregtk-4.0-dev (= 2.34.6-0ubuntu0.21.10.1) but it is not going to be installed
libxml2-dev : Depends: libxml2 (= 2.9.12+dfsg-4ubuntu0.1) but 2.9.12+dfsg-4ubuntu0.2 is to be installed
python3.9-dev : Depends: python3.9 (= 3.9.7-2build1) but 3.9.7-2ubuntu0.1 is to be installed
Depends: libpython3.9 (= 3.9.7-2build1) but 3.9.7-2ubuntu0.1 is to be installed
E: Unable to correct problems, you have held broken packages.
I tried loading them individually, but the names are just slightly off.
https://wiki.gnucash.org/wiki/Dependencies
Ubuntu sees them differently I guess. https://packages.ubuntu.com/
After a couple of hours of carefully trying to build from source, I give up. Looks like Ubuntu Software Center has 4.11 in a flatpak.
Does anyone have any better instructions? I'd even submit to watching a video at this point.
Sent with [Proton Mail](https://proton.me/) secure email.
More information about the gnucash-user
mailing list