-
Notifications
You must be signed in to change notification settings - Fork 17
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
Unable to install emacs-zmq (LinuxMint 20.2) #41
Comments
Have you handeled the issue? |
Hi, Short answer: no I didn't handled the issue. I quit. |
If you still want to give |
ipython is better than jupyter, I also get stuck to install zmq from ubuntu. |
Thank you @nnicandro for your efforts on this library. This post is just to add information for people potentially dealing with similar issues. I hope this helps. I'd really like to use Fedora: Can't compile emacs-zmqFedora Toolbox example:
Fedora: pre-built binary segfaultcondition:
Example: Fedora Toolbox run
Example: run (within emacs):
No segfault on Ubuntu Distrobox, but can't build?I tried using Ubuntu on Distrobox to build this repo. After installing a bunch of packages, running Not clue what's going on here, but might be useful to someone looking in the future.
good news(?)I tried running Ubuntu Distrobox |
Great news! Progress made -- I can use IMPORTANT: most pre-built sources are non-DRAFT packages!Note: This is only an issue if your "supported distros" is not a primary ci platform... which unfortunately means every Unix system may have issues. This issue affects: To ensure a compatible libzmq binary:
Note: Stable Releases are Brokenstable with draft is broken for: Fedora, xUbuntu, openSUSE, SLE, and Debian. Examples:
|
On MacOS I was able to build the library by making the following small change to the Makefile
The |
I have this working in Fedora-41 on Mac M1 (aarch64)
(0. You may need to |
I need to have emacs-zmq for running emacs-jupyter. I installed zmq with M_x package-install RET zmq RET, which went fine. Then M-: (require 'zmq) fails with:
Debugger entered--Lisp error: (wrong-type-argument sequencep t)
byte-code("\010\205\016\0\301\302\010P\303\304\305!!"\207" [module-file-suffix expand-file-name "emacs-zmq" file-name-directory locate-library "zmq"] 5)
(defconst zmq-module-file (byte-code "\010\205\016\0\301\302\010P\303\304\305!!"\207" [module-file-suffix expand-file-name "emacs-zmq" file-name-directory locate-library "zmq"] 5) ("/home/petit/.emacs.d/elpa/zmq-20220510.1820/zmq.elc" . 599))
require(zmq)
eval((require (quote zmq)) nil)
eval-expression((require (quote zmq)) nil nil 127)
funcall-interactively(eval-expression (require (quote zmq)) nil nil 127)
call-interactively(eval-expression nil nil)
command-execute(eval-expression)
I then realize that module zmq is not installed (I've installed libzmq5, but seems to not be the correct version). So I went into zmq-20220510_1820, and tried to compile the module. After failing miserably yesterday, it worked today, with the same branch of zmq, and it worked fine today.
Anyhow, I tried again to start zmq in emacs, and still got the very same error message:
Debugger entered--Lisp error: (wrong-type-argument sequencep t)
byte-code("\010\205\016\0\301\302\010P\303\304\305!!"\207" [module-file-suffix expand-file-name "emacs-zmq" file-name-directory locate-library "zmq"] 5)
(defconst zmq-module-file (byte-code "\010\205\016\0\301\302\010P\303\304\305!!"\207" [module-file-suffix expand-file-name "emacs-zmq" file-name-directory locate-library "zmq"] 5) ("/home/petit/.emacs.d/elpa/zmq-20220510.1820/zmq.elc" . 599))
require(zmq)
eval((require (quote zmq)) nil)
eval-expression((require (quote zmq)) nil nil 127)
funcall-interactively(eval-expression (require (quote zmq)) nil nil 127)
call-interactively(eval-expression nil nil)
command-execute(eval-expression)
Any idea what is going on ? This is very limiting as I'd really like to use Jupyter for Python and Julia in Org-mode.
Many thanks, Jean-Marc Petit
The text was updated successfully, but these errors were encountered: