I got error during build gnucash win32 package under windows.

Geert Janssens janssens-geert at telenet.be
Tue May 4 11:50:07 EDT 2010


On Tuesday 4 May 2010, Tao Wang wrote:
> Hi,
> 
> I followed the instructions on :
> http://wiki.gnucash.org/wiki/Windows#Instructions_for_an_.28almost.29_autom
> ated_build
> 
> /c/soft/packaging/win32/install.sh  is ok, works fine.
> 
> However, when I run
> 
> rm -rf /c/soft/gnucash/dist
> /c/soft/packaging/win32/dist.sh
> 
> I got error:
> =============
> !!! Detected multiple directories where only one was expected; please
> delete all but the latest on:
> /c/soft/gnucash/inst/../dist/lib/aqbanking/plugins/*/wizards !!!
> !!! ABORTING !!!
> =============
> 
> However, I only found one directory in "plugins", and there is no
> "wizard" in that directory.
> 
The message is a bit misleading. There should be exactly one wizards directory 
inside plugins/*. When this test code was written, it happened regularly that 
there were two or three directories (due to previous builds no properly 
cleaning up). But having no directories is an error as well, yet the message 
was not formulated for this.

> One thing I need to mention is that I was disabled AqBanking by
> "AQBANKING_WITH_QT=no" at first, however, I found without this
> enabled, I cannot make win32 package, so I remove the line in
> custom.sh, which is empty now, and do install.sh, rm, dist.sh again,
> then I got that error.
> 
You should remove the directory in which aqbanking was installed and run 
install.sh again.
The script is not clever enough to detect a change in AQBANKING_WITH_QT to 
rebuild aqbanking.

Geert


More information about the gnucash-devel mailing list