[GNC-dev] Issues building in ubuntu Bionic Beaver
Hi Team, I was trying to build gnuCash and came across a bug in libwebkit. (It errors that it cant find jsc.h in a #include.) Eitherway, I left notes on the general IRC channel about it, but thought perhaps I should email you guys as well. I know its not a gnuCash bug, but definately a build issue. The steps for anyone building from src in ubuntu-bionic would be to downgrade their libwebkit stuff as follows: sudo apt-get install libwebkit2gtk-4.0-dev=2.20.1-1 libwebkit2gtk-4.0-37= 2.20.1-1 gir1.2-webkit2-4.0=2.20.1-1 libjavascriptcoregtk-4.0-dev=2.20.1-1 gir1.2-javascriptcoregtk-4.0=2.20.1-1 libjavascriptcoregtk-4.0-18=2.20.1-1 as per bug-link: https://bugs.launchpad.net/ubuntu/+source/webkit2gtk/+bug/1795901 Anyway, I hope this helps. Also FYI, I wanted to intro myself. My name is Nate. I'm a software dever and am looking to get involved with developing gnucash. I saw in your long term plans you want to move to C++ and more boost deps. I have experience moving C to C++, I do that lots in my current job. Also deal with writing code around SQL stuff for locking and whatnot. I'd love to hear what you guys need help with. Thanks Nate ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] GnuCash 3.3 builds on CentOS 7
On Tue, 9 Oct 2018, Bill Nottingham wrote: > Eric Wheeler (gnucash-de...@lists.ewheeler.net) said: > > Hello all, > > > > For those interested, we have successfully built GnuCash on CentOS 7. > > > > 1. download gnucash 3.3: > > > > https://download.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/g/gnucash-3.3-1.fc30.src.rpm > > 2. yum install yum-utils epel-release > > 3. yum-builddep gnucash-3.3-1.fc30.src.rpm > > 4. yum install boost-devel libsoup-devel gsettings-desktop-schemas > > 5. rpm -ivh gnucash-3.3-1.fc30.src.rpm > > 6. Patch have_dst() in your local OS boost install: > > /usr/include/boost/date_time/local_time/custom_time_zone.hpp > > See this patch: https://www.boost.org/patches/1_54_0/002-date-time.patch > > > > 6. Add this just above '%cmake .' in the gnucash.spec. Note that > > -D__STDC_FORMAT_MACROS=1 is important: > > > > %global optflags %{optflags} -Wno-parentheses -D__STDC_FORMAT_MACROS=1 > > %define __cmake cmake3 > > sed -i 's/1\.54\.0/1.53.0/g' CMakeLists.txt > > %cmake . > > > > 7. rpmbuild -bb > > > > There might be other deps, perhaps I had them installed already. But it > > works for me! > > > > (ps, This redhat bugzilla reports the boost bugfix request in case that is > > useful: https://bugzilla.redhat.com/show_bug.cgi?id=1636817 ) > > Thanks for looking at this. I'd be nervous about changing the boost > requirements and would prefer that it be fixed before building this for > EPEL. But that's just me. Agreed, I hope this doesn't hit EPEL before 787018 is fixed! We /need/ PDF support to run the business. I suspect that the 1.54 boost requirement is the same bug that the referenced Boost patch fixes since it blocks compilation of Gnucash. It would be intersting to know if there are any other reasons that 1.54 is necessary. -- Eric Wheeler > > Bill > ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] GnuCash 3.3 builds on CentOS 7
Eric Wheeler (gnucash-de...@lists.ewheeler.net) said: > Hello all, > > For those interested, we have successfully built GnuCash on CentOS 7. > > 1. download gnucash 3.3: > > https://download.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/g/gnucash-3.3-1.fc30.src.rpm > 2. yum install yum-utils epel-release > 3. yum-builddep gnucash-3.3-1.fc30.src.rpm > 4. yum install boost-devel libsoup-devel gsettings-desktop-schemas > 5. rpm -ivh gnucash-3.3-1.fc30.src.rpm > 6. Patch have_dst() in your local OS boost install: > /usr/include/boost/date_time/local_time/custom_time_zone.hpp > See this patch: https://www.boost.org/patches/1_54_0/002-date-time.patch > > 6. Add this just above '%cmake .' in the gnucash.spec. Note that > -D__STDC_FORMAT_MACROS=1 is important: > > %global optflags %{optflags} -Wno-parentheses -D__STDC_FORMAT_MACROS=1 > %define __cmake cmake3 > sed -i 's/1\.54\.0/1.53.0/g' CMakeLists.txt > %cmake . > > 7. rpmbuild -bb > > There might be other deps, perhaps I had them installed already. But it > works for me! > > (ps, This redhat bugzilla reports the boost bugfix request in case that is > useful: https://bugzilla.redhat.com/show_bug.cgi?id=1636817 ) Thanks for looking at this. I'd be nervous about changing the boost requirements and would prefer that it be fixed before building this for EPEL. But that's just me. Bill ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] GnuCash 3.3 builds on CentOS 7
Hi Eric, Great job. Thanks a lot ! Geert Op maandag 8 oktober 2018 01:41:37 CEST schreef Eric Wheeler: > Hello all, > > For those interested, we have successfully built GnuCash on CentOS 7. > > 1. download gnucash 3.3: > > https://download.fedoraproject.org/pub/fedora/linux/development/rawhide/Eve > rything/source/tree/Packages/g/gnucash-3.3-1.fc30.src.rpm 2. yum install > yum-utils epel-release > 3. yum-builddep gnucash-3.3-1.fc30.src.rpm > 4. yum install boost-devel libsoup-devel gsettings-desktop-schemas > 5. rpm -ivh gnucash-3.3-1.fc30.src.rpm > 6. Patch have_dst() in your local OS boost install: > /usr/include/boost/date_time/local_time/custom_time_zone.hpp > See this patch: https://www.boost.org/patches/1_54_0/002-date-time.patch > > 6. Add this just above '%cmake .' in the gnucash.spec. Note that > -D__STDC_FORMAT_MACROS=1 is important: > > %global optflags %{optflags} -Wno-parentheses -D__STDC_FORMAT_MACROS=1 > %define __cmake cmake3 > sed -i 's/1\.54\.0/1.53.0/g' CMakeLists.txt > %cmake . > > 7. rpmbuild -bb > > There might be other deps, perhaps I had them installed already. But it > works for me! > > (ps, This redhat bugzilla reports the boost bugfix request in case that is > useful: https://bugzilla.redhat.com/show_bug.cgi?id=1636817 ) > > -- > Eric Wheeler > ___ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel