-
Notifications
You must be signed in to change notification settings - Fork 20
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
Problem installing on OS X 10.9 "zmq.h not found" #26
Comments
It certainly seems as if zeromq is missing here. A while ago @avsm posted these instructions https://gist.github.com/avsm/9041133 Note sure they still work - I thought just |
Unfortunately that's not doing the trick! Is there a specific location where it's attempting to find zmq.h ? Also, `opam install zmq' is encountering the same error, "unable to find zmq" Would you have any advice on installing zmq properly? I've looked into building it from source, but I'm not sure how to proceed with it. |
The only advice I can find on google is to add --universal to the brew command to possibly work round any 32/64 bit issues. Is it possible to check if zmq.h is anywhere on your system? |
Yes, I did find zmq.h in my python installation (Anaconda), the There's another where brew installed it: Is there some way I can direct opam to this file? |
The one in brew looks about right. I believe symlinks should be set up pointing into I suspect something to do with your homebrew installation is a bit iffy. Perhaps try |
I had a bit of a look round on my mac. Homebrew should have set up
|
I just gave this a try and I have had similar issues with gmp before, so I now have the following in my
|
I had this problem with several libraries. Yes, the /usr/local/include headers aren't part of the C_INCLUDE_PATH. You'll want to install the command line dev tools from xcode. $ xcode-select --install |
Had the same issue, and re-running an xcode-select --install resolved for me. |
sudo opam install iocaml
fails with the following:The following actions will be performed:
2 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
Do you want to continue ? [Y/n] y
=-=-= Installing iocaml-kernel.0.4.6 =-=-=
Applying 4.00.1.patch.
Building iocaml-kernel.0.4.6:
make all
make install
[ERROR] The compilation of iocaml-kernel.0.4.6 failed.
Removing iocaml-kernel.0.4.6.
make uninstall
[ERROR] Due to some errors while processing iocaml-kernel.0.4.6, the following actions will NOT proceed:
===== ERROR while installing iocaml-kernel.0.4.6 =====
opam-version 1.1.2
os darwin
command make all
path /Users/wtnebel/.opam/system/build/iocaml-kernel.0.4.6
compiler system (4.01.0)
exit-code 2
env-file /Users/wtnebel/.opam/system/build/iocaml-kernel.0.4.6/iocaml-kernel-78019-c61e7b.env
stdout-file /Users/wtnebel/.opam/system/build/iocaml-kernel.0.4.6/iocaml-kernel-78019-c61e7b.out
stderr-file /Users/wtnebel/.opam/system/build/iocaml-kernel.0.4.6/iocaml-kernel-78019-c61e7b.err
stdout
atdgen -t Ipython_json.atd
atdgen -j Ipython_json.atd
ocamlfind c iocaml_zmq_stubs.c
stderr
iocaml_zmq_stubs.c:1:10: fatal error: 'zmq.h' file not found
#include <zmq.h>
^
#1 error generated.
make: *** [stub] Error 2
'opam install iocaml' failed.
I tried to use homebrew to install zeromq/libzmq but that didn't help.
Any suggestions on how I might resolve this?
Also, apologies for the poor markdown usage, I'm not entirely familiar with it's syntax.
The text was updated successfully, but these errors were encountered: