Re: [GNC-dev] Single User Installation location on Linux

2020-03-05 Thread Geert Janssens
David, I'm interested where you got the recommendation to install into $HOME/.local from ? Perhaps this is a practice used by some distros in specific ? Op donderdag 5 maart 2020 02:47:36 CET schreef David Cousens: > If I create a directory .apps under $HOME then GnuCash installs to it > without

Re: [GNC-dev] Single User Installation location on Linux

2020-03-05 Thread Geert Janssens
I just now read your original reply on the user list. So the recommendation comes from John. We'll have to wait for his answer to see where he got it from then. In addition you suggest there the installation process adds $HOME/.local/bin to the PATH. I don't think it does. There is nothing in t

Re: [GNC-dev] [GNC] QIF file import failed -- but no errors or warnings

2020-03-05 Thread Christopher Lam
FWIW the qif failure when "S" field being empty is now fixed for the next release; and will default to the "Unspecified" account. The internal-transfer duplication is not fixed yet. On Sun, 23 Feb 2020 at 17:10, James Peterson wrote: > Actually that example should be easy. You have three transa

[GNC-dev] Build broken on MacOS

2020-03-05 Thread Jean Laroche
The build seems to be broken on Mac OS. Starting from fresh, new user, sh gtk-osx-setup.sh works jhbuild bootstrap works jhbuild bootstrap-gtk-osx works jhbuild build errors with Loading .env environment variables… jhbuild build: failed to parse /Users/gnucash/Source/jhbuild/modulesets/file:/Use

Re: [GNC-dev] Build broken on MacOS

2020-03-05 Thread Derek Atkins
Did you follow the instructions and set the environment to match yours? I doubt your username is "john"... -derek On Thu, March 5, 2020 1:19 pm, Jean Laroche wrote: > The build seems to be broken on Mac OS. > Starting from fresh, new user, > sh gtk-osx-setup.sh works > jhbuild bootstrap works >

Re: [GNC-dev] Build broken on MacOS

2020-03-05 Thread Jean Laroche
Indeed, my username is not "john". Which instructions are you talking about? I'm following this: https://wiki.gnucash.org/wiki/MacOS/Quartz and I don't see a place where you're supposed to change or modify your username. Beside, last week I was able to run jhbuild build without running into thi

Re: [GNC-dev] Build broken on MacOS

2020-03-05 Thread chris graves
IIRC, the fix is to edit ~/.cache/jhbuild/gnucash.modules and make the following change: https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/modulesets-stable/gtk-osx.modules"/> Chris > On Mar 5, 2020, at 10:34 AM, Derek Atkins wrote: > > Did you follow the instructions and set the environm

Re: [GNC-dev] Build broken on MacOS

2020-03-05 Thread Jean Laroche
I do have this edit in ~/.cache/jhbuild/gnucash.modules, but I see a lot more /Users/john when I grep .cash/jhbuild ... On 3/5/20 10:46 AM, chris graves wrote: IIRC, the fix is to edit ~/.cache/jhbuild/gnucash.modules and make the following change: https://gitlab.gnome.org/GNOME/gtk-osx/r

Re: [GNC-dev] Build broken on MacOS

2020-03-05 Thread Jean Laroche
Found the issue, the same edit needs to be done in ~/.cache/jhbuild/gnucash.modules- Now building proceeds... Where is this edit requirement described in https://wiki.gnucash.org/wiki/MacOS/Quartz ??? Should it not be added there? J On 3/5/20 10:46 AM, chris graves wrote: IIRC, the fix is to

Re: [GNC-dev] Build on MacOS

2020-03-05 Thread John Ralls
Sorry, I pushed a change I shouldn't have. It's fixed and pushed now. Details: There are two include lines in gnucash.modules, one for including the gtk-osx modules from gitlab.gnome.org, the other for including them from my local working repository for when I need to test in GnuCash a change in

Re: [GNC-dev] Build on MacOS

2020-03-05 Thread Jean Laroche
No worries. I fixed the issue manually with the help of others. In jhbuild build, I ran into the libxml2 issue despite the facts that links to python3 and python3-config were present in $PREFIX/bin. To fix this, I Dropped to shell, did pip3.6 install libxml2-python3, returned to build and pre

Re: [GNC-dev] Build broken on MacOS

2020-03-05 Thread Frank H. Ellenberger
Hi Jean, as I watch it the second time, I have just a note: Do not hijack threads. See https://wiki.gnucash.org/wiki/Mailing_Lists#Netiquette In this thread we were discussing 'Single User Installation location on Linux'. Thanks, Frank Am 05.03.20 um 19:19 schrieb Jean Laroche: > The build seem

Re: [GNC-dev] Build broken on MacOS

2020-03-05 Thread Jean Laroche
That was a mistake on my part, I thought I was creating a new thread, but instead hijacked this one! Very sorry about that. Jean On 3/5/20 11:43 AM, Frank H. Ellenberger wrote: Hi Jean, as I watch it the second time, I have just a note: Do not hijack threads. See https://wiki.gnucash.org/wiki/

Re: [GNC-dev] Build on MacOS

2020-03-05 Thread John Ralls
That's because its-tool looks for python and python-config instead of python3 and python3-config so it finds the virtenv python and of course libxml2.py isn't installed there. As I said I usually drop to the shell and create those symlinks then re-run itstool's configure. Your fix installed it i

Re: [GNC-dev] Single User Installation location on Linux

2020-03-05 Thread John Ralls
Can you point me at that recommendation? I don't remember it and all Google is finding for me is https://lists.gnucash.org/pipermail/gnucash-user/2018-May/076971.html where I use $HOME/.local as an e.g. Regards, John Ralls > On Mar 5, 2020, at 12:53 AM, Geert Janssens > wrote: > > I just n

Re: [GNC-dev] Build on MacOS

2020-03-05 Thread Jean Laroche
To clarify John, you create a link python -> python3? (and same for the config)? On 3/5/20 11:54 AM, John Ralls wrote: That's because its-tool looks for python and python-config instead of python3 and python3-config so it finds the virtenv python and of course libxml2.py isn't installed there

Re: [GNC-dev] Build on MacOS

2020-03-05 Thread Geert Janssens
Op donderdag 5 maart 2020 20:54:54 CET schreef John Ralls: > That's because its-tool looks for python and python-config instead of > python3 and python3-config so it finds the virtenv python and of course > libxml2.py isn't installed there. As I said I usually drop to the shell and > create those s

Re: [GNC-dev] Build on MacOS

2020-03-05 Thread Jean Laroche
NOTE: The xmlsec error does not disappear when choosing [6] (wipe and retry). The error is: make[3]: Entering directory '/Users/gnucash/gnucash-stable/build/xmlsec/docs/api' Copying api-docs... /bin/cp: illegal option -- u usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_fil

Re: [GNC-dev] Single User Installation location on Linux

2020-03-05 Thread Geert Janssens
I can't, perhaps David remembers ? Geert [1] https://lists.gnucash.org/pipermail/gnucash-user/2020-March/089602.html Op donderdag 5 maart 2020 20:57:04 CET schreef John Ralls: > Can you point me at that recommendation? I don't remember it and all Google > is finding for me is > https://lists.gnu

Re: [GNC-dev] Build on MacOS

2020-03-05 Thread Jean Laroche
I am now running into this (again): You asked me if I told jhbuild to skip mysql, and the answer is no. Where is the library linked by -lmysqlclient to be found, normally? Jean *** Building libdbi-drivers *** [54/71] make -j 9 make all-recursive make[1]: Entering directory '/Users/gnucash/gnuca

Re: [GNC-dev] Single User Installation location on Linux

2020-03-05 Thread David Cousens
Hi Frank, I agree with the general point of using a directory under $HOME as the installation point. What it is called is really up to the users preference. $HOME/.local/bin seems to be included in PATH by default on Linux Mint. Not sure if that is necessarily the case for other Linux distributio

Re: [GNC-dev] Single User Installation location on Linux

2020-03-05 Thread David Cousens
Geert I had a short discussion about where to install for local use with John when I started updating the wiki a couple of years ago. At that time the user gnucash data files weren't in $HOME/.local/share/gnucash so there was no possible conflict at that time. The $HOME/.local/bin was added to PA

Re: [GNC-dev] Single User Installation location on Linux

2020-03-05 Thread David Cousens
John, These were previous mentionsof $HOME/.local. My emeory of things is getting a bit flawed these days. I don't think it was a rtecommendation as such. The original wiki before I modified it had $HOME/.local as the single user location http://gnucash.1415818.n4.nabble.com/GNC-dev-About-the-

Re: [GNC-dev] Single User Installation location on Linux

2020-03-05 Thread David Cousens
Strange I or someone else must have changed the wiki after the previous discussion. It now has $HOME/opt as a recommended location and points out that it can be any directory the user chooses. David - David Cousens -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-Dev-f1435356.h

Re: [GNC-dev] Build on MacOS

2020-03-05 Thread John Ralls
I thought it was built automagically but it's an optional dependency. With libdbi-modules config line failing to build if all there clients aren't present that's not right. I've pushed a commit that makes them hard dependencies. Regards, John Ralls > On Mar 5, 2020, at 12:25 PM, Jean Laroche

Re: [GNC-dev] Build on MacOS

2020-03-05 Thread John Ralls
> On Mar 5, 2020, at 11:59 AM, Geert Janssens > wrote: > > Op donderdag 5 maart 2020 20:54:54 CET schreef John Ralls: > > That's because its-tool looks for python and python-config instead of > > python3 and python3-config so it finds the virtenv python and of course > > libxml2.py isn't inst