Can't compile from master branch #1
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mighty-gerbils/gerbil-crypto#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello @fare,
Been trying to get
glowup and running but I get the following error while trying to compilegerbil-crypto:I don't think I need any extra dependencies, my OpenSSL version is 1.1.1k if that's relevant. Do you have any workarounds I can try?
Just to be clear—are you building using Gerbil as installed with Nix, or did you build your own Gambit and/or Gerbil? Is
nix-shellin your$PATH? The build system (more precisely,clan/buildingfromgerbil-utils) assumes that ifnix-shellis present then the library dependencies (i.e. openssl) shall be retrieved from Nix; otherwise it usespkg-configat which point you need it installed and configured.What does
pkg-config --libs opensslandpkg-config --cflags opensslreturn? What do they print, what is the error status code if any?Still, at the very least, this is a confusing error message, that should be improved upon.
I did build my own Gambit/Gerbil, both from latest
master. I don't usenix, just plain Fedora.The last command doesn't produce any output. FWIW the dependency used to compile just fine.
Edit: I'm going to try in another env I have available later this afternoon and will let you know how it goes.
It looks like to me that there might be a bug in the
pkg-config-optionsfunction inclan/building. If you're a knowledgeable Gerbil user, maybe you can help us debug it. I'll try to give it a try soon, but I'm a bit overwhelmed this week.Aha, the issue is not openssl, but libsecp256k1. What do these return for you?
I think the code might be working, but "just" failing to output a usable error message. I just pushed an update to
gerbil-utilsto improve the error message somewhat.You were right, the problem was the missing libsecp256k1 headers. It's now working properly, sorry for the noise.
Not noise at all: the build system was failing to output a useful error message, and the README was failing to document the dependency. Thanks a lot for the report!