Fwd: Gnucash upgrade not working

Geert Janssens janssens-geert at telenet.be
Thu May 15 10:16:27 EDT 2014


On Thursday 15 May 2014 15:03:10 Kevin Rutherford wrote:
> (Sorry, forgot to CC the list.)
> 
> 
> ---------- Forwarded message ----------
> From: Kevin Rutherford <kevin at rutherford-software.com>
> Date: Thu, May 15, 2014 at 2:46 PM
> Subject: Re: Gnucash upgrade not working
> To: Colin Law <clanlaw at gmail.com>
> 
> 
> Hi all,
> 
> On Mon, May 5, 2014 at 8:54 PM, Colin Law <clanlaw at gmail.com> wrote:
> > I know that several have had problems with the version from getdeb
> > intermittently hanging on exit on 14.04.  It is not difficult to
> > build from source.  If you try this and anything in the wiki on
> > building for 14.04 is not clear then come back and we will assist
> > and I will update the wiki accordingly.
> 
> I tried the version from getdeb and it hangs on exit every time (on
> Ubuntu 14.04).
> So I've tried to build it myself, starting with the 2.6.3 tarball from
> girhub. Here's where I got to:
> 
What is girhub ? Did you mean github ?

In that case, don't donwload a tarball from there but clone the 
repository. By downloading the tarball you are effectively trying to 
build from a state that was not anticipated.

Building from tarballs is only supported for tarballs generated by the 
gnucash make system. These tarballs are found in the download section 
for GnuCash on sourceforge.

Github's tarball is only a convenience to get the sources on your 
computer without configuring a full git environment. But these are not 
prepared to be built (Github is newer than our build system).

Alternatively what may work (although I haven't tested this) is to set 
enviromnent variable BUILDING_FROM_SCM=yes to fool the build system to 
think you are building from SCM

Geert

> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> $ tar zxf gnucash-2.6.3.tar.gz
> $ cd gnucash-2.6.3/
> $ sudo apt-get build-dep gnucash
> $ ./configure --prefix=/usr/bin/gnucash-2.6.3
> --enable-compile-warnings --with-html-engine=webkit
> # Error complaining that configure does not exist.
> # It's not clear from the wiki that autogen must always be run.
> $ ./autogen.sh
> $ ./configure --prefix=/usr/bin/gnucash-2.6.3
> --enable-compile-warnings --with-html-engine=webkit
> # [...]
> checking for ./src/swig-runtime.h... no
> configure: error:
> 
> It looks like you are NOT building from Subversion, svk, git or bzr
> but I cannot find swig-runtime.h.  Check your PATH and make sure
> we can find gnc-scm-info in your PATH!
> 
> $ sudo apt-get install swig
> $ ./configure --prefix=/usr/bin/gnucash-2.6.3
> --enable-compile-warnings --with-html-engine=webkit
> # [...]
> checking for ./src/swig-runtime.h... no
> configure: error:
> 
> It looks like you are NOT building from Subversion, svk, git or bzr
> but I cannot find swig-runtime.h.  Check your PATH and make sure
> we can find gnc-scm-info in your PATH!
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> 
> How can I get hold of swig-runtime.h or gnc-scm-info?
> Many thanks,
> Kevin
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list