How to: Install Gnucash 2.0.5 in Mint, Debian and Ubuntu

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

How to: Install Gnucash 2.0.5 in Mint, Debian and Ubuntu

Postby mumbo719 on Sun Feb 25, 2007 1:24 pm

The newest version in Synaptic is 2.0.1, there a number of bugs fixed with the newer versions.

read about the upgrades and fixes here http://www.gnucash.org/

Before we start

Build Gnucash dependencies

Open a terminal window and type/copy the following and hit enter after every command.

Code: Select all
sudo apt-get build-dep gnucash


Code: Select all
sudo apt-get install guile-g-wrap


If you do not have checkinstall get it.
Code: Select all
sudo apt-get install checkinstall


Make a directory to work in and cd into it.
Code: Select all
mkdir gnucash
 cd gnucash


Download gnucash-2.0.5.tar.gz from Sourceforge.net

http://sourceforge.net/project/showfiles.php?group_id=192&package_id=202

Download or move the tar file to the Gnucash directory we created.

Right click on the tar file and choose extract here.

Go back to terminal to change directory

Code: Select all
cd gnucash-2.0.5


Configure the software

Code: Select all
./configure


These next 2 commands take a while, watch a movie and do not close the terminal

Code: Select all
make

Code: Select all
sudo checkinstall


After you type the sudo checkinstall command the terminal will show

The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: Choose Y

Preparing package documentation...OK

Please write a description for the package.
End your description with an empty line or EOF.
>>

Enter "Gnucash-2.0.5 and hit enter 2X"

This Menu will pop up - leave the default values alone – hit enter

*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values:

0 - Maintainer: [ root@family-desktop ]
1 - Summary: [ Gnucash-2.0.5 ]
2 - Name: [ gnucash ]
3 - Version: [ 2.0.5 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ gnucash-2.0.5 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]

Enter a number to change any of them or press ENTER to continue:


Watch another movie or get some dinner, this also takes a while and don't close the terminal.

When finished this message will be displayed in the terminal window.

Done. The new package has been installed and saved to

/home/family/gnucash/gnucash-2.0.5/gnucash_2.0.5-1_i386.deb

You can remove it from your system anytime using:

dpkg -r gnucash


Note: by using checkinstall it is also in synaptic and can be removed from there.

Open Mint Config > Desktop > Menu Layout > office - deselect and reselect the Gnucash icon and close.

Open your office menu and open Gnucash-2.0.5

Happy Bookeeping
Code: Select all
Code: Select all
User avatar
mumbo719
Level 3
Level 3
 
Posts: 144
Joined: Sun Jan 21, 2007 12:07 pm
Location: Tampa Bay, Florida

Linux Mint is funded by ads and donations.
 

Gnucash 2.0.5 in Ubuntu

Postby WindowlessinMtl on Sat Mar 03, 2007 6:01 pm

I followed your instructions but received the following error message:
configure: error: no acceptable C compiler found in $PATH

What does this mean, what compiler do I need and how and where should I put it?
User avatar
WindowlessinMtl
Level 1
Level 1
 
Posts: 4
Joined: Sat Mar 03, 2007 5:56 pm
Location: Montreal, Quebec

Postby mumbo719 on Sun Mar 04, 2007 9:16 am

Did a Google search and found this

http://ubuntuforums.org/showthread.php?t=15009

Most of what works on Ubuntu will work on Mint.
User avatar
mumbo719
Level 3
Level 3
 
Posts: 144
Joined: Sun Jan 21, 2007 12:07 pm
Location: Tampa Bay, Florida

configure error after install build-essential

Postby jandy on Tue Mar 06, 2007 8:27 am

Hi,

Thanks for the tip on GnuCash! I look forward to trying it out.

I'm running into an error on the "./configure" step. I read the link to install build-essential on the ubuntu forum. I did that and eliminated the compiler error.

Now, though, this shows up at the end of the ./configure step:

configure: error: Cannot find ltdl.h -- libtool-devel (or libtool-ltdl-devel) not installed?

Do I need to "sudo apt-get install libtool-ltdl-devel"?

This is my second day on Mint, so hope it's not a dumb question.
User avatar
jandy
Level 1
Level 1
 
Posts: 9
Joined: Tue Mar 06, 2007 8:21 am
Location: Indiana, USA

Re: configure error after install build-essential

Postby mumbo719 on Tue Mar 06, 2007 11:48 am

jandy wrote:Hi,

Thanks for the tip on GnuCash! I look forward to trying it out.

I'm running into an error on the "./configure" step. I read the link to install build-essential on the ubuntu forum. I did that and eliminated the compiler error.

Now, though, this shows up at the end of the ./configure step:

configure: error: Cannot find ltdl.h -- libtool-devel (or libtool-ltdl-devel) not installed?

Do I need to "sudo apt-get install libtool-ltdl-devel"?

This is my second day on Mint, so hope it's not a dumb question.


No such thing as a dumb question :D

Anyway, I haven't come across this on my system. Seems like my dependencies were already met from other programs installed.

I did a Google search and came up with this from the Gnucash wiki.


On Debian, the packages you'll probably need are (among many others):

swig
libgnomeui-dev
libofx-dev
libgsf-1-dev
libgtkhtml3.2-dev (3.6 or 3.8 will also do)

For the 2.0-branch of GnuCash you need additionally:

libgwrapguile-dev OR
guile-g-wrap


The rest can be found here http://wiki.gnucash.org/wiki/Building

You can use the sudo apt-get install to get them or fire up Synaptic to get them.
Please let us know if this works for you.
User avatar
mumbo719
Level 3
Level 3
 
Posts: 144
Joined: Sun Jan 21, 2007 12:07 pm
Location: Tampa Bay, Florida

Gnucash

Postby WindowlessinMtl on Tue Mar 06, 2007 12:55 pm

Thanks mumbo - it appears that I have errors in my build-essential package so I will have to uninstall and reinstall it and then I will try your latest offering.
User avatar
WindowlessinMtl
Level 1
Level 1
 
Posts: 4
Joined: Sat Mar 03, 2007 5:56 pm
Location: Montreal, Quebec

Re: Gnucash

Postby mumbo719 on Tue Mar 06, 2007 4:18 pm

WindowlessinMtl wrote:Thanks mumbo - it appears that I have errors in my build-essential package so I will have to uninstall and reinstall it and then I will try your latest offering.


Hi WindowlessinMtl

Glad I can help. Let us know how this works out.
User avatar
mumbo719
Level 3
Level 3
 
Posts: 144
Joined: Sun Jan 21, 2007 12:07 pm
Location: Tampa Bay, Florida

running 1.8.12

Postby WindowlessinMtl on Mon Mar 12, 2007 2:57 pm

Mumbo,
I went through the process again after reinstalling my build-essential and associated components - but it seems that an earlier version of gnucash (1.8.12) which I had tried to install but never could due to errors, etc. - is now my operating version of gnucash. I remember using the ./configure command, but now I'm not sure if I used the make, instal or checkinstall commands. It's quite possible I didn't because I had my 6 year-old with me at the time, and all he wanted was to play games on the 'puter.
The /.configure command may have used the old gnucash instead of the new one?!?. Should I remove both gnucash directories and start from scratch again?
Thanks,
BJ
p.s. It's not a big deal at the moment, as I will continue to use the 1.8.12 version just to get accustomed to it for now.
User avatar
WindowlessinMtl
Level 1
Level 1
 
Posts: 4
Joined: Sat Mar 03, 2007 5:56 pm
Location: Montreal, Quebec

Re: running 1.8.12

Postby mumbo719 on Mon Mar 12, 2007 3:53 pm

WindowlessinMtl wrote:Mumbo,
I went through the process again after reinstalling my build-essential and associated components - but it seems that an earlier version of gnucash (1.8.12) which I had tried to install but never could due to errors, etc. - is now my operating version of gnucash. I remember using the ./configure command, but now I'm not sure if I used the make, instal or checkinstall commands. It's quite possible I didn't because I had my 6 year-old with me at the time, and all he wanted was to play games on the 'puter.
The /.configure command may have used the old gnucash instead of the new one?!?. Should I remove both gnucash directories and start from scratch again?
Thanks,
BJ
p.s. It's not a big deal at the moment, as I will continue to use the 1.8.12 version just to get accustomed to it for now.


lol, I know what you mean, I have a 6,4 and 1yr old here.

back up your files if you had not already done so and uninstall Gnucash 1.8.12.

Start from the beginning and import your backup.
1.8 is old, what distro do you use?
User avatar
mumbo719
Level 3
Level 3
 
Posts: 144
Joined: Sun Jan 21, 2007 12:07 pm
Location: Tampa Bay, Florida

Gnucash 2.0.5

Postby WindowlessinMtl on Mon Mar 12, 2007 7:25 pm

Mumbo,
To be honest with you, I'm not sure. I had downloaded it from the Gnucash site, and at the time, I was very new to Linux (like 2 days) and when it didn't install properly (so I thought) and I had no idea where it was - I started looking for help, and eventually ended up using your help file.
Again, thanks for your help.
BJ
User avatar
WindowlessinMtl
Level 1
Level 1
 
Posts: 4
Joined: Sat Mar 03, 2007 5:56 pm
Location: Montreal, Quebec

Postby Boo on Sat Apr 14, 2007 8:44 am

Thanks the instructions worked a treat and it didn't take very long.

The only thing was I had to logout and login to get gnucash to show up in mintmenu.

You are my hero. :wink:

Ive been using gnucash for few years now and I love it.
:D
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Postby addr on Sun Apr 29, 2007 10:05 pm

Brilliant stuff...on KDE yet!

I followed your directions and got the whole install using dial-up. Took a while.

My only criticism is semantics in this .
line..

Enter "Gnucash-2.0.5 and hit enter 2X"

This was not clear to me and would perhaps be better as...

Enter "Gnucash-2.0.5" and hit Enter twice

Got it anyway after a couple of mis-steps at this point.

Great job, thanks!

Sandy
addr
Level 1
Level 1
 
Posts: 45
Joined: Thu Apr 26, 2007 2:17 pm
Location: Brandon. Manitoba

Linux Mint is funded by ads and donations.
 

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 12 guests