Difference between revisions of "Building"

From GnuCash
Jump to: navigation, search
(The "opt-style-install" flag is useless.)
(update configure to reflect better options)
Line 10: Line 10:
 
   ./configure --help
 
   ./configure --help
 
4. run configure
 
4. run configure
   ./configure --enable-error-on-warning --enable-compile-warnings \
+
   ./configure --prefix=/opt/gnucash \
     --enable-ofx --prefix=/opt/gnucash
+
    --enable-debug --enable-doxygen \
 +
    --enable-error-on-warning --enable-compile-warnings \
 +
     [--enable-ofx [...]]
 
5. compile and install
 
5. compile and install
 
   make
 
   make

Revision as of 02:37, 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

Debian

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

libofx-dev
libgtkhtml3.2-dev