Building

From GnuCash
Revision as of 11:30, 10 January 2006 by Martin (talk | contribs)
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

Gentoo

On Gentoo there will be an ebuild available soon. See [Gentoo|Gnucash-svn installation on Gentoo].