-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
zarith and conf-gmp need to be smarter on macos x #3000
Comments
and also zmq.h. has something changed on yosemite i wonder...
|
I just hit this issue again on a fresh switch (and came back here for the appropriate incantation). How do we fix this? |
Ran into this issue during following Mirage tutorial screencast. |
It's not possible to override CFLAGS and LDFLAGS on OS X anymore, as they are now set to |
Macports installs gmp.h in /opt/local/include. Does this mean that opam is broken on OSX and it will not be fixed? |
Dear all, I have encountered the same problem of jbulow:
This is a showstopper for me. Is there any workaround? (Using brew instead of macport is not something I consider a workaround). Can it / will it be fixed? Thanks. -francesco |
Still broken in opam2-beta |
I have run into the same problem as jbulow as well, any suggestions on a decent workaround to tell opam that /opt/local and /usr/local can both exist at the same time? Thank you! |
In particular this allows to use again LDFLAGS and CFLAGS environment variables to choose your location and and automatically checks for the two locations where gmp will be found in 99% of the cases. Closes ocaml#3000 and ocaml#9389.
So basically on So in #9728 I simply move to the solution of checking both locations. If I got my shell quoting right I also reinstated the ability @MagnusS mentioned was lost to explicitely specify LDFLAGS and and CFLAGS. This may not be the best solution but it should work reasonably well for the time being. The problem should be revisited in Using such a custom |
In particular this allows to use again LDFLAGS and CFLAGS environment variables to choose your location and and automatically checks for the two locations where gmp will be found in 99% of the cases. Closes ocaml#3000 and ocaml#9389.
In particular this allows to use again LDFLAGS and CFLAGS environment variables to choose your location and and automatically checks for the two locations where gmp will be found in 99% of the cases. Closes ocaml#3000 and ocaml#9389.
In particular this allows to use again LDFLAGS and CFLAGS environment variables to choose your location and and automatically checks for the two locations where gmp will be found in 99% of the cases. Closes ocaml#3000 and ocaml#9389.
In particular this allows to use again LDFLAGS and CFLAGS environment variables to choose your location and and automatically checks for the two locations where gmp will be found in 99% of the cases. Closes ocaml#3000 and ocaml#9389.
I just want to note that I ran into a minor issue caused by this fix. As part of debugging some linker trouble, a It would be an improvement to add only the directive to the needed path, although I don't know how to reliably achieve that. |
I still get these messages btw |
gmp.h is in
/usr/local/include
but there's no pkg-config. So to compilezarith
on MacOS X I need to:I suspect we need to pkg-config up gmp to make this opam-friendly
The text was updated successfully, but these errors were encountered: