-
Notifications
You must be signed in to change notification settings - Fork 417
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
cmake can not find thrift #2073
Comments
When a package is installed in a non standard location, CMake needs to be told where to look. I think the variable to use is CMAKE_PREFIX_PATH, not PKG_CONFIG_PATH. Now, regarding
|
esigo
added
the
triage/unresolved
Indicates an issue that can not or will not be resolved.
label
Mar 27, 2023
Please check if using Thanks. |
Hi Marc
CMAKE_PREFIX_PATH fixes the issue.
One thing I want to tell you is that OpenTracing was working well without
CMAKE_PREFIX_PATH.
This issue has been there since we replaced opentracing with opentelemetry.
Thanks a lot.
David
…On Tue, Mar 28, 2023 at 8:49 AM Marc Alff ***@***.***> wrote:
@springile <https://github.com/springile>
Please check if using CMAKE_PREFIX_PATH fixes the build, and let us know
so this issue can be closed.
Thanks.
—
Reply to this email directly, view it on GitHub
<#2073 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7BCAYHIVMDGVZDKALDCBTW6LM55ANCNFSM6AAAAAAWJOFYLE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks for the details. Closing as resolved. |
marcalff
removed
triage/unresolved
Indicates an issue that can not or will not be resolved.
bug
Something isn't working
labels
Mar 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe your environment Describe any aspect of your environment relevant to the problem, including your platform, build system, version numbers of installed dependencies, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main branch.
I'm in centos7
Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.
CMake Error at /usr/local/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Thrift (missing: Thrift_LIBRARIES Thrift_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindThrift.cmake:20 (find_package_handle_standard_args)
exporters/jaeger/CMakeLists.txt:3 (find_package)
export PKG_CONFIG_PATH="/third_party/thrift/lib/pkgconfig:$PKG_CONFIG_PATH"
does not fix the error.
Please check.
Thanks.
The text was updated successfully, but these errors were encountered: