-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cannot build #13
Comments
I think the Makefile expects the SAIL_DIR environment variable to be set to find the Sail library files. If you installed Sail via opam it should be at |
Thank you for the VERY fast response! Here's my next road bump. Is this project now out of sync with ❯ make aarch64
Makefile:7: SAIL_DIR is /Users/blacktop/.opam/default/share/sail
gcc -O2 aarch64.c /Users/blacktop/.opam/default/share/sail/lib/*.c -DHAVE_SETCONFIG -lgmp -lz -I /Users/blacktop/.opam/default/share/sail/lib/ -o aarch64
In file included from aarch64.c:1:
/Users/blacktop/.opam/default/share/sail/lib/sail.h:8:10: fatal error: 'gmp.h' file not found
#include <gmp.h>
^~~~~~~
1 error generated.
In file included from /Users/blacktop/.opam/default/share/sail/lib/elf.c:7:
In file included from /Users/blacktop/.opam/default/share/sail/lib/rts.h:8:
/Users/blacktop/.opam/default/share/sail/lib/sail.h:8:10: fatal error: 'gmp.h' file not found
#include <gmp.h>
^~~~~~~
1 error generated.
In file included from /Users/blacktop/.opam/default/share/sail/lib/rts.c:5:
/Users/blacktop/.opam/default/share/sail/lib/sail.h:8:10: fatal error: 'gmp.h' file not found
#include <gmp.h>
^~~~~~~
1 error generated.
In file included from /Users/blacktop/.opam/default/share/sail/lib/sail.c:10:
/Users/blacktop/.opam/default/share/sail/lib/sail.h:8:10: fatal error: 'gmp.h' file not found
#include <gmp.h>
^~~~~~~
1 error generated.
In file included from /Users/blacktop/.opam/default/share/sail/lib/sail_failure.c:1:
In file included from /Users/blacktop/.opam/default/share/sail/lib/sail_failure.h:4:
/Users/blacktop/.opam/default/share/sail/lib/sail.h:8:10: fatal error: 'gmp.h' file not found
#include <gmp.h>
^~~~~~~
1 error generated.
make: *** [aarch64] Error 1 |
Do you have libgmp? I didn't think my response was that fast - I had review deadlines for several conferences that were keeping me busy over the weekend, I should be more responsive now. |
❯ brew list | grep gmp
gmp |
Adding |
The text was updated successfully, but these errors were encountered: