Skip to content
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

picotls build seems to fail? #503

Closed
Milind-Blaze opened this issue Dec 12, 2023 · 2 comments
Closed

picotls build seems to fail? #503

Milind-Blaze opened this issue Dec 12, 2023 · 2 comments

Comments

@Milind-Blaze
Copy link

Hi, I am setting up picotls on an Ubuntu VM (via UTM) on my M1 Mac. Running the following commands

git clone https://github.com/h2o/picotls.git
git submodule init
cd picotls
git submodule init
git submodule update
cmake .
make
make check

seems to produce the following output

[100%] Built target test-minicrypto.t
make[3]: *** No rule to make target 'cli', needed by 'CMakeFiles/check'.  Stop.
make[2]: *** [CMakeFiles/Makefile2:110: CMakeFiles/check.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/check.dir/rule] Error 2
make: *** [Makefile:131: check] Error 2

I am unsure what to make of this error. Can someone please let me know how I can fix this? Thanks!

@kazuho
Copy link
Member

kazuho commented Dec 12, 2023

This is because OpenSSL is missing as a dependency. make check depends on the cli command. cli command uses libcrypto, the crypto part of OpenSSL, as the backend.

As the platform is ubuntu, installing the libssl-dev package should fix the problem.

@Milind-Blaze
Copy link
Author

Hi @kazuho , thank you for the clarification, that helps!

I also had to follow the instructions from here to get all the tests to pass. Mentioning for the sake of completeness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants