-
Notifications
You must be signed in to change notification settings - Fork 909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check_command in configure fails for jq dependency even if jq exists #7925
Comments
@stefanwouldgo: What do you get if you run It's possible that Ubuntu 18.04 (quite an old release) might supply an older version of jq that does not return success when given a null input and no filter spec. Be aware that CLN build requires jq 1.6 or newer, as it makes use of the |
I just get a 0. So I guess that should be fine.
Indeed, I have version 1.5.-1 (this is a nodl-OG). So I will have to cross-build the binaries on another device then? |
@stefanwouldgo: Or just build a newer version of jq and put it in your |
thanks, that worked. Didn't even have to build it myself. So with jq 1.7.1 configure runs through. But then, make fails pretty quickly:
|
@stefanwouldgo: Are you using GNU Make? You need at least GNU Make 4.3 since CLN uses grouped targets.
What version of Python are you running? Is there a reason you're trying to build CLN on such an outdated OS? Ubuntu 18.04 reached "end of support" in April 2023. |
GNU make 4.1
3.6.9. Is there any place these minimum versions are documented?
As I said, this is an old nodl device. They haven't updated their base distribution. So unless I want to switch to a whole different system, I guess I am stuck with this outdated Ubuntu. Of course, you cannot be expected to support any old system. But it would be nice to have more explicit build errors/instructions. There used to be a binary ppa for arm64, but for now it seems I just have to stay on my old CLN or cross compile it myself. |
There's not any one place that I'm aware of. And, now that I'm looking at it, the The minimum Python version is visible in
Well, okay, but it's Ubuntu, right? You can run |
I guess I could but it would probably mean that everything else running on
that device stops working. Which is why the nodl devs themselves haven't
done that.
Matt Whitlock ***@***.***> schrieb am Fr. 13. Dez. 2024 um
15:53:
… Is there any place these minimum versions are documented?
There's not any one place that I'm aware of. And, now that I'm looking at
it, the installation.md
<https://github.com/ElementsProject/lightning/blob/master/doc/getting-started/getting-started/installation.md#to-build-on-ubuntu>
document says it should be possible to build and install on "Ubuntu 15.10
or above," but that is obviously an outdated assertion.
The minimum Python version is visible in pyproject.toml
<https://github.com/ElementsProject/lightning/blob/v24.11/pyproject.toml#L10>
.
As I said, this is an old nodl device. They haven't updated their base
distribution.
Well, okay, but it's Ubuntu, right? You can run do-release-upgrade to
bring it up to date?
—
Reply to this email directly, view it on GitHub
<#7925 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFQNEGID3ROHXBDNVFGRJL2FLYHFAVCNFSM6AAAAABTKZ4CZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBRGYZTCNBYGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Issue and Steps to Reproduce
I want to build core lightning v24.11 (same problem is already there in v24.08 and probably earlier, but not in v23.08.1) on ubuntu18.04 arm64. This needs jq as a dependency (apparently new). So I installed jq and it works fine (just typing jq outputs its help), but the configure script doesn't recognize it and stops. I guess this is some problem in the check_command() function.
The text was updated successfully, but these errors were encountered: