GNU bug report logs -
#55278
29.0.50; OSM package
Previous Next
Reported by: rms <at> gnu.org
Date: Thu, 5 May 2022 18:39:02 UTC
Severity: normal
Tags: notabug
Found in version 29.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 55278 <at> debbugs.gnu.org (full text, mbox):
> From: Richard Stallman <rms <at> gnu.org>
> Date: Thu, 05 May 2022 14:38:18 -0400
>
>
> I did M-x osm-search RET London RET
> just after starting the package, and I got an error
> that function json-parse-string is undefined.
>
> None pf the Lisp sources in my checkout defines that function.
> Is it in some ELPA package?
No, it's implemented in json.c in the Emacs sources. But to have that
function defined, you need to build Emacs with libjansson, which is an
optional dependency of Emacs. The OSM package says in its README:
The package is available on GNU ELPA and can be installed with =package-install=.
Note that osm.el requires Emacs 27 and depends on the external =curl= program.
Emacs must be built with libxml, libjansson, librsvg, libjpeg and libpng
support. The following is an example configuration which relies on =use-package=.
Please take a look at the [[https://github.com/minad/osm/wiki][wiki]] for additional configuration.
So it looks like you must to have those optional libraries installed
and you must build Emacs with them, in order to use OSM.
This bug report was last modified 3 years and 8 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.