-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
opam install fails on macos #40
Comments
I am seeing only warnings here; these may be caused by the recent ctypes release. Can you show which version of ctypes is installed with Do you see any errors in the |
I try now to build things locally with:
opam is not building anything at this point, is this expected?
but when I try to run an example with dune, there are some more specific errors (see below). One source of problems could be the line in src/c/dune where the build command for gyp is defined (I am guessing)
This script doesnt run, more specific the arguments for make could be wrong dune exec example/delay.exe
|
Yes, because your earlier attempt to install from opam directly already installed the dependencies of I see this underlying error:
Do you have Xcode installed? The build requires it at the moment. See #31. |
As for this error,
@sikanhe has also observed that. I've tried to reproduce it by artificially having the Xcode check fail in Travis, but haven't been able to do so. It's probably related to the recent Python 3 upgrade upstream in gyp, but, in part because I haven't reproduced it, I can't figure out what is really causing it. |
ctypes 0.17.1 |
If Xcode is a pain for you, please let me know. I'll try to adjust the Mac build so Xcode is no longer required (this also slightly depends on messing with upstream). |
If I understand the ctypes 0.17.0 change correctly, it's designed for no warnings on 4.10.
Either way, these are only warnings, so they are a red herring for the issue. The Xcode message is the true issue :) |
|
Yes I have Xcode is installed, but but there is xcodebuild ...
lovely .... and there is even a pretty large issue on So with the help of this, dune can build the example: |
|
Great! |
command:
error (complete error log below):
specs:
error log:
The text was updated successfully, but these errors were encountered: