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