astoff / code-cells.el

Emacs utilities for code split into cells, including Jupyter notebooks
GNU General Public License v3.0
190 stars 12 forks source link

Emacs needs libjansson when running this #2

Closed andreas-roehler closed 3 years ago

andreas-roehler commented 3 years ago

Thanks for the excellent package. Seems Emacs needs to be configured/compiled with libjansson library, which doesn't exit by default at my Debian/Ubuntu. Got: Debugger entered--Lisp error: (void-function json-parse-buffer)

Maybe mention something like apt install libjansson-doc libjansson4 libjansson-dev (?)

astoff commented 3 years ago

Sure, I should add a check and warning message.

Now, just so I understand how common this is, did you encounter this issue with the Emacs distributed by Debian/Ubuntu, or is it one you built yourself? Are those apt install requirements for building or just running Emacs?

andreas-roehler commented 3 years ago

On 12.08.21 16:03, Augusto Stoffel wrote:

Sure, I should add a check and warning message.

Now, just so I understand how common this is, did you encounter this issue with the Emacs distributed by Debian/Ubuntu, or is it one you built yourself?

Got the error from a new built from current trunk of 2021.07.27

The Emacs shipped with my Debian 10 is a Emacs 26.1. As it's not even an Emacs27...

Usually use my own builds.

Are those |apt install| requirements for building or just running Emacs?

libjansson seems only needed for the new json-stuff introduced in Emacs27.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/astoff/code-cells.el/issues/2#issuecomment-897666362, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI6NE4FFR73COBZWOUD2YLT4PICFANCNFSM5CA3JX6Q. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.