Compiling gnucash on Windows
Geert Janssens
geert.gnucash at kobaltwit.be
Wed Feb 8 04:20:50 EST 2017
Op woensdag 8 februari 2017 00:21:57 CET schreef Stephen Brown:
> Hi All,
>
>
> In running install.sh from GNUCash at Ace /c/gcdev/gnucash-on-windows.git in a
> gcdev msys shell
>
> I had to give full path name to git for it to be found.
>
> Cheers
>
> Stephen Brown
Hi Stephen,
This is deliberately so. Git installs its own complete msys environment which
is incompatible with our build system. So we must ensure nothing of the git
environment is in the standard path while running our build scripts.
For this reason I usually have two msys windows open on my windows test
system, one regular msys shell from the gnucash build environment and a second
one specifically for git. This second one can be opened from the Windows
Explorer:
- vi Windows Explorerer navigate to c:\gcdev
- right-click on gnucash-on-windows.git and from the context menu you can
select "Git Bash shell"
This will open another msys shell but from the git installation. In this shell
you can run git commands without the full path. You can recognize this shell
because it adds the checked out branch in the prompt.
While writing this, it occurs to me that you could also set up an alias for
git in our own msys shell so the full path is no longer required. I haven't
tried this myself yet.
Regards,
Geert
More information about the gnucash-devel
mailing list