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
We build NGINX from source code and add nginx-otel as dynamic module, but the following error is thrown:
adding module in /tmp/nginx/nginx-otel
-- The C compiler identification is GNU 8.5.0
-- The CXX compiler identification is GNU 8.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
CMake Error at CMakeLists.txt:64 (find_package):
By not providing "Findopentelemetry-cpp.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"opentelemetry-cpp", but CMake did not find one.
Could not find a package configuration file provided by "opentelemetry-cpp"
with any of the following names:
opentelemetry-cppConfig.cmake
opentelemetry-cpp-config.cmake
Add the installation prefix of "opentelemetry-cpp" to CMAKE_PREFIX_PATH or
set "opentelemetry-cpp_DIR" to a directory containing one of the above
files. If "opentelemetry-cpp" provides a separate development package or
SDK, be sure it has been installed.
I don't find it anywhere in the docs that another library should be required to build the module?
The text was updated successfully, but these errors were encountered:
royteeuwen
changed the title
How to build the nginx-otel-module using configure with-dynamic-module
How to build the nginx-otel-module using configure with add-dynamic-module
Apr 4, 2024
The dependencies are on 3rd-party opentelemetry code. They're pulled and compiled into the module during the build process. Here's the particular example you're referring to:
Describe the bug
We build NGINX from source code and add nginx-otel as dynamic module, but the following error is thrown:
I don't find it anywhere in the docs that another library should be required to build the module?
The commands we are executing:
The text was updated successfully, but these errors were encountered: