Lightning: Building from released sources zip does not work

Created on 11 Jan 2019  路  7Comments  路  Source: ElementsProject/lightning

Using https://github.com/ElementsProject/lightning/releases/download/v0.6.3/clightning-v0.6.3.zip.

$ ./configure --enable-plugins
(...)
$ make
fatal: Not a git repository (or any of the parent directories): .git
Makefile:6: *** "ERROR: git is required for generating version information".  Stop.

Of course, it works if I do git checkout v0.6.3 in git, instead of using zip from release page.

All 7 comments

2247 should fix this

This is produced from #2247 :
clightning-v0.6.3.zip

weird I still get ERROR: git is required for generating version information with that zip

this might be related to nixos' sandbox builds and what folder it extracts it to though... seems to work when I unzip and build it normally

No error in the new zip, works for me.

@rustyrussell I'm going to use that zip for https://github.com/NixOS/nixpkgs/pull/53732 with sha256 9b21f94634b9ce3ffd920ed3ce18da35db399d070e3c750b86e65414a34d3aeb to confirm

Confirmed:

9b21f94634b9ce3ffd920ed3ce18da35db399d070e3c750b86e65414a34d3aeb release/clightning-v0.6.3.zip

Was this page helpful?
0 / 5 - 0 ratings