(no subject)

Stephen P Williams stephen_p_williams@pacbell.net
Tue, 19 Jun 2001 07:27:26 -0700


Paul,

I ran into the same problem with g-wrap-1.1.9 on my Mandrake 8.0 system
as you did.  I got g-wrap-1.1.9 to rebuild from the .src.rpm by doing
the following:

1.  install the .src.rpm:

        rpm -i g-wrap-1.1.9-1.src.rpm

2.  Edit the .spec file /usr/src/RPM/SPECS/g-wrap.spec:

      %prep
      %setup -q
add>  (cd /usr/src/RPM/BUILD/g-wrap-1.1.9/test ; \
add>       sed -e 's/-Werror//g' < Makefile.am > Makefile.am)

	The two added lines modify the Makefile.am to turn off -Werror
	before the 'configure' step that happens at the beginning of
	the %build phase.

3.  Build the regular and development packages:

    cd /usr/src/RPM
	rpm -ba SPECS/g-wrap.spec

4.  Install the packages

	rpm -Uvh RPMS/<arch>/g-wrap/*

	where <arch> will depend on your machine, for me its i686.

With that done, if you have Guppi, the build of gnucash should succeed
just fine.  It took *lots* of trips through rpm for me to get Guppi to
build.  

I finally got gnucash 1.6.0 to build last night, I'll try it out tonight
(after I back up my data files really well ;-)

On Tue, Jun 19, 2001 at 02:29:09PM +0200, paul.poulain@free.fr wrote:
> Hi !
> I try to install Gnucash on Mandrake V8. If I succeed, I think I will write 
> a small HOWTO...
> I think I'm almost OK. I've one last problem : g-wrap is needed. I 
> downloaded the last version (1.1.9) from ftp.gnucash.org but... it doesn't 
> compile...
> The error message is something like 'considering warning as errors. 
> implicit declaration of strcmp. Stop'.
> Shall I try to download a previous version of g-wrap ?
> 
> NB : installing the MDK8-RPM doesn't work : libguile is 
> missing-dependencies (but I've installed libguile & libguile devel and the 
> ./configure on the src compilation passes this step without problem) and 
> g-wrap must be installed... same problem as src install... I try to install 
> MDK8-RPM on a fresh distrib install (no installation of any soft outside 
> from MDK8 disks, and MDK8 install from scratch (not update))
> 
> Paul
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user@lists.gnumatic.com
> http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-user