How to keep 1.4.8 & build development version?

Derek Atkins warlord@MIT.EDU
28 Jan 2001 10:41:59 -0500


Richard -Gilligan- Uschold <uschold@cs.ucf.edu> writes:

> --------------C7F56D83D3C109838F246C2C
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> I'm having a similar problem.  I just upgraded to g-wrap-1.1.9 so I can
> compile the latest unstable, and I got rid of all older versions.
> I currently use gnucash 1.4.9 for my real data.
> 
> Questions:
> 
> 1. Will the 1.1.9 g-wrap break the precompiled (binary rpm) version of
> gnucash 1.4.9?

Yes.  G-wrap is a set of libraries and Scheme files.  GnuCash 1.4 will
compile against the static version of the g-wrap library, but it still
needs the old scheme code.  So, you will need to keep both versions of
the g-wrap scheme around in order to run both versions of GnuCash.

> 2. Or does this only affect re-compiling 1.4.9?

If you want to recompile 1.4, you'll have to downgrade back to an
older version of g-wrap again.

-derek

> Gilligan
> 
> 
> Dave Peticolas wrote:
> 
> > Jonathan David Wheelhouse writes:
> > > Hi
> > >
> > > My basic question is as the subject says: I want to have both a
> > > development version and a production version of gnucash.
> > >
> > > Some more explanation:
> > >
> > > I have gnucash 1.4.8 which I want to keep on using; don't want to
> > > trust my data to the latest development version.
> > >
> > > I got the latest sources via cvs and attempted the autogen.sh.
> > > I installed all the missing libraries (so many!) until I got to
> > >
> > > configure: warning: guile check failed
> > > configure: error:
> > >
> > >   g-wrap does not appear to be installed correctly, or is not new
> > >   enough.  Right now gnucash requires at least version 1.1.5 to build.
> > >   If you need to install g-wrap, you can find it at
> > >   ftp://ftp.gnucash.org/pub/g-wrap.
> > >
> > > So I ftp'd libgwrapguile-dev_1.1.8-0.1_i386.deb and
> > > libgwrapguile2_1.1.8-0.1_i386.deb. (I run Debian sid, btw.)
> > >
> > > I copied the debs to /var/cache/apt/archives.
> > >
> > > dpkg -i libgwrapguile2...  But, can't install libgwrapguile2 because
> > > it conflicts with libgwrapguile0; I cannot remove libgwrapguile0
> > > because gnucash 1.4.8 depends on it.
> > >
> > > So, how do I build the development version and not have it conflict
> > > with the existing 1.4.8?
> >
> > You will need to compile one of the g-wraps (I suggest 1.1.8) and
> > install it in a separate location (say /usr/local/opt/g-wrap).
> > You will need to pass --with-g-wrap-prefix=DIR where DIR is the
> > directory you choose to install g-wrap.
> >
> > You use the prefix argument to configure (--prefix=/usr/local/opt/g-wrap)
> > to specify where to install g-wrap.
> >
> > > A 2nd related question: what's the normal procedure after you've done
> > > the cvs update thing?  make, configure, what?
> >
> > Usually just 'make' will work, but in some cases you will need to
> > rerun ./autogen.sh. Try 'make' first.
> >
> > > And how do I specify where the binary goes or what's called so it
> > > won't conflict with 1.4.8?
> >
> > The same as you do with g-wrap, using a --prefix=DIR argument
> > to autogen.sh.
> >
> > dave
> >
> > _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel@lists.gnumatic.com
> > http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
> 
> --
> 
> Gilligan            |                    __o           .oooO
>                    /|                  _ \<,_          (   )
>                   /p|\                (_)/ (_)          \ (   Oooo.
>                  /  | \             ------------         \_)  (   )
>                 ========                                       ) /
>                  ========       gilligan@mpinet.net           (_/
>              ~~~~~~~~~~~~~~~~   uschold@cs.ucf.edu
> 
> 
> 
> --------------C7F56D83D3C109838F246C2C
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> I'm having a similar problem.&nbsp; I just upgraded to g-wrap-1.1.9 so
> I can compile the latest unstable, and I got rid of all older versions.
> I&nbsp;currently use gnucash 1.4.9 for my real data.
> <p>Questions:
> <p>1. Will the 1.1.9 g-wrap break the precompiled (binary rpm) version
> of gnucash 1.4.9?
> <p>2. Or does this only affect re-compiling 1.4.9?
> <p>Gilligan
> <br>&nbsp;
> <p>Dave Peticolas wrote:
> <blockquote TYPE=CITE>Jonathan David Wheelhouse writes:
> <br>> Hi
> <br>>
> <br>> My basic question is as the subject says: I want to have both a
> <br>> development version and a production version of gnucash.
> <br>>
> <br>> Some more explanation:
> <br>>
> <br>> I have gnucash 1.4.8 which I want to keep on using; don't want to
> <br>> trust my data to the latest development version.
> <br>>
> <br>> I got the latest sources via cvs and attempted the autogen.sh.
> <br>> I installed all the missing libraries (so many!) until I got to
> <br>>
> <br>> configure: warning: guile check failed
> <br>> configure: error:
> <br>>
> <br>>&nbsp;&nbsp; g-wrap does not appear to be installed correctly, or
> is not new
> <br>>&nbsp;&nbsp; enough.&nbsp; Right now gnucash requires at least version
> 1.1.5 to build.
> <br>>&nbsp;&nbsp; If you need to install g-wrap, you can find it at
> <br>>&nbsp;&nbsp; <a href="ftp://ftp.gnucash.org/pub/g-wrap">ftp://ftp.gnucash.org/pub/g-wrap</a>.
> <br>>
> <br>> So I ftp'd libgwrapguile-dev_1.1.8-0.1_i386.deb and
> <br>> libgwrapguile2_1.1.8-0.1_i386.deb. (I run Debian sid, btw.)
> <br>>
> <br>> I copied the debs to /var/cache/apt/archives.
> <br>>
> <br>> dpkg -i libgwrapguile2...&nbsp; But, can't install libgwrapguile2
> because
> <br>> it conflicts with libgwrapguile0; I cannot remove libgwrapguile0
> <br>> because gnucash 1.4.8 depends on it.
> <br>>
> <br>> So, how do I build the development version and not have it conflict
> <br>> with the existing 1.4.8?
> <p>You will need to compile one of the g-wraps (I suggest 1.1.8) and
> <br>install it in a separate location (say /usr/local/opt/g-wrap).
> <br>You will need to pass --with-g-wrap-prefix=DIR where DIR is the
> <br>directory you choose to install g-wrap.
> <p>You use the prefix argument to configure (--prefix=/usr/local/opt/g-wrap)
> <br>to specify where to install g-wrap.
> <p>> A 2nd related question: what's the normal procedure after you've done
> <br>> the cvs update thing?&nbsp; make, configure, what?
> <p>Usually just 'make' will work, but in some cases you will need to
> <br>rerun ./autogen.sh. Try 'make' first.
> <p>> And how do I specify where the binary goes or what's called so it
> <br>> won't conflict with 1.4.8?
> <p>The same as you do with g-wrap, using a --prefix=DIR argument
> <br>to autogen.sh.
> <p>dave
> <p>_______________________________________________
> <br>gnucash-devel mailing list
> <br>gnucash-devel@lists.gnumatic.com
> <br><a href="http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel">http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel</a></blockquote>
> 
> <pre>--&nbsp;
> 
> Gilligan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __o&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .oooO
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _ \&lt;,_&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&nbsp;&nbsp; )
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /p|\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (_)/ (_)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \ (&nbsp;&nbsp; Oooo.
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp; | \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \_)&nbsp; (&nbsp;&nbsp; )
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ========&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) /
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ========&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gilligan@mpinet.net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (_/
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ~~~~~~~~~~~~~~~~&nbsp;&nbsp; uschold@cs.ucf.edu</pre>
> &nbsp;</html>
> 
> --------------C7F56D83D3C109838F246C2C--
> 
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@lists.gnumatic.com
> http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available