You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Manually compiling Multipass the build process stops at some point.
To Reproduce
Inside one Ubuntu 20.04 container, the build process compiling with CLang stops with this error:
-- Looking for openssl/des.h - not found
CMake Error at 3rd-party/libssh/libssh/ConfigureChecks.cmake:80 (message):
Could not detect openssl/des.h
Call Stack (most recent call first):
3rd-party/libssh/CMakeLists.txt:51 (include)
Expected behavior
The problem seems to be related to the order of the 3rd party components:
find_package(Poco REQUIRED COMPONENTS Foundation Zip)
If you check the pre-builded vcpkg-ports 3rd party package, it includes custom grpc and poco packages as well. However, the configuration is not using these libs to compile other 3rd party packages. And the same is true for the libssh.
The idea is then: compile first custom libssh, grpc and poco; and after use only these versions to compile all the other dependencies.
I hope you want to improve the compilation process to reduce dependencies and use only the custom build 3rd party libraries. This could facilitate compilation in other environments and reduce compilation time.
The text was updated successfully, but these errors were encountered:
Hi @lars18th , thanks for bringing this to our attention, it's definitely worth exploring further to simplify and improve the build process and, possibly, the build instructions.
Since you seem to have investigated the problem and possible solutions, feel free to open a PR and suggest a fix, we're always happy to review and incorporate contributions from the community.
Describe the bug
Manually compiling Multipass the build process stops at some point.
To Reproduce
Inside one Ubuntu 20.04 container, the build process compiling with CLang stops with this error:
Expected behavior
The problem seems to be related to the order of the 3rd party components:
multipass/CMakeLists.txt
Lines 125 to 138 in 6c4b8b4
If you check the pre-builded
vcpkg-ports
3rd party package, it includes customgrpc
andpoco
packages as well. However, the configuration is not using these libs to compile other 3rd party packages. And the same is true for thelibssh
.The idea is then: compile first custom
libssh
,grpc
andpoco
; and after use only these versions to compile all the other dependencies.I hope you want to improve the compilation process to reduce dependencies and use only the custom build 3rd party libraries. This could facilitate compilation in other environments and reduce compilation time.
The text was updated successfully, but these errors were encountered: