-
Notifications
You must be signed in to change notification settings - Fork 437
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
Pyre installation from source fails when building. #908
Comments
Hey @sarraga, when you run |
|
Interesting, it looks like the OCaml compiler can't be compiled for you. See if you run Let me know how it goes when you run the command above. |
Yeah, no luck.
```
### output ###
# signals_osdep.h:33:57: error: ‘REG_R15’ undeclared (first use in this
function)
# [...]
# | ^~~~~~~
# signals_nat.c:228:39: note: in expansion of macro ‘CONTEXT_YOUNG_PTR’
# 228 | Caml_state->young_ptr = (value *) CONTEXT_YOUNG_PTR;
# | ^~~~~~~~~~~~~~~~~
# make[3]: *** [Makefile:366: signals_nat.n.o] Error 1
```
Thanks for looking into this, I'll try get an OCaml compiler working.
…On Wed, Aug 14, 2024 at 4:08 PM Conner Nilsen ***@***.***> wrote:
Interesting, it looks like the OCaml compiler can't be compiled for you.
See if you run opam switch create pyre-4.14.0 4.14.0. It might work with
that (using a slightly different package than what the setup script uses),
but if not, then you'll probably have to post on the OCaml forum and get
help from OCaml developers and those who really know what's going on here.
Let me know how it goes when you run the command above.
—
Reply to this email directly, view it on GitHub
<#908 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEMXXBSPDACE5KFQS5EAT3ZRNXGDAVCNFSM6AAAAABMK35ZYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBZGA3TCMJUGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yeah, sorry @sarraga. I'm not familiar with the internals of the OCaml compiler, so I don't be able to help here. Good luck, and let me know if you have any other issues once you get that working. |
Pyre Bug
Bug description
When following the installation from source steps at https://pyre-check.org/docs/installation/ we get a compile-time error and installation aborts.
Reproduction steps
From my .history:
500 $ git clone https://github.com/facebook/pyre-check
501 git clone https://github.com/facebook/pyre-check
502 cd pyre-check/
503 ./scripts/setup.sh --local
Expected behavior
Compile should succeed and leave us with an installable binary.
Logs
Please run your reproduction steps followed by
pyre rage > pyre_rage.log
, and upload the file here:Additional context
Add any other context about the problem here. (like dependencies in your venv, third party stub files being used, overall goals, etc.)
The text was updated successfully, but these errors were encountered: