RH 8.0 with rpms (was: interesting feature suggestions)

John Ehrlinger jehrling@bio.ri.ccf.org
09 Dec 2002 10:51:13 -0500


I've managed to get the 1.7.4 version installed on RH 8.0, but it took a
bit of dependency matching.

To start with, the new package manager installed 1.6.6 without a hitch.
Al the dependency were matched and it just ran. I've been using it with
previous RH versions for about a year. After upgrading the OS, I just
reopened gnucash and picked up where I left off. I did try to do the
create a directory, and save a new set of accounts into it, and I did
get a crash. (I've posted a bug report on it
http://bugzilla.gnome.org/show_bug.cgi?id=100745, sorry I didn't check
for dup's yet I see know it has been reported many times before)

Then I see all these new features in the later versions... being a
tinkerer at heart, how could I resist. So I'll give you what I found
about getting the 1.7 series running. 

This may get a bit rough to follow... but I'm trying to include all my
steps. The last two paragraphs are the actual solution I found....

---
First I tried to just do the rpm install. Of course the rpms that are in
gnucash unstable directory are built for 7.x, so I know I'll probably
have a bit of work ahead of me. Indeed, I get the failed dependencies
g-wrap >= 1.3.2 is needed by gnucash-1.7.5-1
libguile.so.6 is needed by gnucash-1.7.5-1

RH 8.0 ships with g-wrap-1.2.1 and guile-1.4-8. I did a search for the
libguile.so.6 and found it's in guile-1.3.4. I did attempt to use the
g-wrap-1.3.2-1.src.rpm with rpmbuild --rebuild g-wrap-1.3.2-1.src.rpm
but it dies in the make phase with the following message.

--- clip ---

gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Wno-uninitialized
-Wno-unused -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -I/usr/include -c
gw-standard.c -MT gw-standard.lo -MD -MP -MF .deps/gw-standard.TPlo 
-fPIC -DPIC -o .libs/gw-standard.lo
cc1: changing search order for system directory "/usr/include"
cc1:   as it has already been specified as a non-system directory
make[2]: *** [gw-standard.lo] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/g-wrap-1.3.2/g-wrap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/g-wrap-1.3.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.87488 (%build)

--- clip ---

So, I was kind of stuck. Instead, I decided to roll guile back to 1.3.4.
Start with rpm -e guile. I had to remove gnumeric, g-wrap and
gnome-games to do this, but was able to reinstall stuff with the 1.3
guile after I had gnucash running. I also had to remove the
gnucash-1.6.6 version, but I knew I'd be able to reinstall if I got
really stuck.

Then I was able to install guile 1.3.4, g-wrap-1.3.2 and the
gnucash-1.7.5-1 packages with rpm -Uv ... (I picked up the guile rpm off
of rpmfind.net). I still runs off the menu. The only other issue I had
was the up2date applet then started yelling the guile was out of date,
so I added it to the ignored packages for the time being.

I hope this helps someone.
-- John 'roadent' Ehrlinger





-- 
John Ehrlinger <jehrling@bio.ri.ccf.org>