Windows XP build/rebuild question

Charles Day cedayiv at gmail.com
Thu Feb 14 15:45:01 EST 2008


On Wed, Jan 30, 2008 at 7:45 PM, Nathan Buchanan <nbinont at gmail.com> wrote:

>
> On Jan 30, 2008 7:59 PM, Charles Day <cedayiv at gmail.com> wrote:
>
> > On Jan 30, 2008 9:25 AM, Andreas Köhler <andi5.py at gmx.net> wrote:
> >
> > > Hi Charles,
> > >
> > > On Mi, 2008-01-30 at 01:45 -0800, Charles Day wrote:
> > > > I have a question about building GnuCash on Windows XP.  I've built
> > > GnuCash
> > > > plenty of times with install.sh and it works reliably. But if I go
> > and
> > > > change, say, one line of druid-qif-import.c, what is the quickest
> > way to
> > > > recompile/rebuild GnuCash?
> > > >
> > > > I thought that I could just go to the build directory and do a make,
> > > > followed by make install, but if I do that then GnuCash hangs during
> > > > startup, hogs the CPU and has to be killed.
> > > >
> > > > If I run install.sh again then it does an "svn up" (which I don't
> > want)
> > > and
> > > > also runs configure again (which I don't want), and takes a very,
> > very
> > > long
> > > > time to get through the whole process, but GnuCash does indeed work
> > in
> > > the
> > > > end!
> > > >
> > > > Any advice would be appreciated.
> > >
> > > I suppose this happens because of dependency_libs lines in libtool
> > > archives (*.la).  I used to run the attached script after `make
> > > install`, maybe it helps you as well.
> > >
> > > -- andi5
> > >
> > >
> > Thanks Andreas, that fixes it!  I see that this is basically the same
> > Windows-specific steps that happen in install.sh "make install", with a
> > few
> > small adjustments. I couldn't explain some differences though, and I
> > wonder
> > if the script you gave me has gotten out of sync with what's in
> > install.sh(the line about "start gnucash-bin" for example).
> >
>
> >
> > So it seems that "make" and "make install" is not enough for Windows
> > developers, as we need to run this script afterwards.  Any chance of
> > including cleaninst.sh in SVN with the other packaging scripts? Perhaps
> > it
> > could be integrated with install.sh in a way that keeps the shared code
> > in
> > sync?
>
>
> I'm in favour of integrating this script with install.sh, possibly by
> adding an optional command line argument to the script.
>
> Nathan
>

Shall I file an enhancement request so that this doesn't get lost?

-Charles


More information about the gnucash-devel mailing list