Skip to content
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

GROVEL-ERROR on Mac M2 #37

Open
JosephBoyd opened this issue Sep 27, 2023 · 1 comment
Open

GROVEL-ERROR on Mac M2 #37

JosephBoyd opened this issue Sep 27, 2023 · 1 comment

Comments

@JosephBoyd
Copy link

With zmq installed via macports, I get the following after (ql:quickload :pzmq)

Subprocess #<UIOP/LAUNCH-PROGRAM::PROCESS-INFO {700A4C2FA3}>
with command ("clang" "-o"
"/Users/josephboyd/.cache/common-lisp/sbcl-2.3.8-macosx-arm64/Users/josephboyd/quicklisp/dists/quicklisp/software/pzmq-20210531-git/grovel__grovel-tmpJAIDFZTC.o"
"-c" "-g" "-Wall" "-Wundef" "-Wsign-compare"
"-Wpointer-arith" "-O3" "-g" "-Wall"
"-fdollars-in-identifiers"
"-fno-omit-frame-pointer" "-fPIC"
"-I/Users/josephboyd/quicklisp/dists/quicklisp/software/cffi-20230618-git/"
"/Users/josephboyd/.cache/common-lisp/sbcl-2.3.8-macosx-arm64/Users/josephboyd/quicklisp/dists/quicklisp/software/pzmq-20210531-git/grovel__grovel.c")
exited with error code 1
[Condition of type CFFI-GROVEL:GROVEL-ERROR]

@JosephBoyd
Copy link
Author

After further research, I came across this
yitzchak/common-lisp-jupyter#32

After making the changes suggested by yitzchak to grovel.lisp and c-api.lisp the process was able to find zmq.h which is what was causing my reported error. However, in my case I received an additional error
ld: unsupported tapi file type '!tapi-tbd' in YAML file

The following link indicates that there is some issue when running conda. Once I disabled conda the package installed just fine.
https://developer.apple.com/forums/thread/722490

I hope this helps someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant