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
cohttp 0.11.0 fails to compile via opam #113
Comments
Do you have the native code version of the native code compiler installed? That is, |
Basically things are installed like this.
That is the equivelent of installing your ppa and running |
Yeah, if you install 'ocaml-native-compilers' then it'll work. However, this should not be required, so I will leave this bug open to fix it to work even when ocamlopt.opt is not available. On 15 Apr 2014, at 19:27, Eric Merritt notifications@github.com wrote:
|
shouldn't you install a compiler with opam and not use the system compiler? I'm not sure how you'd drive opam to cleanly switch compilers via ansible however. |
The system compiler should work fine with OPAM, as long as it's not upgraded after the OPAM initialization (but OPAM will detect this if the system compiler version changes) On 15 Apr 2014, at 19:33, Rudi Grinberg notifications@github.com wrote:
|
So should I need to install something extra to build cohttp? On Tue, Apr 15, 2014 at 11:35 AM, Anil Madhavapeddy <
|
On 15 Apr 2014, at 20:39, Eric Merritt notifications@github.com wrote:
|
the cohttp travis script installs these, for completeness: On 15 Apr 2014, at 20:42, Anil Madhavapeddy anil@recoil.org wrote:
|
This may have been a stupidity on my part, but is there any way to raise On Tue, Apr 15, 2014 at 12:42 PM, Anil Madhavapeddy <
|
I think there's still a problem on our end here. We should allow users to install cohttp with only the bytecode compiled compiler (ocamlopt and not ocamlopt.opt). avsm says we have a fallback: https://github.com/avsm/ocaml-cohttp/blob/master/Makefile#L13 but it's not working... As a general tip though you still want to have the native compiler package since it will speed up compilation a lot usually. |
I just added it to our provisioning. I just didn't realize that it was needed and not installed. Btw, I just installed ocaml-native-compiler and got the following error.
|
I get the same error as above after installing ocaml-native-compiler |
it also fails for me :/ |
#114 fixes this i think |
Fixed in cohttp 0.11.1, uploaded to opam |
pythongen test: make pylint checks stricter
I figured this would be the best place to post. The latest release of cohttp in opam fails to compile consistently.
The text was updated successfully, but these errors were encountered: