Posts Tagged gnucash
gnucash 2.3.3 compile
Ubuntu 9.04
sudo apt-get build-dep gnucash sudo apt-get install libwebkit-dev sudo apt-get install libdbi0-dev sudo apt-get install intltool sudo apt-get install libdbd-pgsql sudo apt-get install libdbd-sqlite3 sudo apt-get install libdbd-mysql wget http://www.gnucash.org/pub/gnucash/sources/unstable/2.3.x/gnucash-2.3.3.tar.bz2 tar -jxvf gnucash-2.3.3.tar.bz2 cd gnucash-2.3.3 ./configure --prefix=/opt/gnucash --enable-dbi --enable-webkit # Once configure is finished run make make install # run gnucash from a command prompt /opt/gnucash/bin/gnucash
If you don’t install the libdbd-* stuff you don’t get an option to save in a different format:
Ubuntu build depency installation command
Posted by james in Linux Tools, Ubuntu on July 7, 2008
If you download and install programs from source on Ubuntu / Debian you may have been through the process of running ./configure, then noting what it complains is missing, then apt-get install missing <package name>, then repeat till you have everything you need.
There is a better way:
apt-get build-dep <package_name>
This will get all the dependencies needed to compile your package – providing that package_name is something that would normally install using a simple apt-get install command.
For example:
If you wanted to download and install the latest version of gnucash from tar.gz. You would run:
apt-get build-dep gnucash
Prior to untarring and configuring the source archive, and the build-dep command would pull in the inumerable build dependencies required.
This tip is taken from the gnucash-users mailing list.
GNUCash Heading Banner Graphic Setup
Posted by james in GNU/Linux, Open Source Apps, Small Business Accounting on March 2, 2008
I have been playing with the correct graphic resolutions to get my GNUCash Fancy Invoice header to print correctly.
I think I have stumbled on the correct settings. This is for a PNG format Heading Banner file.
Using gimp I did the following:

Explanation:
Using the above settings the image we end up with is 1006 x 76 pixels.
We use A4 in Australia which is 210mm wide. So taking about 20mm on each side for margins gives a header width of approx 170mm.
After a fair bit of trial and error I discovered that 150dpi is the right size for printing. When GNUCash is displaying data on screen it is displaying all the pixels in the graphic ignoring the internal size (170mm) so the 150dpi means the graphic will display larger when in gnucash because my monitor isn’t 150dpi but about 90dpi(I think) so it takes a lot of screen to display.
However when you print it to a pdf or print preview it is the correct size on the A4 page.
Versions:
GnuCash 2.2.3
Built 2008-02-16 from r16843
Distributor ID: Ubuntu
Description: Ubuntu hardy (development branch)
Release: 8.04
Codename: hardy
