[GNC] Anyone have a current gnc-vcs-info.h they can post here?

B Wooster bwooster47 at gmail.com
Sat Oct 3 08:04:39 EDT 2020


Thanks, I did not realize .zip archives sources will fail to compile.

All good, compilation succeeded using tarball from the home page.

===

In terms of confusion regarding github and .zip... just a suggestion, for
what it's worth: if possible the https://wiki.gnucash.org/wiki/Building
could be clarified.

Suggested edit:

Current:
from source code (downloaded as tarballs) as well as the ''developers
version'' of GnuCash from the ''[[Git]] repository''.

Suggested edit:
from source code (downloaded as ''[{{WebURL}}/download.phtml tarballs]'')
as well as the ''developers version'' of GnuCash from the ''[[Git]]
repository''.

And also worth mentioning that again, forcefully, in the "Introduction"
section:

Current:
GnuCash can be built from sources

Suggested edit:
GnuCash can be built from from source code (downloaded as
''[{{WebURL}}/download.phtml tarballs]'') as well as the ''developers
version'' of GnuCash from the ''[[Git]] repository''.
Do not use the ''Download ZIP'' option from the github GnuCash site. Those
sources won't compile.

===

On Fri, Oct 2, 2020 at 7:29 AM Derek Atkins <derek at ihtfp.com> wrote:

> Don't use github tarballs.
> We would turn them off if they would let us!
> Either use an official release tarball or fit clone.
>
> -derek
> Sent using my mobile device. Please excuse any typos.
>
> On October 2, 2020 7:27:09 AM B Wooster <bwooster47 at gmail.com> wrote:
>
> The githib .zip archive fails to build for what I think is a known issue -
>> tarballs, cmake, make does not work for gnucash build.
>>
>> Can someone reply to this message with a currently valid gnc-vcs-info.h? I
>> hacked itup, but it fails in the version-info2env step.
>>
>>   Manually hacked up gnc-vcs-info.h like this, but it will fail later in
>> version-info2env step:
>> #define GNC_VCS_REV "4.20"
>> #define GNC_VCS_REV_DATE "11"
>> #define GNC_VCS_REV_YEAR "2020"
>> #define GNC_VCS_REV_Y_M "2020-10"
>>
>> I got around it by using make -i, and it built gnucash, so somewhat OK for
>> now. Just experimenting right now.
>>
>> clean make error:
>> ...
>> Scanning dependencies of target gnc-vcs-info
>> make[2]: *** No rule to make target
>> '.../gnucash-maint/libgnucash/core-utils/gnc-vcs-info.h', needed by
>> 'libgnucash/core-utils/CMakeFiles/gnc-vcs-info'.  Stop.
>> make[1]: *** [CMakeFiles/Makefile2:5180:
>> libgnucash/core-utils/CMakeFiles/gnc-vcs-info.dir/all] Error 2
>> make: *** [Makefile:163: all] Error 2
>>
>>
>> [not a member of devel group so hoping someone from gnucash-user can
>> reply!
>> thanks!]
>>
>> Debian system, gnucash-maint zip archive 2020-Oct-1:
>>
>> make -i
>> ...
>> CMake Error at .../gnucash-maint/cmake/version-info2env.cmake:10 (list):
>>   list index: 1 out of range (-1, 0)
>> Call Stack (most recent call first):
>>   .../gnucash-maint/cmake/configure-manpage.cmake:14 (versioninfo2env)
>>
>>
>> [ 50%] Built target gnucash-cli-manpage
>> [ 50%] Generating gnucash.1
>> CMake Error at .../gnucash-maint/cmake/version-info2env.cmake:10 (list):
>>   list index: 1 out of range (-1, 0)
>> Call Stack (most recent call first):
>>   .../gnucash-maint/cmake/configure-manpage.cmake:14 (versioninfo2env)
>>
>>
>> [ 50%] Built target gnucash-manpage
>> ...
>> [ 68%] Built target gnucash-cli
>> make[2]: *** No rule to make target '.../gnucash-maint/gnucash/gnome/
>> gnucash.appdata.xml.in', needed by 'gnucash/gnome/gnucash.appdata.xml'.
>> Stop.
>> [ 68%] Built target gnucash-appdata
>> [ 68%] Generating gnucash.desktop
>> CMake Error at .../gnucash-maint/cmake/version-info2env.cmake:10 (list):
>>   list index: 1 out of range (-1, 0)
>> Call Stack (most recent call first):
>>   .../gnucash-maint/cmake/configure-gnucash-desktop.cmake:15
>> (versioninfo2env)
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> If you are using Nabble or Gmane, please see
>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>>
>
>


More information about the gnucash-user mailing list