Error Compiling CVS (9-26-2002)

John P. New gc@hazelden.ca
26 Sep 2002 16:40:49 -0400


David,

Thanks for the quick reply.
> 
> These may be silly questions, but...
> 
> Did you remove the version of g-wrap that came with your distribution?

No. As I said, I have compiled gnucash from CVS about a dozen times now 
without errors like this one; just having problems today with the new 
CVS version. I didn't know whether or not to remove the older version.

> Did you actually install g-wrap 1.3.2 into /usr with 'make install'?

Yes. I did a ./configure --prefix=/usr, make, su, make install.

> Look in /usr/lib.  Any files beginning with libg-wrap- are from a
> pre-1.3 g-wrap. All the 1.3.2 files begin with libgw- or libgwrap-.

I found two files with the libg-wrap- prefix in /usr/lib: 

libg-wrap-runtime-guile.so.2 (symlink)
libg-wrap-runtime-guile.so.2.0.0

All the rest have the libgw- or libgwrap- prefixes.

As it seems I have two versions of g-wrap installed (which I knew) in
the same place (which I didn't), what is the recommended place to
install g-wrap 1.3.2 so it won't hose anything else on my system, as I
thought g-wrap 1.3.2 wasn't backwards compatible with 1.1.11 (which I
have in Mandrake 8.2)? How do I remove g-wrap 1.3.2 and put in its new
location?

Thanks in advance,

John


On Thu, 2002-09-26 at 16:06, David Hampton wrote:
> On Thu, 2002-09-26 at 12:03, John P. New wrote:
> > I am trying to compile on Mandrake 8.2. I have successfully compiled
> > many times before, but now I get errors with the CVS that I downloaded
> > today (9-26-2002). I use ./autogen.sh --with-g-wrap-prefix=/usr
> > --enable-opt-style-install --enable-ofx. When I 'make', I eventually
> > get:
> > 
> > make[3]: Entering directory `/home/gnucash/src/core-utils' 
> > FLAVOR=gnome guile -c \ 
> >           "(set! %load-path (cons \"/usr/share/guile\" %load-path)) \ 
> >            (primitive-load \"./gw-core-utils-spec.scm\") \ 
> >            (gw:generate-wrapset \"gw-core-utils\")" 
> > **** NOTE: this wrapset appears to be empty !? 
> > ERROR: Unbound variable: gw:new-wrapset
> > make[3]: *** [gw-core-utils.scm] Error 2
> > make[3]: Leaving directory `/home/gnucash/src/core-utils' 
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/home/gnucash/src' 
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/gnucash' 
> > make: *** [all-recursive-am] Error 2
> 
> This looks like the wrong version of g-wrap.
> 
> > I installed g-wrap 1.3.2 with ./configure --prefix=/usr. Is this me or
> > CVS?
> 
> These may be silly questions, but...
> 
> Did you remove the version of g-wrap that came with your distribution?
> Did you actually install g-wrap 1.3.2 into /usr with 'make install'?
> 
> Look in /usr/lib.  Any files beginning with libg-wrap- are from a
> pre-1.3 g-wrap. All the 1.3.2 files begin with libgw- or libgwrap-.
> 
> David
> 
> 
>