Closed fpesari closed 2 years ago
Ah right, I think we would need to add an install command to the Cmakelists.txt file for this. I'm not much of a Linux user so unfortunately won't be able to test this any time soon.
As a workaround, are you able to just run make
and have it create the signet binary in the current folder? And then manually move that.
As a workaround, are you able to just run
make
and have it create the signet binary in the current folder? And then manually move that.
Yes, that's what I did to make the openSUSE package for it (here).
I'm not much of a Linux user so unfortunately won't be able to test this any time soon.
I can test it for you, just reply to this issue once you are done and I will try it. Note that there is already a make install
command which installs cereal
to the user's system - I guess this is unintended and I could open a separate bug for it but instead, let's use this one for both :smiley:
Great! I should be able to make the change this week.
I've added what I believe is needed to install the signet binary. Not yet got around to removing the cereal install command, but I will eventually. Are you able to have a test that signet installs now?
8e7eb11
Yes, I confirm that make install
correctly installs the signet
executable. Thanks!
If you want, I can test that cereal does not install anything too when you have removed it. According to this StackOverflow post, the solution could be to replace
with
add_subdirectory(code/third_party_libs/cereal EXCLUDE_FROM_ALL)
add_subdirectory(code/third_party_libs/cereal EXCLUDE_FROM_ALL)
I confirm this solves the cereal issue.
Amazing, thanks for your help! I've added this change too.
Hello,
the
make install
command does not seem to install thesignet
executable on GNU/Linux systems. I tested this on openSUSE, with the latest version of Signet from git master.Thank you.