> On Feb 16, 2017, at 4:23 AM, Stephen Brown <[email protected]> > wrote: > > Hi John > > From: John Ralls <> > Sent: Thursday, February 16, 2017 6:09 AM > To: Stephen Brown <> > Cc: [email protected] <> > Subject: Re: Missing dll > > > > On Feb 15, 2017, at 10:44 AM, Geert Janssens <[email protected]> > > 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: [email protected] > >> 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?
It doesn't really matter where you run it from as all of the paths are absolute, but you do want to have a shell in which you haven't sourced devrc.sh. Running install.sh to completion is a prerequisite for doing anything else, even compiling gnucash. It's the only way to make sure that all of the dependencies are correctly installed. Regards, John Ralls _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
