[GNC] What is earliest version of Ubuntu for which building GnuCASH 3.0 is possible?

John Ralls jralls at ceridwen.us
Sun Apr 8 13:21:13 EDT 2018



> On Apr 8, 2018, at 7:07 AM, Steve Cohen <stevecoh2 at gmail.com> wrote:
> 
> On 04/07/2018 09:50 PM, John Ralls wrote:
>> 
>> 
>>> On Apr 7, 2018, at 7:20 PM, Steve Cohen <stevecoh2 at gmail.com <mailto:stevecoh2 at gmail.com>
>>> <mailto:stevecoh2 at gmail.com <mailto:stevecoh2 at gmail.com>>> wrote:
>>> 
>>> On 04/07/2018 09:38 AM, John Ralls wrote:
>>>> 
>>>> 
>>>>> On Apr 6, 2018, at 8:06 PM, Steve Cohen <stevecoh2 at gmail.com <mailto:stevecoh2 at gmail.com>
>>>>> <mailto:stevecoh2 at gmail.com <mailto:stevecoh2 at gmail.com>>
>>>>> <mailto:stevecoh2 at gmail.com <mailto:stevecoh2 at gmail.com>>> wrote:
>>>>> 
>>>>> On 04/06/2018 02:39 PM, John Ralls wrote:
>>>>>> 
>>>>>> 
>>>>>>> On Apr 6, 2018, at 12:34 PM, Steve Cohen <stevecoh2 at gmail.com <mailto:stevecoh2 at gmail.com>
>>>>>>> <mailto:stevecoh2 at gmail.com <mailto:stevecoh2 at gmail.com>>
>>>>>>> <mailto:stevecoh2 at gmail.com <mailto:stevecoh2 at gmail.com>>> wrote:
>>>>>>> 
>>>>>>> On 04/06/2018 02:22 PM, John Ralls wrote:
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> On Apr 6, 2018, at 11:39 AM, Steve Cohen <stevecoh2 at gmail.com <mailto:stevecoh2 at gmail.com>
>>>>>>>>> <mailto:stevecoh2 at gmail.com <mailto:stevecoh2 at gmail.com>>
>>>>>>>>> <mailto:stevecoh2 at gmail.com>> wrote:
>>>>>>>>> 
>>>>>>>>> I'm newly retired and have some time ...
>>>>>>>>> I have Ubuntu 14.0.4. I'm running GnuCash 2.6.1.
>>>>>>>>> 
>>>>>>>>> But if I'm willing to build, is there any inherent reason why
>>>>>>>>> building
>>>>>>>>> 3.0 will fail in this environment?  If not, I'll be willing to
>>>>>>>>> make the
>>>>>>>>> effort.  I'd be glad for any information about bumps in the road I
>>>>>>>>> should know about in advance.
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> We're using 14.04 for one of the CI builds, so you shouldn't have
>>>>>>>> any trouble. You might want to examine 
>>>>>>>> https://github.com/Gnucash/gnucash/blob/unstable/util/ci/ubuntu-14.04-docker
>>>>>>>> to copy the packages you need to install.
>>>>>>>> 
>>>>>>>> Regards,
>>>>>>>> John Ralls
>>>>>>>> 
>>>>>>>> 
>>>>>>> Thank you John.  I'm noticing that the README file (from within
>>>>>>> the 3.0
>>>>>>> tarball) is for version 2.6.x.  Are more recent build instructions
>>>>>>> available elsewhere?
>>>>>> 
>>>>>> The best current build instructions are cmake/README_CMAKE.txt.
>>>>>> 
>>>>>> Regards,
>>>>>> John Ralls
>>>>>> 
>>>>>> 
>>>>> Thanks!
>>>>> After a few hours of false starts, I managed to build GnuCash 3.0 on my
>>>>> Ubuntu 14.0.4 system.
>>>>> 
>>>>> I had to use this command line:
>>>>> 
>>>>> cmake -D ALLOW_OLD_GETTEXT=ON -D GTEST_ROOT=~/src/gtest/googletest -D
>>>>> GMOCK_ROOT=~/src/gtest/googlemock ~/src/gnucash
>>>>> 
>>>>> The ALLOW_OLD_GETTEXT was necessary because I only had an earlier
>>>>> version of gettext and could find no way to install the required version
>>>>> without compiling it too and I didn't want to enter that path.  What
>>>>> negative features will result from doing this, and is it avoidable under
>>>>> this environment?
>>>>> 
>>>>> I haven't tried installing it yet.  Will it be necessary to uninstall
>>>>> the old one first, and what happens to my datafiles if I do that.  In
>>>>> other words, what's the upgrade path here?
>>>> 
>>>> For your personal use, no effect at all. It just means that some types
>>>> of files don’t have their translatable strings extracted into the
>>>> message catalog. That affects only translators working from git instead
>>>> of a tarball.
>>>> 
>>>> Regards,
>>>> John Ralls
>>>> 
>>> OK, I built it.  It seems to run, look nice, in general, it seems to
>>> work.  Haven't given it any difficult test yet.  But, why does the
>>> Help->About screen say it's version 2.7.8, when I built from the 3.0
>>> tarball?
>> 
>> Please remember to copy the list on all replies.
>> 
>> Hmm, it shouldn’t say that. The MacOS build that should be from the same
>> tarball says 3.0 on 
>> Help->About. Did you get the tarball from SourceForge or Github?
>> 
>> Regards,
>> John Ralls
> I got the tarball from sourceforge: gnucash-3.0.tar.gz: 19,010,065 bytes
> from
> http://downloads.sourceforge.net/sourceforge/gnucash/gnucash-3.0.tar.gz <http://downloads.sourceforge.net/sourceforge/gnucash/gnucash-3.0.tar.gz>.
> 
> The link to
> https://github.com/Gnucash/gnucash/releases/download/3.0/gnucash-3.0.tar.gz <https://github.com/Gnucash/gnucash/releases/download/3.0/gnucash-3.0.tar.gz>
> downloads a file of the same exact size.
> 
> So I'm certainly stumped.
> 
> What file in the package contains/produces the version number?

libgnucash/core-utils/gnc-version.h.

Regards,
John Ralls





More information about the gnucash-user mailing list