glfs/xsoft/office/gnucash/gnucash-exp.xml
Billy O 'Connor beceab95ab Add sed commands to get configure to use pkg-config instead of
gnome-config for gtkhml.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@512 af4574ff-66df-0310-9fd7-8a98e5e911e0
2002-12-18 01:56:48 +00:00

25 lines
921 B
XML

<sect2>
<title>Command explanations</title>
<para><userinput>--prefix=/opt/gnome:</userinput>
Version &gnucash-version; of GnuCash is a gnome 1.4 application.
</para>
<para><userinput>
sed 's/^GTKHTML_LIBS.*$/GTKHTML_LIBS=\`pkg-config --libs gtkhtml-1.1\`/' \configure | \
sed 's/^GTKHTML_CFLAGS.*$/GTKHTML_CFLAGS=\`pkg-config --cflags gtkhtml-1.1\`/' > configure.new &amp;&amp;
cp configure.new configure &amp;&amp;
</userinput></para>
<para>
The configure script for GnuCash 1.6.8 is expecting to find
gtkhtml-1.0.4, which we are not installing. gtkhtml-1.1.7 will work
with GnuCash, but we must force configure to look for the newer
libraries. The above sed commands are necessary because not only are
the library versions different, but in the newer version of gtkhtml,
pkg-config is used to determine CFLAGS and LIBS, while previous
versions of gtkhtml used gnome-config to do the same thing.
</para>
</sect2>