-
Notifications
You must be signed in to change notification settings - Fork 356
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 will not build on Mac OS X 10.7.5 #2103
Comments
Ow, that's weird, looks like a bug in make/OCamlMakefile/OPAM's Makefiles ? Do you have any make related environment variables set ? What version of make are you using ? An alternative to building with Thanks for reporting! |
$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
$ env | grep -i make
MAKELEVEL=
MAKEFLAGS= I cannot run a binary opam because I'm on a 2008 MacBook for which https://github.com/ocaml/opam/releases/download/1.2.1/opam-1.2.1-x86_64-Darwin simply seg-faults. |
Hm, annoying indeed. It's hard to see what happens.
The output here ends thusly, including the command that it fails to generate on your laptop:
|
Using ocamlc.opt -c -I extlib/ extlib/base64.mli
ocamlopt.opt -c -I extlib/ extlib/base64.ml
File "extlib/base64.ml", line 98, characters 4-21:
Warning 3: deprecated: String.unsafe_set
ocamlc.opt -c -I extlib/ extlib/extArray.mli
ocamlopt.opt -c -I extlib/ extlib/extArray.ml
ocamlopt.opt -c -I extlib/ extlib/extLib.ml
make[3]: *** No rule to make target `-L/usr/local/lib.cmxa', needed by `extlib.cmxa'. Stop.
make[2]: *** [native-code-library] Error 2
make[1]: *** [subproj_extlib] Error 2
make: *** [ncl] Error 2 |
I found out my problem was purely my fault, a result of a stray |
On my 2008 MacBook, I cannot build opam, even though OCaml itself works fine.
The text was updated successfully, but these errors were encountered: