Windows XP build/rebuild question

Charles Day cedayiv at gmail.com
Thu Feb 14 19:12:33 EST 2008


On Thu, Feb 14, 2008 at 1:54 PM, Andreas Köhler <andi5.py at gmx.net> wrote:

> Hi Charles
>
> Am Donnerstag, den 14.02.2008, 12:45 -0800 schrieb Charles Day:
> > 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?
>
> does packaging/win32/make_install.sh suffice?
> And once more I forgot the feedback ;-)
>

OK, I've got that new script from SVN. I'll give it a try. From reading it,
after I've modified some piece of code that needs to compile, like a .c
file, I believe I would just do the following, right?  No separate "make
install" step anymore because make_install.sh does it for me.

cd /c/soft/gnucash/build  (assuming that's my build directory)
make
/c/soft/packaging/make_install.sh   (assuming that's where I've installed
all the packaging scripts)

-Charles

-- andi5
>


More information about the gnucash-devel mailing list