[GNC] Build From Source Near Impossible

2022-08-10 Thread flywire
Re: https://lists.gnucash.org/pipermail/gnucash-user/2022-July/102045.html
> You're correct that the Python bindings aren't included.

I'd be happy with a non-standard download available that included the
bindings. It wouldn't need gui support.
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Build From Source Near Impossible

2022-08-09 Thread Adrien Monteleone
Yes I did, thanks Chris. I intend to play with that soon. That is an 
interesting approach.


Regards,
Adrien

On 8/9/22 6:49 PM, Christopher Lam wrote:

AdrienM: You may have seen my successful experiment in building on Linux
(or WSL2) using Nix to load the dependencies into a temporary shell for
building. Note this is not considered canon.

https://github.com/christopherlam/gnucash-on-nix



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Build From Source Near Impossible

2022-08-09 Thread Christopher Lam
AdrienM: You may have seen my successful experiment in building on Linux
(or WSL2) using Nix to load the dependencies into a temporary shell for
building. Note this is not considered canon.

https://github.com/christopherlam/gnucash-on-nix

On Wed, 10 Aug 2022 at 04:36, Adrien Monteleone <
adrien.montele...@lusfiber.net> wrote:

> Aha, thanks John. I wonder how much trouble it would be for a user to
> update their compiler or if that is just a mess for the rest of the
> system. (all else being equal, which I'm sure it isn't)
>
> Regards,
> Adrien
>
> On 8/9/22 3:06 PM, John Ralls wrote:
> > Caveat: Check the dependency requirements in README.dependencies for the
> GnuCash version you're trying to build against what a particular OS release
> provides. Pay particular attention to the C++ standard level supported by
> the compiler, Boost, Cmake, and GLib. You can't build GnuCash 4.x on Ubuntu
> 14.04 or 16.04 because the compilers in those releases don't support C++17
> and that's required for GnuCash 4.x and later.
>
>
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Build From Source Near Impossible

2022-08-09 Thread Adrien Monteleone
Aha, thanks John. I wonder how much trouble it would be for a user to 
update their compiler or if that is just a mess for the rest of the 
system. (all else being equal, which I'm sure it isn't)


Regards,
Adrien

On 8/9/22 3:06 PM, John Ralls wrote:

Caveat: Check the dependency requirements in README.dependencies for the 
GnuCash version you're trying to build against what a particular OS release 
provides. Pay particular attention to the C++ standard level supported by the 
compiler, Boost, Cmake, and GLib. You can't build GnuCash 4.x on Ubuntu 14.04 
or 16.04 because the compilers in those releases don't support C++17 and that's 
required for GnuCash 4.x and later.



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Build From Source Near Impossible

2022-08-09 Thread John Ralls
Caveat: Check the dependency requirements in README.dependencies for the 
GnuCash version you're trying to build against what a particular OS release 
provides. Pay particular attention to the C++ standard level supported by the 
compiler, Boost, Cmake, and GLib. You can't build GnuCash 4.x on Ubuntu 14.04 
or 16.04 because the compilers in those releases don't support C++17 and that's 
required for GnuCash 4.x and later.

Regards,
John Ralls

> On Aug 9, 2022, at 11:37 AM, Adrien Monteleone 
>  wrote:
> 
> Seems reasonable to me.
> 
> I'd think the only versions with instructions that are useful are those still 
> supported by Canonical, namely, these LTS releases:
> 
> 14.04 - EOL 4/24 (ESS 4/19)
> 16.04 - EOL 4/26 (ESS 4/21)
> 18.04 - EOL 4/28 (ESS 4/23)
> 20.04 - EOL 4/30 (ESS 4/25)
> 22.04 - EOL 4/32 (ESS 4/27)
> 
> Plus:
> 
> 22.10, 23.04 & 23.10 (and other future non-LTS versions) when they are 
> released and nuances are determined to need special instructions. (with those 
> to be deprecated as they reach EOL)
> 
> Or maybe just only provide instructions for LTS and make a note that non-LTS 
> versions aren't supported for long enough by Canonical to warrant their own 
> documentation.
> 
> Note, the above EOL dates are based on Canonical's ESM (Extended Security 
> Maintenance) available for both Enterprise and Personal Use. (free for the 
> latter) See: https://wiki.ubuntu.com/Releases
> 
> That is 5 years beyond 'standard support'. (indicated as ESS above)
> 
> If the dev team wants to stick with the standard support window, then of 
> course 14.04 & 16.04 can also be dropped.
> 
> Though, 16.04 was a breakpoint with respect to support for physical 32-bit 
> systems. At least some derivatives are still based on 16.04 for that reason. 
> (a recent thread from a user described some difficulty getting a 4.x version 
> to work on an older Linux Lite release.)
> 
> If someone can report their various results & mileage, maybe those older LTS 
> releases can be sent to a sort of 'archive' page along with a note on the 
> last version of GnuCash that could successfully build on them.
> 
> Of course, the recommendation can also be to advise the user to switch to a 
> current distribution still actively supporting 32-bit hardware. 
> (Debian/Devuan & Q4OS at least come to mind, I'm sure Distrowatch can inform 
> concerning others.)
> 
> Regards,
> Adrien
> 
> On 8/9/22 12:49 PM, david whiting wrote:
>> I think we should remove the instructions from
>> https://wiki.gnucash.org/wiki/Building_On_Ubuntu for 21.10. Anyone
>> have any objections to that?
> 
> 
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Build From Source Near Impossible

2022-08-09 Thread Stephen M. Butler

Last build I did was on 21.10 (for 4.10-65-g7e4fcc7af+(2022-04-29)).

Now running 22.04 but haven't built the latest release yet -- may be a 
bit before I do.  Maybe 5.0 will come out first <>.

--Steve

On 8/9/22 11:37, Adrien Monteleone wrote:

Seems reasonable to me.

I'd think the only versions with instructions that are useful are 
those still supported by Canonical, namely, these LTS releases:


14.04 - EOL 4/24 (ESS 4/19)
16.04 - EOL 4/26 (ESS 4/21)
18.04 - EOL 4/28 (ESS 4/23)
20.04 - EOL 4/30 (ESS 4/25)
22.04 - EOL 4/32 (ESS 4/27)

Plus:

22.10, 23.04 & 23.10 (and other future non-LTS versions) when they are 
released and nuances are determined to need special instructions. 
(with those to be deprecated as they reach EOL)


Or maybe just only provide instructions for LTS and make a note that 
non-LTS versions aren't supported for long enough by Canonical to 
warrant their own documentation.


Note, the above EOL dates are based on Canonical's ESM (Extended 
Security Maintenance) available for both Enterprise and Personal Use. 
(free for the latter) See: https://wiki.ubuntu.com/Releases


That is 5 years beyond 'standard support'. (indicated as ESS above)

If the dev team wants to stick with the standard support window, then 
of course 14.04 & 16.04 can also be dropped.


Though, 16.04 was a breakpoint with respect to support for physical 
32-bit systems. At least some derivatives are still based on 16.04 for 
that reason. (a recent thread from a user described some difficulty 
getting a 4.x version to work on an older Linux Lite release.)


If someone can report their various results & mileage, maybe those 
older LTS releases can be sent to a sort of 'archive' page along with 
a note on the last version of GnuCash that could successfully build on 
them.


Of course, the recommendation can also be to advise the user to switch 
to a current distribution still actively supporting 32-bit hardware. 
(Debian/Devuan & Q4OS at least come to mind, I'm sure Distrowatch can 
inform concerning others.)


Regards,
Adrien

On 8/9/22 12:49 PM, david whiting wrote:

I think we should remove the instructions from
https://wiki.gnucash.org/wiki/Building_On_Ubuntu for 21.10. Anyone
have any objections to that?



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
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.butle...@gmail.com
kg...@arrl.net
253-350-0166
---
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Build From Source Near Impossible

2022-08-09 Thread Adrien Monteleone
I'll add that maybe a note should be made for non-LTS (rather than 
provide special instructions) that GnuCash is available to Ubuntu repos 
from upstream Debian Testing that is current as of the Ubuntu release 
date. (or is that the freeze date?)


So conceivably, since Ubuntu releases every 6 months, and GnuCash issues 
point releases every 3, a user on the non-LTS cycle would at most end up 
behind 2 GnuCash releases at any one time, but could be current at each 
OS upgrade. (though I think the packager is a release behind anyway to 
Testing, so maybe make that 1 or 3 GC releases behind respectively - 
still not so terrible.)


Regards,
Adrien

On 8/9/22 1:37 PM, Adrien Monteleone wrote:

Seems reasonable to me.

I'd think the only versions with instructions that are useful are those 
still supported by Canonical, namely, these LTS releases:


14.04 - EOL 4/24 (ESS 4/19)
16.04 - EOL 4/26 (ESS 4/21)
18.04 - EOL 4/28 (ESS 4/23)
20.04 - EOL 4/30 (ESS 4/25)
22.04 - EOL 4/32 (ESS 4/27)

Plus:

22.10, 23.04 & 23.10 (and other future non-LTS versions) when they are 
released and nuances are determined to need special instructions. (with 
those to be deprecated as they reach EOL)


Or maybe just only provide instructions for LTS and make a note that 
non-LTS versions aren't supported for long enough by Canonical to 
warrant their own documentation.


Note, the above EOL dates are based on Canonical's ESM (Extended 
Security Maintenance) available for both Enterprise and Personal Use. 
(free for the latter) See: https://wiki.ubuntu.com/Releases


That is 5 years beyond 'standard support'. (indicated as ESS above)

If the dev team wants to stick with the standard support window, then of 
course 14.04 & 16.04 can also be dropped.


Though, 16.04 was a breakpoint with respect to support for physical 
32-bit systems. At least some derivatives are still based on 16.04 for 
that reason. (a recent thread from a user described some difficulty 
getting a 4.x version to work on an older Linux Lite release.)


If someone can report their various results & mileage, maybe those older 
LTS releases can be sent to a sort of 'archive' page along with a note 
on the last version of GnuCash that could successfully build on them.


Of course, the recommendation can also be to advise the user to switch 
to a current distribution still actively supporting 32-bit hardware. 
(Debian/Devuan & Q4OS at least come to mind, I'm sure Distrowatch can 
inform concerning others.)



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Build From Source Near Impossible

2022-08-09 Thread Adrien Monteleone

Seems reasonable to me.

I'd think the only versions with instructions that are useful are those 
still supported by Canonical, namely, these LTS releases:


14.04 - EOL 4/24 (ESS 4/19)
16.04 - EOL 4/26 (ESS 4/21)
18.04 - EOL 4/28 (ESS 4/23)
20.04 - EOL 4/30 (ESS 4/25)
22.04 - EOL 4/32 (ESS 4/27)

Plus:

22.10, 23.04 & 23.10 (and other future non-LTS versions) when they are 
released and nuances are determined to need special instructions. (with 
those to be deprecated as they reach EOL)


Or maybe just only provide instructions for LTS and make a note that 
non-LTS versions aren't supported for long enough by Canonical to 
warrant their own documentation.


Note, the above EOL dates are based on Canonical's ESM (Extended 
Security Maintenance) available for both Enterprise and Personal Use. 
(free for the latter) See: https://wiki.ubuntu.com/Releases


That is 5 years beyond 'standard support'. (indicated as ESS above)

If the dev team wants to stick with the standard support window, then of 
course 14.04 & 16.04 can also be dropped.


Though, 16.04 was a breakpoint with respect to support for physical 
32-bit systems. At least some derivatives are still based on 16.04 for 
that reason. (a recent thread from a user described some difficulty 
getting a 4.x version to work on an older Linux Lite release.)


If someone can report their various results & mileage, maybe those older 
LTS releases can be sent to a sort of 'archive' page along with a note 
on the last version of GnuCash that could successfully build on them.


Of course, the recommendation can also be to advise the user to switch 
to a current distribution still actively supporting 32-bit hardware. 
(Debian/Devuan & Q4OS at least come to mind, I'm sure Distrowatch can 
inform concerning others.)


Regards,
Adrien

On 8/9/22 12:49 PM, david whiting wrote:

I think we should remove the instructions from
https://wiki.gnucash.org/wiki/Building_On_Ubuntu for 21.10. Anyone
have any objections to that?



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Build From Source Near Impossible

2022-08-09 Thread david whiting
I think we should remove the instructions from
https://wiki.gnucash.org/wiki/Building_On_Ubuntu for 21.10. Anyone
have any objections to that?

David

On Mon, 8 Aug 2022 at 16:26, Adrien Monteleone
 wrote:
>
> Ditto concerning Ubuntu versions.
>
> In my experience so far building on older versions of Ubuntu, you can
> stumble into a nasty nearly un-resolvable dependency hell. It *can* be
> resolved (best I have figured out so far) by pinning lots of packages,
> but that may not always be the best solution for everyone and is more of
> an exercise to determine if it 'can be done at all'. Save for the sheer
> satisfaction of having tackled it, there is little practical value.
> (more than likely, those held packages are used by other apps and you'll
> eventually have problems when you update them)
>
> As I understand, GnuCash supports whatever OS versions their respective
> vendors support. So if you're using anything EOL (even in between
> supported versions) you're on your own. If you can't upgrade to a
> supported OS, a Flatpak is now provided should you also need/want a
> newer GnuCash version than whatever is in your OS repos.
>
> Regards,
> Adrien
>
> On 8/6/22 8:07 AM, Robert Simmons wrote:
> > First of all, Impish is already EOL.
>
>
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



-- 
David Whiting
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Build From Source Near Impossible

2022-08-08 Thread Adrien Monteleone

Ditto concerning Ubuntu versions.

In my experience so far building on older versions of Ubuntu, you can 
stumble into a nasty nearly un-resolvable dependency hell. It *can* be 
resolved (best I have figured out so far) by pinning lots of packages, 
but that may not always be the best solution for everyone and is more of 
an exercise to determine if it 'can be done at all'. Save for the sheer 
satisfaction of having tackled it, there is little practical value. 
(more than likely, those held packages are used by other apps and you'll 
eventually have problems when you update them)


As I understand, GnuCash supports whatever OS versions their respective 
vendors support. So if you're using anything EOL (even in between 
supported versions) you're on your own. If you can't upgrade to a 
supported OS, a Flatpak is now provided should you also need/want a 
newer GnuCash version than whatever is in your OS repos.


Regards,
Adrien

On 8/6/22 8:07 AM, Robert Simmons wrote:

First of all, Impish is already EOL.



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Build From Source Near Impossible

2022-08-06 Thread davidcousens49
Rob 
There were originally breakout pages from the building on Linux for specific
information related to various Linux distributions including one for Ubuntu.
That seems to have now morphed into a general installation page for Ubuntu 
https://wiki.gnucash.org/wiki/Ubuntu and the Ubuntu specific build instructions
seem to have diasappeared completely and what is there is now useless as it
points back to the general build instructions for Linux (they were largely done
on Linux Mint but I tried to make them as generic as possible). I think the
intention was to collect all the Ubuntu related stuff in one point but that
somewhat defeats the point of a breakout page for build stuff specific to a
distribution,

david Cousens

On Sat, 2022-08-06 at 09:07 -0400, Robert Simmons wrote:
> First of all, Impish is already EOL. You will need to use a flavor of 22.04
> LTS for the following. The documentation for how to build GnuCash is
> confusing and not all in one place. The following begins with a fresh
> install of Lubuntu 22.04 LTS. I use Vagrant so that everything is
> deterministically built once I have finished figuring out the correct set
> of steps. But, Vagrant is not a requirement; you don't have to use that.
> The patch used below is the following. Put it in your /tmp directory before
> starting.
> https://pastebin.com/qUmxyyLq
> 
> sudo patch /etc/apt/sources.list /tmp/sources_list.patch
> sudo apt-get build-dep gnucash
> mkdir ~/opt
> wget
> https://github.com/Gnucash/gnucash/releases/download/4.11/gnucash-4.11.tar.gz
> mkdir build-gnucash-4.11
> tar -zxvf gnucash-4.11.tar.gz
> cd build-gnucash-4.11/
> cmake -DWITH_PYTHON=ON -DCMAKE_INSTALL_PREFIX=$HOME/opt ../gnucash-4.11
> make
> make install
> 
> 
> I hope this helps.
> 
> On Sat, Aug 6, 2022 at 7:03 AM crusadeon09 via gnucash-user <
> gnucash-user@gnucash.org> wrote:
> 
> > 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@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.
> > ___
> > gnucash-user mailing list
> > gnucash-user@gnucash.org
> > To update your subscription pr

Re: [GNC] Build From Source Near Impossible

2022-08-06 Thread David H
I either use the Flatpak version which is always updated with the latest
release or I use David Whiting's script to build on Ubuntu (
https://lists.gnucash.org/pipermail/gnucash-user/2021-October/097864.html)
- clones the git repository locally and as a newbie to building on Linux it
was easy to follow and worked like a charm :-)

Cheers David H.

On Sat, 6 Aug 2022 at 21:03, crusadeon09 via gnucash-user <
gnucash-user@gnucash.org> wrote:

> 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@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.
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Build From Source Near Impossible

2022-08-06 Thread Robert Simmons
First of all, Impish is already EOL. You will need to use a flavor of 22.04
LTS for the following. The documentation for how to build GnuCash is
confusing and not all in one place. The following begins with a fresh
install of Lubuntu 22.04 LTS. I use Vagrant so that everything is
deterministically built once I have finished figuring out the correct set
of steps. But, Vagrant is not a requirement; you don't have to use that.
The patch used below is the following. Put it in your /tmp directory before
starting.
https://pastebin.com/qUmxyyLq

sudo patch /etc/apt/sources.list /tmp/sources_list.patch
sudo apt-get build-dep gnucash
mkdir ~/opt
wget
https://github.com/Gnucash/gnucash/releases/download/4.11/gnucash-4.11.tar.gz
mkdir build-gnucash-4.11
tar -zxvf gnucash-4.11.tar.gz
cd build-gnucash-4.11/
cmake -DWITH_PYTHON=ON -DCMAKE_INSTALL_PREFIX=$HOME/opt ../gnucash-4.11
make
make install


I hope this helps.

On Sat, Aug 6, 2022 at 7:03 AM crusadeon09 via gnucash-user <
gnucash-user@gnucash.org> wrote:

> 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@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.
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] Build From Source Near Impossible

2022-08-06 Thread crusadeon09 via gnucash-user
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@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.
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.