Difference between revisions of "Building"

From GnuCash
Jump to: navigation, search
(improved link)
(added steps in detail)
Line 1: Line 1:
 
[[Subversion|Get the latest sources from Subversion]] and examine the [http://svn.gnucash.org/trac/file/gnucash/trunk/README.svn README.svn] file for notes on compiling gnucash, and the [http://svn.gnucash.org/trac/file/gnucash/trunk/HACKING HACKING] file for notes on hacking the code.
 
[[Subversion|Get the latest sources from Subversion]] and examine the [http://svn.gnucash.org/trac/file/gnucash/trunk/README.svn README.svn] file for notes on compiling gnucash, and the [http://svn.gnucash.org/trac/file/gnucash/trunk/HACKING 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 --enable-error-on-warning --enable-compile-warnings --enable-ofx --enable-opt-style-install --prefix=/opt/gnucash
 +
5. compile and install
 +
  make
 +
  make install
 +
6. run
 +
  /opt/gnucash/bin/gnucash
  
 
== Debian ==
 
== Debian ==

Revision as of 23:35, 8 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 --enable-error-on-warning --enable-compile-warnings --enable-ofx --enable-opt-style-install --prefix=/opt/gnucash

5. compile and install

 make
 make install

6. run

 /opt/gnucash/bin/gnucash

Debian

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

libofx-dev
libgtkhtml3.2-dev