I'm trying to build aws-sdk-cpp, using SUSE's spec. That spec and others
(aws-c-common is in Fedora today, but a long list of others were
recently retired) are here:
https://codeberg.org/gordonmessmer
.The rpm build fails, with a cmake error indicating that it can't find
"Findaws-c-common.cmake" or "aws-c-common-config.cmake". I have traced
the build process and confirmed that it is searching for that file
directly in "/usr", "/", "/usr/local", and "/opt"
However, if "mock --shell" into that build environment, remove the
"redhat-linux-build" directory, and run the "cmake" command that appears
in the mock build.log, the setup process works.
I would ask for help in the cmake support forums, but the fact that this
works interactively but not in rpm build makes me think that there is
some environment variable at fault, though nothing in build.log stands
out as likely.
The relevant excerpt from the build seems to be:
CMake Error at CMakeLists.txt:250 (find_package):
By not providing "Findaws-c-common.cmake" in CMAKE_MODULE_PATH this
project
has asked CMake to find a package configuration file provided by
"aws-c-common", but CMake did not find one.
Could not find a package configuration file provided by
"aws-c-common" with
any of the following names:
aws-c-commonConfig.cmake
-- Configuring incomplete, errors occurred!
aws-c-common-config.cmake
Add the installation prefix of "aws-c-common" to CMAKE_PREFIX_PATH or set
"aws-c-common_DIR" to a directory containing one of the above files. If
"aws-c-common" provides a separate development package or SDK, be sure it
has been installed.
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue