-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
4.2.2. tarball install fails #2621
Comments
There were issues with cmake that have since been fixed. In general it makes sense to use the distributable tarball if you intend to use the provided and generated autoconf script (eg: ./configure; make; make install). For CMake use there's nothing different from the tarball of the repository snapshot (eg: https://github.com/zeromq/libzmq/archive/v4.2.2.tar.gz ). |
Thanks for the quick response! Isn't that the same
Are you referring to post the 4.2.2 release?
I tried, but I need the CMake install since the autotools/configure install does is not found by |
Yes, the missing files were added to the dist tarball in git, no release yet. For each release, there are 2 sets of tarballs: https://github.com/zeromq/libzmq/releases/tag/v4.2.2 |
all right, I probably clicked the wrong tarball link 🤦 looking forward to the next release with the fixed cmake parts then. |
any plans to make the autotools install find-able with it causes a bit of trouble for packaging scripts if one build method of |
If the files required are generated by CMake then we can't, as that's an autotools build. |
The files in question are the package hints you install in
In principle one can also copy and fill those with the autotools install or just install a single, less sophisticated The autotools install can probably avoid adding those files and still be found by CMake |
Again alternatively, you could patch the |
The problem with those CMake files is that again they are created by CMake, but it might not be available everywhere where autotools needs to be able to run, eg: embedded devices, or a new bootstrapping architecture. And we also can't change the name of the pkg-config file as it would break backware compatibility, IIRC aliases can't be defined. So I think the best solution would be your suggestion of using pkgconfig in cppzmq - would be best as a fallback if the cmake stuff cannot be found. |
yes seems like the only reasonable solution to me, too. So for the original thread topic:
I will report the |
Thanks! |
Note to anyone finding this thread now, the correct tarball to grab for cmake is https://github.com/zeromq/libzmq/archive/v4.2.2.tar.gz |
Hi,
I currently found no way to install the official tarball of release 4.2.2 under https://github.com/zeromq/libzmq/releases/download/v4.2.2/zeromq-4.2.2.tar.gz .
It always fails on
If I use the git tag
v4.2.2
instead it works.Here are two
Dockerfile
s to reproduce the issue:Tar Install
Git Tag Install
The text was updated successfully, but these errors were encountered: