gnucash-1.6.8 workaround for hpux 11.00 with gnome-1.4

Gansser, Martin MGansser@rand.de
Fri, 30 Aug 2002 13:29:01 +0200


This is a workaround for building gnucash-1.6.8 on hpux 11.0 with gnome-1.4:

installed SW Components:

libtool-1.4.2
guile-1.4
gcc-3.2
perl-5.8.0
gnome-1.4 for hpux 11.x


preconfiguration:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

slib2d4
=3D=3D=3D=3D=3D=3D=3D

I've download slib2d4 and unzip the archive directly in /usr/local/lib,
and linked slib with guile-1.4
# cd /usr/local/share/guile/1.4
# ln -s /usr/local/lib/slib
# guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)"=20


g-wrap-1.2.1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
changes in g-wrap-1.2.1/test/Makefile.in

CFLAGS =3D -O2 -Werror -Wall -g -I../libruntime-guile @CFLAGS@
to
CFLAGS =3D -O2 -Wall -g -I../libruntime-guile @CFLAGS@


gnucash-1.6.8
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
change line 10385 in file configure:

CFLAGS=3D"${CFLAGS} -Werror-implicit-function-declaration"
to
CFLAGS=3D"${CFLAGS} -Wno-unused"


build script for gnucash:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
please use --disable-shared, because since otherwise the executable gnucash=
 not be installed !

gmake distclean
./configure --prefix=3D/opt/gnucash --with-glib-prefix=3D/opt/gnome \
            --with-gnome-includes=3D/opt/gnome/includes \
            --with-gnome-libs=3D/opt/gnome/lib \
            --with-g-wrap-prefix=3D/usr/local \
            --enable-opt-style-install \
            --disable-guppi --disable-shared
gmake
gmake install

thats all

Martin