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
AmazonLinux 2 build errors #58
Comments
#pip3 install conan; mkdir build; cd build; cmake ../
-- The CXX compiler identification is GNU 7.3.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Downloading conan.cmake from https://github.com/conan-io/cmake-conan
-- Conan: checking conan executable
-- Conan: Found program /usr/local/bin/conan
-- Conan: Version found Conan version 1.34.0
-- Conan: Adding bincrafters remote repository (https://api.bintray.com/conan/bincrafters/public-conan)
WARN: Remotes registry file missing, creating default one in /root/.conan/remotes.json
-- Conan: Automatic detection of conan settings from cmake
CMake Error at build/conan.cmake:82 (message):
Please specify in command line CMAKE_BUILD_TYPE
(-DCMAKE_BUILD_TYPE=Release)
Call Stack (most recent call first):
build/conan.cmake:496 (conan_cmake_settings)
src/CMakeLists.txt:33 (conan_cmake_run)
-- Configuring incomplete, errors occurred!
See also "/root/github/turtlebrowser/build/CMakeFiles/CMakeOutput.log". |
Stackoverflow says this https://stackoverflow.com/questions/51736326/build-qt-source-with-openssl-and-msvc2017 AWS recommends this for OpenSSL https://docs.aws.amazon.com/cli/latest/userguide/cli-security-enforcing-tls.html # pip3 install conan; mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=Debug ../
Downloading conan_package.tgz
fontconfig/2.13.92: Package installed 1e8fcc6b58b09849d3e76b7562f37bcf44864cdf
fontconfig/2.13.92: Downloaded package revision 0
bzip2/1.0.8: Appending PATH environment variable: /root/.conan/data/bzip2/1.0.8/_/_/package/0e2fc6376534b5b3953a4974cf0901b008b17f2f/bin
ERROR: Not able to automatically detect '/usr/bin/c++' version
ERROR: Unable to find a working compiler
WARN: libmysqlclient/8.0.17: requirement openssl/1.1.1i overridden by qt/5.15.2@bincrafters/stable to openssl/1.1.1h
egl/system: WARN: Don't know how to install EGL for your distro.
ERROR: egl/system: Error in package_info() method, line 75
self._fill_cppinfo_from_pkgconfig('egl')
while calling '_fill_cppinfo_from_pkgconfig', line 24
if not pkg_config.provides:
ConanException: pkg-config command ['pkg-config', '--print-provides', 'egl', '--print-errors'] failed with error: Command 'pkg-config --print-provides egl --print-errors' returned non-zero exit status 1.
Package egl was not found in the pkg-config search path.
Perhaps you should add the directory containing `egl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'egl' found
CMake Error at build/conan.cmake:402 (message):
Conan install failed='1'
Call Stack (most recent call first):
build/conan.cmake:497 (conan_cmake_install)
src/CMakeLists.txt:33 (conan_cmake_run) |
I've got a /usr/lib64/pkgconfig/wayland-egl.pc and /usr/lib64/libwayland-egl.so if those work from yum install wayland-devel? |
Unfortunately it won't help. What you need here is a package providing egl.pc . Does amazon linux provide one ? |
@chadbrewbaker running |
Is there a way for me to test this? Maybe in WSL2? |
there seem to be a possibility: https://aws.amazon.com/fr/blogs/developer/developing-on-amazon-linux-2-using-windows/ |
Nice! I’ve barely started with testing doing builds for Ubuntu 18.04 and 20.04 in WSL2, so I can try to add this aswell. |
From what I understand, the WSL2 backup format is just an OSI container. Thus you can turn any docker image into a WSL2 image. https://polach.me/transform-any-linux-docker-image-to-wsl2-distribution-by-powershell-easily/ |
CMake doesn't know how to download missing dependencies. WIP on a dependency installer so it builds as expected under CMake for Fedora/Redhat/AmazonLinux distros.
The text was updated successfully, but these errors were encountered: