This repository was archived by the owner on Aug 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 127
Hunter builds don't install the downloaded dependencies #44
Comments
Likely related: |
Results in failures like
The app embedding jaeger-cpp isn't using hunter, and cannot use hunter. |
So that is true. Hunter does not to global installs. That is the point, to allow for multiple different versions and builds of the same library. If you want to use the Jaeger C++ client without Hunter, the answer is pretty straightforward: look for the |
Also, don't forget |
Yeah, I spent most of yesterday figuring that out, hence the README draft
I've submitted.
I had to write or integrate a bunch of find_packsge modules too, but got
there.
I'll expand the README entry on Hunter a smidge. Then I'll add a cmake
message on hunter-enabled build completion to tell users that they must use
Hunter to link to the resulting jaeger-cpp. Then can probably close this.
|
OK, so this is by design. You can't use jaeger-cpp's default Hunter build unless you also use Hunter. Cool, document and done. I'll deal with this as part of the coming PR for the README. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When Jaeger does its default "download it from the Internet" build, the resulting install is unusable:
etc.
So it should probably either disable "make install" for Hunter builds and document how to do a normal install, or install all the built dependencies too. I'd suggest complaining if you try to use
/usr/local
as an install target in this case and suggesting another target.It'd also be nice to document that hunter writes stuff to
~/.hunter
not within the jaeger-cpp builddir. The built dependencies seem to have been dropped in.hunter/_Base/7128985/340d525/3420b24/Install
, which of course jaeger-cpp knows to add to theCPATH
andLIBRARY_PATH
... but tools using jaeger-cpp don't.A
make dependencies-install
or something would probably help.The text was updated successfully, but these errors were encountered: