Installation problems GnuCash1.4.9.tgz on SuSE 6.4 Solved/Info

Meer van Houtum, P.G. van der P.v.Meer@tennet.org
Wed, 17 Jan 2001 11:11:17 +0100


WARNING: this became a long story. 
It covers not only versions of packages cooperating but also recognition of
installation problems and 'solutions'.

GnuCash 1.4.9 can be installed with the next dependencies fullfilled:
 X11 development headers
 libxml
 libpng
 libjpeg
 libz
 xpm
 gnuplot
 gnomelibs 1.0.40 > ( SuSE6.4 seems to satisfy this )
Most of these might already be package installed otherwise they can be added
using a package installer.
 g-wrap > g-wrap0.9.8 (1.*.* has a different setup)
 guille1.3.7 > guile1.4
 slib2c4 > slib2c9
 swig > swig1.1-883
I installed sources of: Guile Slib G-Wrap and GnuCash because RPM version
3.0.4 reports errors.
Which after reading the mailing list can be solved by downloading a RedHat
rpm3.0.5 upgrade.
However, since I found some more requests on installation info, here comes
mine:


Source tgz(zip) files were stored in /usr/src/download/gnucash.

Obtain sources from various places and install them using the next commands:
gunzip tgz-file
tar xvf tgz-file
cd to-dir
./configure
make
make check (if you want to be sure) 
make install

In order of installation .....

	Retrieve/install Guile sources:
ftp.gnu.org:/pub/gnu/guile/
Standard installation.

	Retrieve/install Slib schemes for Guile:
slib from http://www-swiss.ai.mit.edu/~jaffer/SLIB.html
This is a zip file:
unzip slib2c9.zip
cp -rp slib /usr/local/share/guile/1.4
Where the version 1.4 is determined by the version of Guile you use

	Retrieve/install G-Wrap sources:
ftp.gnucash.org:/pub/g-wrap/source
	GnuCash complains about some g-wrap it can not find. !v1.1.4
problem!
	/g-wrap-1.1.4/bin/Makefile did not make g-wrap anymore
	README said so ... version behaviour mismatch => use g-wrap.0.9.8
Standard installation

	GnuCash sources:
ftp.gnucash.org:/pub/gnucash/source
Standard installation.

Next problems may occur during installation:
----------------------------------
guile/libgncguile.a(gnc.o):/usr/src/download/gnucash/gnucash-1.4.9/src/guile
/gnc
.c:917: more undefined references to `scm_make_complex' follow
collect2: ld returned 1 exit status
make[3]: *** [gnucash] Error 1
make[3]: Leaving directory `/usr/src/download/gnucash/gnucash-1.4.9/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/download/gnucash/gnucash-1.4.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/download/gnucash/gnucash-1.4.9'
make: *** [all-recursive-am] Error 2
Installation of gnucash-1.4.8 gave the same problem.
--------------------------------------Use swig1.1-883 instead of swig1.3a5

----------------------------------
gcc -g -O2 -Wall -I/usr/lib/glib/include -I/opt/gnome/include
-DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml
-I/usr/local/include -o .libs/gnucash MultiLedger.o SplitLedger.o Destroy.o
EuroUtils.o FileDialog.o Refresh.o gnome/libgncgnome.a
register/libgncregister.a register/gnome/libgncregistergnome.a
guile/libgncguile.a gnome/libgncgnome.a engine/.libs/libgncengine.so -lm
-rdynamic -L/opt/gnome/lib -L/usr/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl
-lgdk_imlib -lgnome -lgnomesupport -lesd -laudiofile -ldb1 -lgtkxmhtml -lXpm
-ljpeg -lpng -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11
-lm -lxml -lz /usr/local/lib/libgwrapguile.a -L/usr/local/lib -lguile -ldl
-lm ../intl/libintl.a -lm -Wl,--rpath -Wl,/usr/local/lib
/usr/lib/libguile.so: undefined reference to `qt_abort'
/usr/lib/libguile.so: undefined reference to `qt_error'
/usr/lib/libguile.so: undefined reference to `qt_block'
collect2: ld returned 1 exit status
make[3]: *** [gnucash] Error 1
make[3]: Leaving directory `/usr/src/download/gnucash/gnucash-1.4.9/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/download/gnucash/gnucash-1.4.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/download/gnucash/gnucash-1.4.9'
make: *** [all-recursive-am] Error 2
--------------------------------------This might happen
>From the GnuCash postings => 
ons:/usr/local/lib # rm libqt*
ons:/usr/local/lib # rm libguile*
ons:/usr/lib # rm libqt*
ons:/usr/lib # rm libguile.so   
ons:/usr/lib # rm libguilereadline.a
ons:/usr/lib # rm libguilereadline.la
ons:/usr/lib # rm libguile.a
ons:/usr/lib # rm libguile.la
ons:/usr/lib # rm libguilereadline.so
ons:/usr/lib # rm libguilereadline.so.0
Then reinstall guile1.4 and g-wrap0.9.8 (be sure to make clean before
install)
The 'rm libqt*' definitely broke my SuSE KDE, so:
reinstall packages
 qtcompat xdev
 qtlib xdev
 qtext xdev
 qtdevel xdev
Do not forget to reinstall slib
cd /usr/local/share/guile
cp /usr/src/download/gnucash/slib2c9/slib ./1.4

And start using GnuCash.