Re: [GNC] How to install GnuCash from Source for Linux ?

2020-03-04 Thread David Cousens
Thanks Frank

I hadn't caught the implications of the changes of configuration locations
with V3. 

I updated the information in the Building on Linux wiki largely from the 2.6
series with a few up dates when v3 was released. At that time John had been
recommending an installation for single user use under $HOME/.local on
linux. My personal preference and practice is to create a specific directory
under $HOME, $HOME/applications to contain locally built and  installed
applications and install under that. I don't make it hidden so I am aware of
what is in it but that is purely a personal preference. 

With the new configuration locations the contents that are in
/usr/local/share/gnucash in an installation to /usr/local will be put in the
$HOME/.local/share/gnucash along with the user configuration data that
normally resides there.  I just built 3.8 to install in $HOME/.local to
check it out. The installation there runs OK and the configuration and
program data coexist happily  at the moment. AFAIK the installation process
seems to include the executable location $HOME/.local/bin in the PATH
environment variable. I will try installing in another location and see how
it goes.

"make uninstall" only removes the program information from that location and
not the user configuration information because it is manifest driven but it
is certainly not a good practice to mix the program and user configuration
data. A user doing a manual uninstall could easily remove required
configuration data 
 with saved custom reports etc. along with program data.

I'll bring this up on the Dev forum and see if we can get a consensus for a
better location to recommend and then modify the wiki accordingly.

David



-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] How to install GnuCash from Source for Linux ?

2020-03-04 Thread Frank H. Ellenberger
Hi David,

Am 03.03.20 um 23:25 schrieb David Cousens:
> Missed one other point , if you are doing a local install in $HOME/.local 
> you remove the "sudo" from the make install command as it won't need admin
> privileges.

$HOME/.local is a bad idea.
$HOME/.local/share is the folder, where all recent programs store data.
You remember,
https://wiki.gnucash.org/wiki/Configuration_Locations#USER_DATA_HOME

Regards
Frank
___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] How to install GnuCash from Source for Linux ?

2020-03-03 Thread Jimmy R via gnucash-user
Take your time I am in n rush
I understand GNC is different

Th guys in the zoneminder forum have a few scripts but the stranded install
is Ubuntu so Mint is easy for a clean new install but the program is in a
published in a ppa and updating is easy

Thank you very much

Jimmy



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] How to install GnuCash from Source for Linux ?

2020-03-03 Thread David Cousens
Jimmy

Missed one other point , if you are doing a local install in $HOME/.local 
you remove the "sudo" from the make install command as it won't need admin
privileges.

I can work up a script to do th install but it would take a couple of days,
mainly to debug and test it, as I will be busy over the next day or so. 

David Cousens




-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] How to install GnuCash from Source for Linux ?

2020-03-03 Thread David Cousens
Jimmy 

I don't have a script to build GnuCash but I do have a script for intalling the 
dependencies. 
A build script wouldn't be too difficult to setup and could be pretty generic 
for all versions
of GnuCash. I do have scripts for development builds in a development 
environment with various options
on debugging etc but i have never set them up for building the stable version. 
It is pretty simple 

Assume you are starting with an unpacked tarball ina directory gnucash-3.8 for 
system wide install in /usr/localwhich
has the sources in a subdirectory gnucash and are initially located in 
gnucash-3.8 

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=ON ..
make
sudo make install

If you need to do a rebuild for some reason change to the build directory then 
type
rm -rf *   #clears the previous build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_PYTHON=ON ..
make
sudo make install


You could put the commands in a these bash script and then run from the 
gnucash-3.x directory.
 
There are other options to cmake ( see cmake help and the breakout page on the 
build options in the wiki.

If you are doing a local install for a single user you
would substitute "/usr/local" with "$HOME/.local" in the above.

David Cousens


gnucash-development-dependency-setup.sh
Description: application/shellscript
___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] How to install GnuCash from Source for Linux ?

2020-03-03 Thread Jimmy R via gnucash-user
David, by chance do you have a bash script to build gnc 3.8 using Linux Mint
19.3 ?

Thank you

Jimmy



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@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.


Re: [GNC] How to install GnuCash from Source for Linux ?

2020-02-19 Thread David Cousens
There are some .deb installation files that Stephen Butler produced for
Ubuntu 18.04 which should work under LM 19.3 (search the mailing list for
posts re debian should find them)

https://wiki.gnucash.org/wiki/Building_On_Linux  covers building from source
of the most up to date versions.

I currently have 3.8 built on Linux Mint 19.3 runnning with no problems.
Once you get all the dependencies loaded it is generally pretty straight
forward, but then I've been buidling it for ~10 years. 

Pay attention to the relative addressing of the source directory from the
build directory in the cmake command as this is the thing most people new to
building GnuCash have trouble with.

Good luck

David Cousens



-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@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.


[GNC] How to install GnuCash from Source for Linux ?

2020-02-19 Thread Long
I spent a lot of time to read some topic on internet, and i couldn't find
anything "EASY" to help me install GnuCash (Newest version) into my Linux
Mint 19.3.

Ok, if i install it from Software Center, it's older version from GnuCash
webpage, and if i install it from FLATPAK, it's prevent me to use "Ibus" or
"Fcitx".

Why GnuCash doesn't release a .deb or .Appimage for their users ?



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@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.