[GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

[GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Nathan T Alexander
Hi, great app, love it so much.

The version on ubuntu and in debian is 2.6.

What is a trustworthy easy way to install gnucash 3.5 on ubuntu?

--
  Nathan T Alexander
  [hidden email]
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Eric Coates
Hi

On 4th May Stephen Butler posted a mail to the list on how to use his
GnuCash-3.5 package to install GnuCash on Ubuntu 19.04. Having done it,
I can testify that it works - with a slight niggle if you use
AlphaVantage (see my note of 5th May).

It requires the use of the Terminal but all-in-all it's pretty simple to do.

Is that any help?

Regards

Eric
==============================

On 14/05/2019 05:15, Nathan T Alexander wrote:
> Hi, great app, love it so much.
>
> The version on ubuntu and in debian is 2.6.
>
> What is a trustworthy easy way to install gnucash 3.5 on ubuntu?
>
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Colin Law
In reply to this post by Nathan T Alexander
On Tue, 14 May 2019 at 08:22, Nathan T Alexander
<[hidden email]> wrote:
>
> Hi, great app, love it so much.
>
> The version on ubuntu and in debian is 2.6.

Which version of Ubuntu?  The latest Ubuntu has version 3.3.

Colin
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

David Cousens
Nathan,

If you are OK with building and installing software from scratch the GnuCash
wiki page has detailed building instructions
https://wiki.gnucash.org/wiki/Building_On_Linux. Once you have the
dependencies installed it is fairly straightforward.

David Cousens



-----
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
David Cousens
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Nathan T Alexander
In reply to this post by Colin Law
Thanks for replying, Colin

I am using:

:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"

And I happen to use Xubuntu variant, (not sure if that matters)

ok now I am trying to figure out if its going to be easier to compie  my own gnucash as instructed on your website or if I can get the gnucash 3.3 package from another version of ubuntu

Any tips are greatly appreciated

--
  Nathan T Alexander
  [hidden email]

On Tue, May 14, 2019, at 3:36 PM, Colin Law wrote:

> On Tue, 14 May 2019 at 08:22, Nathan T Alexander
> <[hidden email]> wrote:
> >
> > Hi, great app, love it so much.
> >
> > The version on ubuntu and in debian is 2.6.
>
> Which version of Ubuntu?  The latest Ubuntu has version 3.3.
>
> Colin
>
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Nathan T Alexander
OK I tried compiling it myself.

I downloaded the tarball and unzipped it into a /usr/loca/src/build-gnucash:

Then I tried to follow the instructions here: https://wiki.gnucash.org/wiki/Building_On_Linux , so I ran:

n@g:/usr/local/src/build-gnucash-3.5$ sudo cmake -DCMAKE_INSTALL_PREFIX=/usr/local
-- Checking for module 'glib-2.0>=2.40'
--  
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
  common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
  CMakeLists.txt:194 (gnc_pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/usr/local/src/build-gnucash-3.5/CMakeFiles/CMakeOutput.log".
n@g:/usr/local/src/build-gnucash-3.5$


Now I am stuck, how do a learn to read the output of these messages, it is not clear what I am supposed to do? How do I learn this stuff or what do I do?

I just want gnucash to run.

--
  Nathan T Alexander
  [hidden email]

On Fri, May 17, 2019, at 6:17 AM, Nathan T Alexander wrote:

> Thanks for replying, Colin
>
> I am using:
>
> :~$ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=16.04
> DISTRIB_CODENAME=xenial
> DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"
>
> And I happen to use Xubuntu variant, (not sure if that matters)
>
> ok now I am trying to figure out if its going to be easier to compie  
> my own gnucash as instructed on your website or if I can get the
> gnucash 3.3 package from another version of ubuntu
>
> Any tips are greatly appreciated
>
> --
>   Nathan T Alexander
>   [hidden email]
>
> On Tue, May 14, 2019, at 3:36 PM, Colin Law wrote:
> > On Tue, 14 May 2019 at 08:22, Nathan T Alexander
> > <[hidden email]> wrote:
> > >
> > > Hi, great app, love it so much.
> > >
> > > The version on ubuntu and in debian is 2.6.
> >
> > Which version of Ubuntu?  The latest Ubuntu has version 3.3.
> >
> > Colin
> >
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Nathan T Alexander
Hi Colin

I upgraded my operating system to a newer  version of ubuntu. Now I'm on DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"


Tried following the build instructions and got different errors. Couldn't find any help on building.

Searched through gnucash wiki and found https://wiki.gnucash.org/wiki/Debian. Tried to follow the instrucions here but the links to getdeb are all dead.

I still need to install a recent version of gnucash on ubuntu 18.04 lts please help

--
  Nathan T Alexander
  [hidden email]

On Fri, May 17, 2019, at 7:13 AM, Nathan T Alexander wrote:

> OK I tried compiling it myself.
>
> I downloaded the tarball and unzipped it into a /usr/loca/src/build-gnucash:
>
> Then I tried to follow the instructions here:
> https://wiki.gnucash.org/wiki/Building_On_Linux , so I ran:
>
> n@g:/usr/local/src/build-gnucash-3.5$ sudo cmake
> -DCMAKE_INSTALL_PREFIX=/usr/local
> -- Checking for module 'glib-2.0>=2.40'
> --  
> CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367
> (message):
>   A required package was not found
> Call Stack (most recent call first):
>   /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532
> (_pkg_check_modules_internal)
>   common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
>   CMakeLists.txt:194 (gnc_pkg_check_modules)
>
>
> -- Configuring incomplete, errors occurred!
> See also "/usr/local/src/build-gnucash-3.5/CMakeFiles/CMakeOutput.log".
> n@g:/usr/local/src/build-gnucash-3.5$
>
>
> Now I am stuck, how do a learn to read the output of these messages, it
> is not clear what I am supposed to do? How do I learn this stuff or
> what do I do?
>
> I just want gnucash to run.
>
> --
>   Nathan T Alexander
>   [hidden email]
>
> On Fri, May 17, 2019, at 6:17 AM, Nathan T Alexander wrote:
> > Thanks for replying, Colin
> >
> > I am using:
> >
> > :~$ cat /etc/lsb-release
> > DISTRIB_ID=Ubuntu
> > DISTRIB_RELEASE=16.04
> > DISTRIB_CODENAME=xenial
> > DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"
> >
> > And I happen to use Xubuntu variant, (not sure if that matters)
> >
> > ok now I am trying to figure out if its going to be easier to compie  
> > my own gnucash as instructed on your website or if I can get the
> > gnucash 3.3 package from another version of ubuntu
> >
> > Any tips are greatly appreciated
> >
> > --
> >   Nathan T Alexander
> >   [hidden email]
> >
> > On Tue, May 14, 2019, at 3:36 PM, Colin Law wrote:
> > > On Tue, 14 May 2019 at 08:22, Nathan T Alexander
> > > <[hidden email]> wrote:
> > > >
> > > > Hi, great app, love it so much.
> > > >
> > > > The version on ubuntu and in debian is 2.6.
> > >
> > > Which version of Ubuntu?  The latest Ubuntu has version 3.3.
> > >
> > > Colin
> > >
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Stephen M. Butler
In reply to this post by Nathan T Alexander
Nathan,

Others have had success going to my google drive and locating the
download they want.
https://drive.google.com/open?id=1s-E6t-snmQiEFaT_hlWF2KHWrIB_LV2x

There are two folders.  I think you will want the Trusty-Xenial-Bionic
folder.  The other one is for Disco (Ubuntu 19.04)
Within the Trusty.... folder you will find folders for 3.4 and 3.5. 

Pick the folder you want and download the three files inside that folder
(probably to your Downloads folder).  Be sure they are the only files in
your folder that have gnucash in the name and end with .deb.


Uninstall whatever version of Gnucash you currently have:

sudo apt remove gnucash-common python?-gnucash gnucash

do a cleanup of now unused packages:

sudo apt autoremove

Now cd to your download folder and install those three files in one step as:

sudo apt install ./*gnucash*.deb

Let me know how that works.

On 5/17/19 4:17 AM, Nathan T Alexander wrote:

> Thanks for replying, Colin
>
> I am using:
>
> :~$ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=16.04
> DISTRIB_CODENAME=xenial
> DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"
>
> And I happen to use Xubuntu variant, (not sure if that matters)
>
> ok now I am trying to figure out if its going to be easier to compie  my own gnucash as instructed on your website or if I can get the gnucash 3.3 package from another version of ubuntu
>
> Any tips are greatly appreciated
>

--
Stephen M Butler, PMP, PSM
[hidden email]
[hidden email]
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8


_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Stephen M. Butler
In reply to this post by Nathan T Alexander
On 5/17/19 5:13 AM, Nathan T Alexander wrote:

> OK I tried compiling it myself.
>
> I downloaded the tarball and unzipped it into a /usr/loca/src/build-gnucash:
>
> Then I tried to follow the instructions here: https://wiki.gnucash.org/wiki/Building_On_Linux , so I ran:
>
> n@g:/usr/local/src/build-gnucash-3.5$ sudo cmake -DCMAKE_INSTALL_PREFIX=/usr/local
> -- Checking for module 'glib-2.0>=2.40'
> --  
> CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
>   A required package was not found
> Call Stack (most recent call first):
>   /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
>   common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
>   CMakeLists.txt:194 (gnc_pkg_check_modules)
>
>
> -- Configuring incomplete, errors occurred!
> See also "/usr/local/src/build-gnucash-3.5/CMakeFiles/CMakeOutput.log".
> n@g:/usr/local/src/build-gnucash-3.5$
>
>
> Now I am stuck, how do a learn to read the output of these messages, it is not clear what I am supposed to do? How do I learn this stuff or what do I do?
>
> I just want gnucash to run.
>
There are a lot of dependencies that you need to load first.  The
easiest is to run the below script (provided by another user on the list):

#!/bin/bash
clear
# this script was developed to install a basic development environment
# for GnuCash > V3 on a Linux Mint 19 OS
echo "Script to install development environment for GnuCash ~V3.0"
echo ""
echo "Installing build environment:"
echo "   build-essential"
sudo apt install build-essential
echo "   cmake"
sudo apt install cmake
echo "   ninja-build"
sudo apt install ninja-build
echo ""
echo "Installing GnuCash dependencies and development headers:"
echo "   libglib2.0 and dev headers"
sudo apt install libglib2.0 libglib2.0-dev
echo "   libxml2 libxml++2.6-dev libxml2-utils"
sudo apt install libxml2 libxml++2.6-dev libxml2-utils
echo "   libxslt1.1 libxslt1-dev"
sudo apt install libxslt1.1 libxslt1-dev
echo "   libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev"
sudo apt install libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev
echo "   gtk+3.0 libgtk-3-dev"
sudo apt install gtk+3.0 libgtk-3-dev
echo "   zlib1g zlib1g-dev"
sudo apt install zlib1g zlib1g-dev
echo "   guile-2.0 guile-2.0-dev"
sudo apt install guile-2.0 guile-2.0-dev
echo "   swig   3.0 on LM19  2.0 on Lm18?"
sudo apt install swig
echo "   sudo apt-get install libboost-all-dev"
sudo apt-get install libboost-all-dev
echo "   libsecret-1-0 libsecret-1-0-dev"
sudo apt-get install libsecret-1-0 libsecret-1-0-dev
echo " AqBanking Tools"
echo "   aqbanking-tools libaqbanking-dev"
sudo apt-get install aqbanking-tools libaqbanking-dev
echo "   gwenhywfar-tools libgwenhywfar60 libgwenhywfar60-dev"
sudo apt-get install gwenhywfar-tools libgwenhywfar60 libgwenhywfar60-dev
echo "   ktoblzcheck libktoblzcheck1-dev"
sudo apt-get install ktoblzcheck libktoblzcheck1-dev
echo " OFX support"
echo "   libofx libofx-dev"
sudo apt-get install libofx-dev
echo "   xsltproc"
sudo apt-get install xsltproc
echo " Database backend support"
echo "   libdbi1 libdbi-dev libdbd-pgsql libdbd-mysql libdbd-sqlite3"
sudo apt-get install libdbi1 libdbi-dev libdbd-pgsql libdbd-mysql
libdbd-sqlite3
echo " Python support"
sudo apt-get install python3-pytest
echo " Google Test"
sudo apt install googletest

Save the above as:  gnucash-development-depndency-setup.sh

Set the execute bit and run it.

Then be sure to run the build commands in a folder different than the
source folder.  I also think there are special things needed for a
tarball, so I've been using a git clone (still learning about git
myself) instead. 

--Steve

--
Stephen M Butler, PMP, PSM
[hidden email]
[hidden email]
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8


_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Adrien Monteleone-2
Wow, last time I built GC for Xenial I didn’t have to install all of that mess. Was there a major change in dependencies between 3.1 and 3.5?

Regards,
Adrien

> On May 18, 2019, at 11:28 AM, Stephen M. Butler <[hidden email]> wrote:
>
> On 5/17/19 5:13 AM, Nathan T Alexander wrote:
>> OK I tried compiling it myself.
>>
>> I downloaded the tarball and unzipped it into a /usr/loca/src/build-gnucash:
>>
>> Then I tried to follow the instructions here: https://wiki.gnucash.org/wiki/Building_On_Linux , so I ran:
>>
>> n@g:/usr/local/src/build-gnucash-3.5$ sudo cmake -DCMAKE_INSTALL_PREFIX=/usr/local
>> -- Checking for module 'glib-2.0>=2.40'
>> --  
>> CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
>>  A required package was not found
>> Call Stack (most recent call first):
>>  /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
>>  common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
>>  CMakeLists.txt:194 (gnc_pkg_check_modules)
>>
>>
>> -- Configuring incomplete, errors occurred!
>> See also "/usr/local/src/build-gnucash-3.5/CMakeFiles/CMakeOutput.log".
>> n@g:/usr/local/src/build-gnucash-3.5$
>>
>>
>> Now I am stuck, how do a learn to read the output of these messages, it is not clear what I am supposed to do? How do I learn this stuff or what do I do?
>>
>> I just want gnucash to run.
>>
> There are a lot of dependencies that you need to load first.  The
> easiest is to run the below script (provided by another user on the list):
>
> #!/bin/bash
> clear
> # this script was developed to install a basic development environment
> # for GnuCash > V3 on a Linux Mint 19 OS
> echo "Script to install development environment for GnuCash ~V3.0"
> echo ""
> echo "Installing build environment:"
> echo "   build-essential"
> sudo apt install build-essential
> echo "   cmake"
> sudo apt install cmake
> echo "   ninja-build"
> sudo apt install ninja-build
> echo ""
> echo "Installing GnuCash dependencies and development headers:"
> echo "   libglib2.0 and dev headers"
> sudo apt install libglib2.0 libglib2.0-dev
> echo "   libxml2 libxml++2.6-dev libxml2-utils"
> sudo apt install libxml2 libxml++2.6-dev libxml2-utils
> echo "   libxslt1.1 libxslt1-dev"
> sudo apt install libxslt1.1 libxslt1-dev
> echo "   libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev"
> sudo apt install libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev
> echo "   gtk+3.0 libgtk-3-dev"
> sudo apt install gtk+3.0 libgtk-3-dev
> echo "   zlib1g zlib1g-dev"
> sudo apt install zlib1g zlib1g-dev
> echo "   guile-2.0 guile-2.0-dev"
> sudo apt install guile-2.0 guile-2.0-dev
> echo "   swig   3.0 on LM19  2.0 on Lm18?"
> sudo apt install swig
> echo "   sudo apt-get install libboost-all-dev"
> sudo apt-get install libboost-all-dev
> echo "   libsecret-1-0 libsecret-1-0-dev"
> sudo apt-get install libsecret-1-0 libsecret-1-0-dev
> echo " AqBanking Tools"
> echo "   aqbanking-tools libaqbanking-dev"
> sudo apt-get install aqbanking-tools libaqbanking-dev
> echo "   gwenhywfar-tools libgwenhywfar60 libgwenhywfar60-dev"
> sudo apt-get install gwenhywfar-tools libgwenhywfar60 libgwenhywfar60-dev
> echo "   ktoblzcheck libktoblzcheck1-dev"
> sudo apt-get install ktoblzcheck libktoblzcheck1-dev
> echo " OFX support"
> echo "   libofx libofx-dev"
> sudo apt-get install libofx-dev
> echo "   xsltproc"
> sudo apt-get install xsltproc
> echo " Database backend support"
> echo "   libdbi1 libdbi-dev libdbd-pgsql libdbd-mysql libdbd-sqlite3"
> sudo apt-get install libdbi1 libdbi-dev libdbd-pgsql libdbd-mysql
> libdbd-sqlite3
> echo " Python support"
> sudo apt-get install python3-pytest
> echo " Google Test"
> sudo apt install googletest
>
> Save the above as:  gnucash-development-depndency-setup.sh
>
> Set the execute bit and run it.
>
> Then be sure to run the build commands in a folder different than the
> source folder.  I also think there are special things needed for a
> tarball, so I've been using a git clone (still learning about git
> myself) instead.
>
> --Steve
>
> --
> Stephen M Butler, PMP, PSM
> [hidden email]
> [hidden email]
> 253-350-0166
> -------------------------------------------
> GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> 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.


_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

John Ralls-2
Nope. We only change dependencies in a major release, and anyway none of those are new dependencies. Since Ubuntu has a GnuCash3 package already you should be able to install all the dependencies with
  sudo apt-get build-dep gnucash
as explained in https://wiki.gnucash.org/wiki/Building_On_Linux#Building_and_Installing_the_GnuCash_Program.

Regards,
John Ralls

> On May 18, 2019, at 10:56 AM, Adrien Monteleone <[hidden email]> wrote:
>
> Wow, last time I built GC for Xenial I didn’t have to install all of that mess. Was there a major change in dependencies between 3.1 and 3.5?
>
> Regards,
> Adrien
>> On May 18, 2019, at 11:28 AM, Stephen M. Butler <[hidden email]> wrote:
>>
>> On 5/17/19 5:13 AM, Nathan T Alexander wrote:
>>> OK I tried compiling it myself.
>>>
>>> I downloaded the tarball and unzipped it into a /usr/loca/src/build-gnucash:
>>>
>>> Then I tried to follow the instructions here: https://wiki.gnucash.org/wiki/Building_On_Linux , so I ran:
>>>
>>> n@g:/usr/local/src/build-gnucash-3.5$ sudo cmake -DCMAKE_INSTALL_PREFIX=/usr/local
>>> -- Checking for module 'glib-2.0>=2.40'
>>> --  
>>> CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
>>> A required package was not found
>>> Call Stack (most recent call first):
>>> /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
>>> common/cmake_modules/GncFindPkgConfig.cmake:253 (PKG_CHECK_MODULES)
>>> CMakeLists.txt:194 (gnc_pkg_check_modules)
>>>
>>>
>>> -- Configuring incomplete, errors occurred!
>>> See also "/usr/local/src/build-gnucash-3.5/CMakeFiles/CMakeOutput.log".
>>> n@g:/usr/local/src/build-gnucash-3.5$
>>>
>>>
>>> Now I am stuck, how do a learn to read the output of these messages, it is not clear what I am supposed to do? How do I learn this stuff or what do I do?
>>>
>>> I just want gnucash to run.
>>>
>> There are a lot of dependencies that you need to load first.  The
>> easiest is to run the below script (provided by another user on the list):
>>
>> #!/bin/bash
>> clear
>> # this script was developed to install a basic development environment
>> # for GnuCash > V3 on a Linux Mint 19 OS
>> echo "Script to install development environment for GnuCash ~V3.0"
>> echo ""
>> echo "Installing build environment:"
>> echo "   build-essential"
>> sudo apt install build-essential
>> echo "   cmake"
>> sudo apt install cmake
>> echo "   ninja-build"
>> sudo apt install ninja-build
>> echo ""
>> echo "Installing GnuCash dependencies and development headers:"
>> echo "   libglib2.0 and dev headers"
>> sudo apt install libglib2.0 libglib2.0-dev
>> echo "   libxml2 libxml++2.6-dev libxml2-utils"
>> sudo apt install libxml2 libxml++2.6-dev libxml2-utils
>> echo "   libxslt1.1 libxslt1-dev"
>> sudo apt install libxslt1.1 libxslt1-dev
>> echo "   libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev"
>> sudo apt install libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev
>> echo "   gtk+3.0 libgtk-3-dev"
>> sudo apt install gtk+3.0 libgtk-3-dev
>> echo "   zlib1g zlib1g-dev"
>> sudo apt install zlib1g zlib1g-dev
>> echo "   guile-2.0 guile-2.0-dev"
>> sudo apt install guile-2.0 guile-2.0-dev
>> echo "   swig   3.0 on LM19  2.0 on Lm18?"
>> sudo apt install swig
>> echo "   sudo apt-get install libboost-all-dev"
>> sudo apt-get install libboost-all-dev
>> echo "   libsecret-1-0 libsecret-1-0-dev"
>> sudo apt-get install libsecret-1-0 libsecret-1-0-dev
>> echo " AqBanking Tools"
>> echo "   aqbanking-tools libaqbanking-dev"
>> sudo apt-get install aqbanking-tools libaqbanking-dev
>> echo "   gwenhywfar-tools libgwenhywfar60 libgwenhywfar60-dev"
>> sudo apt-get install gwenhywfar-tools libgwenhywfar60 libgwenhywfar60-dev
>> echo "   ktoblzcheck libktoblzcheck1-dev"
>> sudo apt-get install ktoblzcheck libktoblzcheck1-dev
>> echo " OFX support"
>> echo "   libofx libofx-dev"
>> sudo apt-get install libofx-dev
>> echo "   xsltproc"
>> sudo apt-get install xsltproc
>> echo " Database backend support"
>> echo "   libdbi1 libdbi-dev libdbd-pgsql libdbd-mysql libdbd-sqlite3"
>> sudo apt-get install libdbi1 libdbi-dev libdbd-pgsql libdbd-mysql
>> libdbd-sqlite3
>> echo " Python support"
>> sudo apt-get install python3-pytest
>> echo " Google Test"
>> sudo apt install googletest
>>
>> Save the above as:  gnucash-development-depndency-setup.sh
>>
>> Set the execute bit and run it.
>>
>> Then be sure to run the build commands in a folder different than the
>> source folder.  I also think there are special things needed for a
>> tarball, so I've been using a git clone (still learning about git
>> myself) instead.
>>
>> --Steve
>>
>> --
>> Stephen M Butler, PMP, PSM
>> [hidden email]
>> [hidden email]
>> 253-350-0166
>> -------------------------------------------
>> GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>>
>>
>> _______________________________________________
>> gnucash-user mailing list
>> [hidden email]
>> 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.
>
>
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> 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.

_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Tommy Trussell
One small wrinkle MIGHT be that the original poster (Nathan T. Alexander)
is running Ubuntu 16.04 -- from April 2016 -- and although it's an LTS
release and technically continues to be supported by Ubuntu, there may be
some additional touches needed to get a more recent version of GnuCash to
compile on a operating system that old.

P.S.: I hope several of the persons learning the intricacies of building
GnuCash can learn enough to help make .dsc (Debian source package) versions
for various OS revisions, instead of simply distributing the built
packages.  For years we have been relying upon a single Debian volunteer
who packages GnuCash for Debian and he has requested help. In case folks
don't know, Debian packages mostly filter "downstream" to all the
derivative distributions (such as Ubuntu, Mint, etc.) that use the apt
package system.

With an appropriate .dsc package, anyone can use the package building
commands "The Debian Way," which generates the compiled packages locally,
ready to install using the apt package manager.

Furthermore, putting a .dsc and a source tarball into an Ubuntu PPA allows
Ubuntu's build systems to generate the packages for multiple Ubuntu
releases without further intervention, and ANYONE can easily download the
compiled packages from there.


On Sat, May 18, 2019 at 2:14 PM John Ralls <[hidden email]> wrote:

> Nope. We only change dependencies in a major release, and anyway none of
> those are new dependencies. Since Ubuntu has a GnuCash3 package already you
> should be able to install all the dependencies with
>   sudo apt-get build-dep gnucash
> as explained in
> https://wiki.gnucash.org/wiki/Building_On_Linux#Building_and_Installing_the_GnuCash_Program
> .
>
> Regards,
> John Ralls
>
> > On May 18, 2019, at 10:56 AM, Adrien Monteleone <
> [hidden email]> wrote:
> >
> > Wow, last time I built GC for Xenial I didn’t have to install all of
> that mess. Was there a major change in dependencies between 3.1 and 3.5?
> >
> > Regards,
> > Adrien
>
>
> -----
> 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
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

randix
In reply to this post by David Cousens
Once upon a time ago, I successfully installed GnuCash on my Google Pixel
Chromebook using the flathub link...

https://flathub.org/apps/details/org.gnucash.GnuCash
<https://flathub.org/apps/details/org.gnucash.GnuCash>  

It installed version *3.2*.

Question: /Since the current version is not listed in the details on that
link, does anyone know if using that link will install a *more recent
version*???/

Thanks.

Steve



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Stephen M. Butler
In reply to this post by Tommy Trussell
On 5/18/19 9:45 PM, Tommy Trussell wrote:

> One small wrinkle MIGHT be that the original poster (Nathan T. Alexander)
> is running Ubuntu 16.04 -- from April 2016 -- and although it's an LTS
> release and technically continues to be supported by Ubuntu, there may be
> some additional touches needed to get a more recent version of GnuCash to
> compile on a operating system that old.
>
> P.S.: I hope several of the persons learning the intricacies of building
> GnuCash can learn enough to help make .dsc (Debian source package) versions
> for various OS revisions, instead of simply distributing the built
> packages.  For years we have been relying upon a single Debian volunteer
> who packages GnuCash for Debian and he has requested help. In case folks
> don't know, Debian packages mostly filter "downstream" to all the
> derivative distributions (such as Ubuntu, Mint, etc.) that use the apt
> package system.
>
> With an appropriate .dsc package, anyone can use the package building
> commands "The Debian Way," which generates the compiled packages locally,
> ready to install using the apt package manager.
>
> Furthermore, putting a .dsc and a source tarball into an Ubuntu PPA allows
> Ubuntu's build systems to generate the packages for multiple Ubuntu
> releases without further intervention, and ANYONE can easily download the
> compiled packages from there.


Based on this, let me make a general call for anybody who knows how to
package for Launchpad (hosting a PPA).  Please get in touch with me as
that is my long-term goal.  However, I learn slowly and have a bunch of
other projects on my plate (including removing a bunch of trees from my
property this summer).

My goal for this past winter was to learn C++.  I've glanced at the book
twice!!  Somebody more knowledgeable than me willing to hit the ground
running?

--Steve

--
Stephen M Butler, PMP, PSM
[hidden email]
[hidden email]
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8


_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] Trustworthy easy way to install gnucash 3.5 on ubuntu?

Stephen M. Butler
In reply to this post by Nathan T Alexander
On 5/18/19 5:43 AM, Nathan T Alexander wrote:

> Hi Colin
>
> I upgraded my operating system to a newer  version of ubuntu. Now I'm on DISTRIB_CODENAME=bionic
> DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
>
>
> Tried following the build instructions and got different errors. Couldn't find any help on building.
>
> Searched through gnucash wiki and found https://wiki.gnucash.org/wiki/Debian. Tried to follow the instrucions here but the links to getdeb are all dead.
>
> I still need to install a recent version of gnucash on ubuntu 18.04 lts please help
>
Do you want to download a .deb file for 3.4 or 3.5 and install that?  Or
do you want to compile locally on your machine?

Download:

Download the three files for 3.4 from here: 
https://drive.google.com/open?id=1fV_fURy6c77e7gf6S41lTacM7dFyy7VD

Or, Download the three files for 3.5 from here:
https://drive.google.com/open?id=11gjnSIw9E8B8kOJ01DHQuEA83xidbw8E

Those were built on Ubuntu 18.04 for the Trusty distro.  However, they
both worked on my 18.04 Ubuntu laptop.

I suspect that if you already have 3.3 installed, you could get away
with isolating the three files into a folder (perhaps they are the only
'*gnucash*.deb' files in Downloads:

cd to-that-folder

sudo apt install ./*gnucash*.deb


Build own:

I have not built from the tarball.  I'm using a git clone so my mileage
will be different. I would recommend setting up a git clone so you can
always pull the latest set of patches.  Also, you can "checkout" earlier
versions and compile them locally if you have an itch that needs
scratched with one of those.

On my box, under $HOME, I build a directory called "Projects" (I have
way to many projects in there).  Within Projects, I created GnuCash.  At
that point:

cd ~/Projects/GnuCash

git clone https://github.com/Gnucash/gnucash.git

# The above will create a folder "gnucash" within "GnuCash".  Then build a separate build area within GnuCash:

makedir GnCBuild

cd gnucash
git checkout 3.5
cd ../GnCBuild
cmake --yourflags ../gnucash
make
sudo make install

# Note that GnCBuild and gnucash are both sub-folders inside GnuCash folder.

--
Stephen M Butler, PMP, PSM
[hidden email]
[hidden email]
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8


_______________________________________________
gnucash-user mailing list
[hidden email]
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.