You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.
Just wanted to share how I (think) I successfully Installed pfff on OSX 10.10 + Xcode 5.1.1 in the hopes that it will help someone else:
downloads:pfff wallter$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make rec
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C commons
ocamlc.opt -g -dtypes -bin-annot -absname -thread -w +9 -I ocamlextra -I ocollection -c ocamlextra/realpath.c -o realpath.o
clang: error: unknown argument: '-fno-defer-pop' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make[2]: *** [realpath.o] Error 2
make[1]: *** [rec] Error 2
make: *** [all] Error 2
Reading through the log I noticed that it was pointing to /Applications/Xcode.app so I figured I'd update the Xcode command line tools: (StackOverflow Question).
xcode-select --install
But still no luck...
Continued through the error to re-install Ocaml (originally installed with Inria's binary package via brew:
brew install ocaml
Note: this took quite a long time to install ~~~ 3min for make world, 3min for make opt, 3min for make opt.opt ...
Got the following error when it was running make PREFIX=/usr/local/Cellar/objective-caml/4.01.0_1 install:
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using:
brew link objective-caml
So I ran: brew link objective-caml:
Error: Could not symlink bin/camlp4
Target /usr/local/bin/camlp4
already exists. You may want to remove it:
rm /usr/local/bin/camlp4
So I ran rm /usr/local/bin/camlp4:
override rwxr-xr-x root/wheel for /usr/local/bin/camlp4?
I typed "yes" ... but I have no idea of what "yes means" --- I assumed the "root/wheel" was user:group and that it was asking if I wanted to change the permissions on the file so it could be deleted. Might have run that one as sudo to avoid the "override" / "yes" thing.
After the following two removes:sudo rm /usr/local/bin/camlp4boot; sudo rm /usr/local/bin/camlp4o I ran brew link --overwrite objective-caml which complained:
Linking /usr/local/Cellar/objective-caml/4.01.0_1...
Error: Could not symlink lib/ocaml/Makefile.config
/usr/local/lib/ocaml is not writable.
Note: You can't run sudo brew link --overwrite objective-caml because:
sudo brew link --overwrite objective-caml
Error: Cowardly refusing to `sudo brew link`
You can use brew with sudo, but only if the brew executable is owned by root.
However, this is both not recommended and completely unsupported so do so at
your own risk.
I then ran:
sudo chmod -R 777 /usr/local/lib/ocaml; brew link --overwrite objective-caml;
Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Just wanted to share how I (think) I successfully Installed pfff on OSX 10.10 + Xcode 5.1.1 in the hopes that it will help someone else:
Reading through the log I noticed that it was pointing to
/Applications/Xcode.app
so I figured I'd update the Xcode command line tools: (StackOverflow Question).But still no luck...
Continued through the error to re-install Ocaml (originally installed with Inria's binary package via brew:
Note: this took quite a long time to install ~~~ 3min for
make world
, 3min formake opt
, 3min formake opt.opt
...Got the following error when it was running
make PREFIX=/usr/local/Cellar/objective-caml/4.01.0_1 install
:So I ran:
brew link objective-caml
:So I ran
rm /usr/local/bin/camlp4
:I typed "yes" ... but I have no idea of what "yes means" --- I assumed the "root/wheel" was user:group and that it was asking if I wanted to change the permissions on the file so it could be deleted. Might have run that one as sudo to avoid the "override" / "yes" thing.
After the following two removes:
sudo rm /usr/local/bin/camlp4boot; sudo rm /usr/local/bin/camlp4o
I ranbrew link --overwrite objective-caml
which complained:I then ran:
It's bad to
chmod 777
blah blah blah....Everything worked after this - verified by:
Finally going back to the install ran:
make
to this output: http://pastebin.com/175BxsrT.Everything seems to be working....
The text was updated successfully, but these errors were encountered: