[GNC] [GNC-dev] GnuCash 3.3 builds on CentOS 7

Fred Smith fredex at fcshome.stoneham.ma.us
Sun Jun 30 19:10:52 EDT 2019


On Tue, Oct 09, 2018 at 11:16:21AM -0400, Bill Nottingham wrote:
> Eric Wheeler (gnucash-devel at 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 <modified gnucash.spec>
> > 
> > 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.

Wondering if there has been any news in this regard since this
posting back in october? (I haven't seen any in this list...)

I'm interesting in building for Centos 7.6 and rather would do
it right.

Thanks in advance!

Fred

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
  "For him who is able to keep you from falling and to present you before his 
 glorious presence without fault and with great joy--to the only God our Savior
 be glory, majesty, power and authority, through Jesus Christ our Lord, before
                     all ages, now and forevermore! Amen."
----------------------------- Jude 1:24,25 (niv) -----------------------------


More information about the gnucash-user mailing list