Hi John From: John Ralls Sent: Thursday, February 16, 2017 6:09 AM To: Stephen Brown Cc: gnucash-devel@gnucash.org Subject: Re: Missing dll
> On Feb 15, 2017, at 10:44 AM, Geert Janssens <geert.gnuc...@kobaltwit.be> > wrote: > > Op woensdag 15 februari 2017 08:19:47 CET schreef Stephen Brown: >> Hi Geert >> >> From: Geert Janssens >> Sent: Saturday, February 11, 2017 8:31 PM >> To: gnucash-devel@gnucash.org >> Cc: Stephen Brown >> Subject: Re: Missing dll >> >> Op zaterdag 11 februari 2017 00:03:26 CET schreef Stephen Brown: >> >>> Hi All, >>> >>> >>> >>> In a gcdev msys shell running /c/gcdev/gnucash/build/bin/gnucash.exe I >>> get >>> libglib-2.0-0.dll, libgtk-win32-2.0-0.dll, libguile-17.dll, >>> libgio-2.0-0.dll is missing. >>> >>> >>> >>> Is this still an installation error? >> >> >> You will not be able to run gnucash from ..../build/bin. It has to be >> installed properly, which means at least "ninja install" should have been >> run > from your build directory (install.sh does this for you). >> >> This will install gnucash in whatever was chosen as the installation >> prefix. > If you didn't run cmake yourself to define another prefix, gnucash >> will by default be installed in /c/gcdev/gnucash/inst/ and it can be run >> from there, provided you have correctly sourced devrc.sh before in your >> open msys shell. >> Regards, >> >> Geert >> >> I do in a gcdev msys shell >> >> cd /c/gcdev/gnucash/build >> >> /c/gcdev/ninja/ninja.exe install -> works >> >> cd /c/gcdev/gnucash/inst >> >> bin/gnucash.exe -> missing dlls >> >> >> >> How do I correctly source devrc.sh? > > Open an gcdev msys shell > cd /c/gcdev/gnucash-on-windows.git > . ./devrc.sh > cd /c/gcdev/gnucash/inst > ./bin/gnucash.exe > > Note that sourcing devrc.sh is local to the msys shell in which you run it and > it will only last until you close the shell. So you have to redo this each > time you wish to run gnucash from within the msys shell. > > Note also there are two dots in the sourcing command. The first dot means > source the following script. The second dot refers to the current directory. > > If the dots are confusing, you can probably also do > source ./devrc.sh Stephen, Depending on what you're trying to do it might be easier to run gnucash-on-windows.git/dist.sh after running install.sh. That will create a ready-to-run instance of GnuCash in gnucash/dist/bin and shouldn't have any path issues. Regards, John Ralls Let me state what I am trying to do. I wish to debug a gnucash executable after modifying gnucash source code, building it, installing it and running it. After running dist.sh I get this ------------------------------------------------- ############################################################ ### GnuCash ############################################################ cp: cannot stat `/c/gcdev/gnucash/inst/lib/lib*.la': No such file or directory GNUCash@Ace /c/gcdev/gnucash-on-windows.git -------------------------------------------------------------- Where do I run install.sh from? PS I am still trying to get Windows live mail to quote properly. Cheers Stephen Brown _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel