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

B Wooster bwooster47 at gmail.com
Fri Oct 2 07:24:52 EDT 2020


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)


More information about the gnucash-user mailing list