Re: Missing dll
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> 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
Re: Missing dll
> On Feb 16, 2017, at 4:23 AM, Stephen Brown> wrote: > > 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 > > 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? 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 gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: display book path in report
Is it complex to add it ? On Feb 16, 2017 16:11, "Derek Atkins"wrote: > OOPS. You are correct. > There is no scheme binding for this API. > Sorry. > > -derek > > Sébastien de Menten writes: > > > I went to look for the file you mentioned and I see it sitting in the > python > > bindings folder so I am not sure it is used for scheme. > > > > On Feb 15, 2017 19:54, "Derek Atkins" wrote: > > > > Hi, > > > > I see it included in gnucash_core.i, so I would guess the > gnucash-core > > module. > > > > -derek > > > > On Wed, February 15, 2017 1:40 pm, Sébastien de Menten wrote: > > > Nice ! > > > Do you know in which scheme module are these functions located ? > What > > > extra > > > (use-modules xxx) should I add at the beginning of my report > > > budget-balance-sheet.scm ? > > > > > > On Feb 15, 2017 16:52, "Derek Atkins" wrote: > > > > > >> Sébastien de Menten writes: > > >> > > >> > hello, > > >> > > > >> > Is it possible to have the path of the gnucash book > > >> (c:\...\mybook.gnucash) > > >> > displayed in the reports so that I can easily identify to which > book > > a > > >> > report relates (e.g. once printed) ? > > >> > > >> You could use qof_session_get_file_path() and/or > qof_session_get_url() > > >> to obtain that information from the current session. C.f. > > >> http://code.gnucash.org/docs/MAINT/group__Backend.html# > > >> gaef36a80fef74a21750fe98ba24a2e19c > > >> > > >> > sebastien > > >> > > >> > Please remember to CC this list on all your replies. > > >> > You can do this by using Reply-To-List or Reply-All. > > >> > > >> -derek > > >> > > >> -- > > >>Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory > > >>Member, MIT Student Information Processing Board (SIPB) > > >>URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH > > >>warl...@mit.eduPGP key available > > >> > > > > > > > -- > >Derek Atkins 617-623-3745 > >de...@ihtfp.com www.ihtfp.com > >Computer and Internet Security Consultant > > > > -- >Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory >Member, MIT Student Information Processing Board (SIPB) >URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH >warl...@mit.eduPGP key available > ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
[MAINT] Planned network outage tonight ~8pm US/ET
Hi, I plan to replace my main router tonight with a new one that should enable better network utilization. The new router has been configured (but has not been tested). My plan is to swap the hardware tonight at approximately 8pm US/ET. If all goes well and the configuration works then there should be a very short outage while everything settles out. If there's an issue I will either work on fixing the new router or, if it takes longer than expected, I'll swap the old router back into place until I can fix the problem. Any outage would access access to code.gnucash.org, which implies access to the wiki, email lists, archives, and master git repo. Access to www.gnucash.org will be unaffected. Please let me know if you have any questions or concerns. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH warl...@mit.eduPGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel