[613c524f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[613c524f] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY gnucash-download-http "http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-&gnucash-version;.tar.gz">
|
---|
| 8 | <!ENTITY gnucash-download-ftp "ftp://ftp.at.gnucash.org/pub/gnucash/gnucash/sources/stable/gnucash-&gnucash-version;.tar.gz">
|
---|
[7aeaa620] | 9 | <!ENTITY gnucash-src-md5sum "81e7c703db56bb203e106664157779cc">
|
---|
| 10 | <!ENTITY gnucash-size "8.2 MB">
|
---|
| 11 | <!ENTITY gnucash-buildsize "123 MB (additional 22 MB for Help documentation)">
|
---|
| 12 | <!ENTITY gnucash-time "3.2 SBU (additional 0.3 SBU to run the test suite)">
|
---|
[852298f7] | 13 | <!ENTITY gnucash-docs-version "1.8.5">
|
---|
| 14 | <!ENTITY gnucash-docs-download "http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-docs-&gnucash-docs-version;.tar.gz">
|
---|
[7aeaa620] | 15 | <!ENTITY gnucash-docs-md5sum "9758d8e523530c2509912761e327a9d5">
|
---|
[613c524f] | 16 | ]>
|
---|
| 17 |
|
---|
[5afbfa23] | 18 | <sect1 id="gnucash" xreflabel="GnuCash-&gnucash-version;">
|
---|
[72b5adb] | 19 | <?dbhtml filename="gnucash.html" ?>
|
---|
| 20 |
|
---|
| 21 | <sect1info>
|
---|
| 22 | <othername>$LastChangedBy$</othername>
|
---|
| 23 | <date>$Date$</date>
|
---|
[d1f23e0] | 24 | <keywordset>
|
---|
| 25 | <keyword role="package">gnucash-&gnucash-version;.tar</keyword>
|
---|
[b4647e21] | 26 | <keyword role="ftpdir">gnucash</keyword>
|
---|
[d1f23e0] | 27 | </keywordset>
|
---|
[72b5adb] | 28 | </sect1info>
|
---|
| 29 |
|
---|
| 30 | <title>GnuCash-&gnucash-version;</title>
|
---|
| 31 |
|
---|
| 32 | <indexterm zone="gnucash">
|
---|
| 33 | <primary sortas="a-GnuCash">GnuCash</primary>
|
---|
| 34 | </indexterm>
|
---|
| 35 |
|
---|
| 36 | <sect2 role="package">
|
---|
| 37 | <title>Introduction to GnuCash</title>
|
---|
| 38 |
|
---|
| 39 | <para><application>GnuCash</application> is a personal finance
|
---|
| 40 | manager.</para>
|
---|
| 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (HTTP): <ulink url="&gnucash-download-http;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download (FTP): <ulink url="&gnucash-download-ftp;"/></para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download MD5 sum: &gnucash-src-md5sum;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download size: &gnucash-size;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated disk space required: &gnucash-buildsize;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Estimated build time: &gnucash-time;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 65 | <itemizedlist spacing='compact'>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Help documentation: <ulink url="&gnucash-docs-download;"/></para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Download MD5 sum: &gnucash-docs-md5sum;</para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">GnuCash Dependencies</bridgehead>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d1f23e0] | 77 | <para role="required"><xref linkend="oaf"/>,
|
---|
[72b5adb] | 78 | <xref linkend="gtkhtml1"/>,
|
---|
[f8625d25] | 79 | <xref linkend="libghttp"/>,
|
---|
[6722219] | 80 | <xref linkend="gwrap"/>, and
|
---|
[7aeaa620] | 81 | <xref linkend="perl-xml-parser"/></para>
|
---|
[72b5adb] | 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[d1f23e0] | 84 | <para role="optional"><xref linkend="postgresql"/>,
|
---|
[72b5adb] | 85 | <xref linkend="guppi"/>,
|
---|
| 86 | <xref linkend="scrollkeeper"/>,
|
---|
| 87 | <xref linkend="doxygen"/>,
|
---|
[6722219] | 88 | <xref linkend="graphviz"/>,
|
---|
| 89 | <ulink url="ftp://ftp.gnu.org/pub/gnu/guile/">Guile-www</ulink>, and
|
---|
[72b5adb] | 90 | <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink></para>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Optional (for On-Line Banking)</bridgehead>
|
---|
[7aeaa620] | 93 | <para role="optional"><ulink
|
---|
| 94 | url="http://libofx.sourceforge.net/">LibOFX</ulink>
|
---|
[d1f23e0] | 95 | (requires <xref linkend="opensp"/> and <xref linkend="curl"/>),
|
---|
[72b5adb] | 96 | <ulink url="http://sourceforge.net/projects/ktoblzcheck">KtoBlzCheck</ulink>,
|
---|
[7aeaa620] | 97 | and <ulink url="http://www.aquamaniac.de/aqbanking/">AqBanking</ulink>
|
---|
| 98 | (requires <ulink
|
---|
| 99 | url="http://gwenhywfar.sourceforge.net/">Gwenhywfar</ulink>
|
---|
| 100 | and also see <ulink
|
---|
| 101 | url="http://www.libchipcard.de/">libchipcard2</ulink>)</para>
|
---|
[72b5adb] | 102 |
|
---|
[38e4f06] | 103 | <para condition="html" role="usernotes">User Notes:
|
---|
| 104 | <ulink url="&blfs-wiki;/gnucash"/></para>
|
---|
| 105 |
|
---|
[72b5adb] | 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="installation">
|
---|
| 109 | <title>Installation of GnuCash</title>
|
---|
| 110 |
|
---|
| 111 | <para>Install <application>GnuCash</application> by running the following
|
---|
| 112 | commands:</para>
|
---|
| 113 |
|
---|
[7aeaa620] | 114 | <screen><userinput>sed -i 's/^\(host_os=.*\)$/\1-gnu/' configure &&
|
---|
| 115 | ./configure --prefix=/opt/gnome-1.4 \
|
---|
| 116 | --sysconfdir=/etc \
|
---|
| 117 | --disable-guppi \
|
---|
| 118 | --disable-error-on-warning &&
|
---|
[f8625d25] | 119 | make</userinput></screen>
|
---|
| 120 |
|
---|
[7aeaa620] | 121 | <para>To test the results, issue <command>make check</command>. All tests
|
---|
| 122 | should pass. An easy way to look at the results of the tests is to issue
|
---|
| 123 | <command>grep -A1 ============== check.log</command> (this is assuming you
|
---|
| 124 | redirected the output from the tests to the aforementioned filename).</para>
|
---|
[f8625d25] | 125 |
|
---|
| 126 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 127 |
|
---|
[7aeaa620] | 128 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
| 129 |
|
---|
| 130 | <para>If desired, create a symbolic link from the
|
---|
| 131 | <application>GnuCash</application> documentation directory to the
|
---|
| 132 | system-wide documentation directory using the following command as the
|
---|
| 133 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 134 |
|
---|
| 135 | <screen role='root'><userinput>ln -v -s /opt/gnome-1.4/share/gnucash/doc \
|
---|
| 136 | /usr/share/doc/gnucash-&gnucash-version;</userinput></screen>
|
---|
| 137 |
|
---|
| 138 | <para>If desired, create symbolic links to the
|
---|
| 139 | <application>GnuCash</application> <filename>.desktop</filename> and icon
|
---|
| 140 | files in the system-wide directories using the following commands as the
|
---|
| 141 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 142 |
|
---|
| 143 | <screen role='root'><userinput>install -v -m755 -d /usr/share/pixmaps/gnucash &&
|
---|
| 144 | ln -v -s /opt/gnome-1.4/share/pixmaps/gnucash/gnucash-icon.png \
|
---|
| 145 | /usr/share/pixmaps/gnucash &&
|
---|
| 146 | ln -v -s /opt/gnome-1.4/share/gnome/apps/Applications/gnucash.desktop \
|
---|
| 147 | /usr/share/applications</userinput></screen>
|
---|
[f8625d25] | 148 |
|
---|
| 149 | <para>If you want to install the Help documentation (requires
|
---|
| 150 | <xref linkend="scrollkeeper"/> to be installed), unpack the additional
|
---|
| 151 | tarball, change into the
|
---|
| 152 | <filename class='directory'>gnucash-docs-&gnucash-docs-version;</filename>
|
---|
| 153 | source directory and issue the following commands as an unprivileged
|
---|
| 154 | user:</para>
|
---|
| 155 |
|
---|
| 156 | <screen><userinput>./configure --prefix=/opt/gnome-1.4 \
|
---|
[7aeaa620] | 157 | --localstatedir=/var/lib &&
|
---|
[f8625d25] | 158 | make</userinput></screen>
|
---|
| 159 |
|
---|
| 160 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 161 |
|
---|
| 162 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
[72b5adb] | 163 |
|
---|
| 164 | </sect2>
|
---|
| 165 |
|
---|
| 166 | <sect2 role="commands">
|
---|
| 167 | <title>Command Explanations</title>
|
---|
| 168 |
|
---|
[7aeaa620] | 169 | <para><command>sed -i 's/^\(host_os=.*\)$/\1-gnu/' configure</command>:
|
---|
| 170 | This command is used to fix a broken <command>configure</command> script.
|
---|
| 171 | Without it, no shared libraries are built, and the program will not
|
---|
| 172 | function properly.</para>
|
---|
| 173 |
|
---|
[f8625d25] | 174 | <para><parameter>--prefix=/opt/gnome-1.4</parameter>:
|
---|
[72b5adb] | 175 | <application>GnuCash</application>-&gnucash-version; is a
|
---|
[f8625d25] | 176 | <application>GNOME</application>-1.4 application.</para>
|
---|
[72b5adb] | 177 |
|
---|
| 178 | <para><parameter>--sysconfdir=/etc</parameter>: This installs configuration
|
---|
| 179 | files in <filename class='directory'>/etc/gnucash</filename> instead of
|
---|
[f8625d25] | 180 | <filename class='directory'>/opt/gnome-1.4/etc/gnucash</filename>.</para>
|
---|
[72b5adb] | 181 |
|
---|
| 182 | <para><parameter>--disable-guppi</parameter>: This compiles
|
---|
| 183 | <application>GnuCash</application> without support for creating
|
---|
| 184 | GUI graphs and plots. Remove this option if you have
|
---|
| 185 | <application>Guppi</application> installed.</para>
|
---|
| 186 |
|
---|
[a0a2216] | 187 | <para><parameter>-disable-error-on-warning</parameter>: Without this
|
---|
| 188 | parameter the build will fail because a warning is generated. This option
|
---|
| 189 | forces the build to ignore the warning.</para>
|
---|
[f8625d25] | 190 |
|
---|
| 191 | <para><option>--enable-sql</option>: This parameter is required if you want
|
---|
| 192 | to build in SQL support using <application>PostgreSQL</application>.</para>
|
---|
[72b5adb] | 193 |
|
---|
| 194 | <para><option>--enable-ofx</option>: This parameter is required if you want
|
---|
| 195 | to build in on-line banking support using
|
---|
| 196 | <application>LibOFX</application>.</para>
|
---|
| 197 |
|
---|
[7aeaa620] | 198 | <para><option>--enable-hbci</option>: This parameter is required if you
|
---|
| 199 | want to build in on-line banking support using
|
---|
| 200 | <application>AqBanking</application>. See
|
---|
[72b5adb] | 201 | <filename>doc/README.HBCI</filename> in the
|
---|
[7aeaa620] | 202 | <application>GnuCash</application> source tree for complete
|
---|
| 203 | information.</para>
|
---|
[72b5adb] | 204 |
|
---|
| 205 | </sect2>
|
---|
| 206 |
|
---|
| 207 | <sect2 role="configuration">
|
---|
| 208 | <title>Configuring GnuCash</title>
|
---|
| 209 |
|
---|
| 210 | <sect3>
|
---|
| 211 | <title>Configuration Information</title>
|
---|
| 212 |
|
---|
[f8625d25] | 213 | <para>If you wish to use <application>GnuCash</application> to retrieve
|
---|
[bccbdaea] | 214 | stock price quotes and stock historical information, you'll need to
|
---|
[f8625d25] | 215 | install the following <application>Perl</application> modules:
|
---|
| 216 | <xref linkend="perl-lwp"/>, <xref linkend="perl-date-manip"/>,
|
---|
| 217 | <xref linkend="perl-html-parser"/>, <xref linkend="perl-finance-quote"/>
|
---|
| 218 | and <xref linkend="perl-finance-quotehist"/>.</para>
|
---|
| 219 |
|
---|
[7aeaa620] | 220 | <!--
|
---|
[72b5adb] | 221 | <note>
|
---|
| 222 | <para><application>GnuCash</application> must be run as
|
---|
| 223 | <systemitem class="username">root</systemitem> once before use. Simply
|
---|
| 224 | executing <command>gnucash</command> from an <application>X</application>
|
---|
| 225 | terminal and clicking on the cancel button is sufficient. This must be
|
---|
| 226 | done prior to setting up accounts as an unprivileged user, due to the
|
---|
| 227 | fact that <application>GnuCash</application> must update scheme catalogs
|
---|
[7aeaa620] | 228 | before it is used.</para>
|
---|
[72b5adb] | 229 | </note>
|
---|
[7aeaa620] | 230 | -->
|
---|
[72b5adb] | 231 |
|
---|
| 232 | </sect3>
|
---|
| 233 |
|
---|
| 234 | </sect2>
|
---|
| 235 |
|
---|
| 236 | <sect2 role="content">
|
---|
| 237 | <title>Contents</title>
|
---|
| 238 |
|
---|
| 239 | <segmentedlist>
|
---|
| 240 | <segtitle>Installed Programs</segtitle>
|
---|
| 241 | <segtitle>Installed Libraries</segtitle>
|
---|
| 242 | <segtitle>Installed Directories</segtitle>
|
---|
| 243 |
|
---|
| 244 | <seglistitem>
|
---|
[f8625d25] | 245 | <seg>dump-finance-quote, gnc-prices, gnc-test-env, gnucash,
|
---|
| 246 | gnucash-config, gnucash-env, gnucash-make-guids, gnucash-run-script
|
---|
| 247 | and update-finance-quote</seg>
|
---|
| 248 | <seg>libcore-utils.so, libgnc-app-file-gnome.so, libgncgnome.so,
|
---|
| 249 | libgncmodule.so, libgw-core-utils.so, libgw-gnc.so and numerous
|
---|
| 250 | support libraries installed in
|
---|
| 251 | <filename class='directory'>/opt/gnome-1.4/lib/gnucash</filename></seg>
|
---|
| 252 | <seg>/etc/gnucash,
|
---|
| 253 | /opt/gnome-1.4/include/gnucash,
|
---|
| 254 | /opt/gnome-1.4/lib/gnucash,
|
---|
| 255 | /opt/gnome-1.4/libexec/gnucash,
|
---|
| 256 | /opt/gnome-1.4/share/gnome/apps/Applications,
|
---|
| 257 | /opt/gnome-1.4/share/gnome/help/gnucash,
|
---|
| 258 | /opt/gnome-1.4/share/gnucash,
|
---|
| 259 | /opt/gnome-1.4/share/omf/gnucash-docs and
|
---|
| 260 | /opt/gnome-1.4/share/pixmaps/gnucash</seg>
|
---|
[72b5adb] | 261 | </seglistitem>
|
---|
| 262 | </segmentedlist>
|
---|
| 263 |
|
---|
| 264 | <variablelist>
|
---|
| 265 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 266 | <?dbfo list-presentation="list"?>
|
---|
| 267 | <?dbhtml list-presentation="table"?>
|
---|
| 268 |
|
---|
| 269 | <varlistentry id="gnucash-prog">
|
---|
| 270 | <term><command>gnucash</command></term>
|
---|
| 271 | <listitem>
|
---|
| 272 | <para>is a personal finance manager.</para>
|
---|
| 273 | <indexterm zone="gnucash gnucash-prog">
|
---|
| 274 | <primary sortas="b-gnucash">gnucash</primary>
|
---|
| 275 | </indexterm>
|
---|
| 276 | </listitem>
|
---|
| 277 | </varlistentry>
|
---|
| 278 |
|
---|
| 279 | </variablelist>
|
---|
| 280 |
|
---|
| 281 | </sect2>
|
---|
[f45b1953] | 282 |
|
---|
| 283 | </sect1>
|
---|