Windows Build system fixes

Christian Stimming stimming at tuhh.de
Thu Mar 24 08:07:18 EDT 2011


Zitat von Geert Janssens <janssens-geert at telenet.be>:
> Ok, trunk can build the Windows port again, even when it has to set  
> up a fresh
> mingw runtime and build environment.

Thanks a lot for your effort here.

Tonight's build unfortunately failed again, but that one goes on me:

libtool: compile:  gcc -DHAVE_CONFIG_H (...) -c  
swig-app-utils-python.c  -DDLL_EXPORT -DPIC -o  
.libs/swig-app-utils-python.o
swig-app-utils-python.c:124:20: fatal error: Python.h: No such file or  
directory
compilation terminated.

The last patch I committed switched on compiling of a python library  
of the app-utils.i swig wrappers, but it switched this on  
unconditionally. Hence, as we don't have any python installed in our  
windows build system, it can't do anything else than failing. I'll fix  
that later tonight so that this parts won't get built unless  
--enable-python[-bindings] was given at configure time. Sorry for that.

> This now
> works fine on trunk, but for automated builds to work well for the 2.4 branch
> and newer 2.4.x releases, a number of these patches should be backported to
> the 2.4 branch. It concerns these commits:
> http://svn.gnucash.org/trac/changeset/20452
> http://svn.gnucash.org/trac/changeset/20454
> http://svn.gnucash.org/trac/changeset/20455
> http://svn.gnucash.org/trac/changeset/20456
> http://svn.gnucash.org/trac/changeset/20457
> http://svn.gnucash.org/trac/changeset/20460

Sure. Feel free to cherry-pick those yourself, or otherwise anyone  
else can do that as well. I think I won't get to this before next  
week, but if it's still not yet done by then, I can do that as well.

Best Regards,

Christian



More information about the gnucash-devel mailing list