Difference between revisions of "Building"

From GnuCash
Jump to: navigation, search
(update configure to reflect better options)
(add README.dependencies note/link)
Line 21: Line 21:
  
 
== Required Packages ==
 
== Required Packages ==
 +
See the [http://svn.gnucash.org/trac/file/gnucash/trunk/README.dependencies README.dependencies] file for library dependency notes.
 +
 
=== Debian ===
 
=== Debian ===
  

Revision as of 02:38, 10 January 2006

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