From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55278: 29.0.50; OSM package Date: Thu, 05 May 2022 22:15:23 +0300 Message-ID: <83v8uj23lg.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18875"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55278@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 05 22:10:30 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmhny-0004ma-7s for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 May 2022 22:10:30 +0200 Original-Received: from localhost ([::1]:55546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmhnx-0000fs-8u for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 May 2022 16:10:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmgxO-0000HG-LP for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 15:16:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmgxF-0000kt-Un for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 15:16:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmgxF-0005UV-R3 for bug-gnu-emacs@gnu.org; Thu, 05 May 2022 15:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 May 2022 19:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55278 X-GNU-PR-Package: emacs Original-Received: via spool by 55278-submit@debbugs.gnu.org id=B55278.165177814621083 (code B ref 55278); Thu, 05 May 2022 19:16:01 +0000 Original-Received: (at 55278) by debbugs.gnu.org; 5 May 2022 19:15:46 +0000 Original-Received: from localhost ([127.0.0.1]:46506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmgwz-0005Tz-VT for submit@debbugs.gnu.org; Thu, 05 May 2022 15:15:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmgwy-0005Tc-9b for 55278@debbugs.gnu.org; Thu, 05 May 2022 15:15:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmgws-0000i5-SM for 55278@debbugs.gnu.org; Thu, 05 May 2022 15:15:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=qqEwvyQJNaFAfC1/PzwqKDkTLuO/Jav0cvcgtXuymvY=; b=D3/EIzgS1zMO SSzDDaBpkETbq7URlfPQUN30KNu1PPugMpfzwnav8xLiJu3ZwUfjAER8IVu63tCFa5XRnlS/m94Iz PTW1wgta0dnhfTj2+kN3AxgWLdzLj+eZHwbl18jnIvAChYj7TfjIXryeaGHts3RK4VG9p6QjqE8HZ rcK+HCH0iX/yjhsWUf/KGPxCBoDiqwHxjbIRwFQlquyYyza5GWv0qH5LHdI0bkeGLMcN7qR0fz4k1 yCXYhNsOYH1RV3QAKenbZtDFY7SJzRDiio4trIqZ2BHgEZRDS3YoUXpBK6SGmMZfHfZnbr2TOXJR4 7L1Lm8mRU3Jc4Fw3zf/3eQ==; Original-Received: from [87.69.77.57] (port=2490 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmgwr-00037J-Kx; Thu, 05 May 2022 15:15:37 -0400 In-Reply-To: (message from Richard Stallman on Thu, 05 May 2022 14:38:18 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231461 Archived-At: > From: Richard Stallman > 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.