Building

From GnuCash
Revision as of 19:45, 11 February 2006 by Tvainika (talk | contribs) (Debian: Add a package that I looked for a long time)
Jump to: navigation, search

Get the latest sources from Subversion and examine the README.svn file for notes on compiling gnucash, and the HACKING file for notes on hacking the code.

Here are the basic steps one might end up taking:

1. change to gnucash directory

 cd gnucash

2. generate the configure script

 ./autogen.sh 

3. look at configure options

 ./configure --help

4. run configure

 ./configure --prefix=/opt/gnucash \
    --enable-debug --enable-doxygen \
    --enable-error-on-warning --enable-compile-warnings \
    [--enable-ofx [...]]

5. compile and install

 make
 make install

6. run

 /opt/gnucash/bin/gnucash

Required Packages

See the README.dependencies file for library dependency notes.

Debian

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

libofx-dev
libgtkhtml3.2-dev
guile-g-wrap (It compiles but doesn't run without this)

Gentoo

Gentoos instructions can be found on Gnucash-svn installation on Gentoo.