From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Marco Antoniotti Newsgroups: gmane.emacs.help Subject: Re: Re: Retrieving the "include" directory for Emacs Modules Date: Sun, 8 Dec 2024 16:36:09 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24713"; mail-complaints-to="usenet@ciao.gmane.io" To: Marco Antoniotti , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 08 16:36:57 2024 Return-path: Envelope-to: geh-help-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 1tKJL6-0006Gj-QZ for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 Dec 2024 16:36:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKJKb-0003WL-I4; Sun, 08 Dec 2024 10:36:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKJKa-0003W9-Qj for help-gnu-emacs@gnu.org; Sun, 08 Dec 2024 10:36:24 -0500 Original-Received: from mail-yb1-xb33.google.com ([2607:f8b0:4864:20::b33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tKJKZ-0003YT-6a for help-gnu-emacs@gnu.org; Sun, 08 Dec 2024 10:36:24 -0500 Original-Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-e28ebd78792so428140276.3 for ; Sun, 08 Dec 2024 07:36:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733672182; x=1734276982; darn=gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=7aWJsMy+iaN8io5FMMh5IYlGomxB/6hS2k1RMoq42cU=; b=aSXN1+LLpaTQ/8chWGRFyv5EVxOs/4La7oDwur78XdzOpE6yjvmiCTUQH6iZTAc6MA zXSvTki2IH8yr0gJ13ohZ0bSsvATyhXC4ZG7YUtB+vsVKJm6QWin/u09r/hDvTvLmeBY fdiDlE4Dw5meCMUKyV5T10F7i9wbAU+00vgFeJu3hUhTp9yr/al9MSgbNEfdp0UAi5mo ac9iGyMJBMYb0myR6/DhwewqgU7qWvG/rtvZLHddZIhE2ONpybQuN0YFD32586NTuflY oPnDT3K74anEO6Zfikx9cgFEvJphUAaP/Nh7p81OYFIiKLW8xErKiPxm97wKHyKxXAs8 4uzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733672182; x=1734276982; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7aWJsMy+iaN8io5FMMh5IYlGomxB/6hS2k1RMoq42cU=; b=MJ5IU0SkKVloo1mT8SZWkt2OvbV5NWvlpZ2gWOYem94JwJmngz2FIsHmNOXPAj4LPh 7r0Q8IC3DyaN+OqB7fcDJ+4zLm8gVVOWAc3BRkGpLIfyoJxaa7vbnm3izfTmEt7j3B11 D+tF5PV6yvGcQCid/C1SNJjPu57+nJFE5W38Ofx5M2QhmDkjTwL8yIM8hUeFgKC3rphG aLRme519s1VGqtFwqK3S2Ee0pNpxAObiLTpjRUWaqe3Gyiysgp3UpQ3orf2lAQXL/pMJ 7gv8oJAXsd7Vay1d/ly1ApUCdyAd1AqicRBGw1XFaOkEFfImEQXK05GU9HKYXx2Z71rI KIXg== X-Forwarded-Encrypted: i=1; AJvYcCX3FM+OO/qQ1R1NdnDb56k5nRJL3WRaHlX5Z18xLJz3mw0fTbSczgk2LIZtJAhN+LBJ+gJxSggKxf+Jq7OO7A==@gnu.org X-Gm-Message-State: AOJu0YyLAxSfkNQp+qDtE74Q8G/qW4H2V7FeMMi1RquDlDsyLONb9hqt 67QMIDx7q+DLf/jphA97Yrf/MIAbxC6uw0FLvkTSWtKDSVUOl+cbJ+GQXbvSQhUQIB5kM16QMa+ EMVAfUEU2u58OCFeFOs1+/8GpTok= X-Gm-Gg: ASbGncst6d8gmV1jl9PUFAdAC1wkLjsRwkp7o+i1OXqY4dqvFCQEzOO8okaVPfZUcIS TSrlEJYJr/I6kfpxy5CR8yw6ZU2IXSjI= X-Google-Smtp-Source: AGHT+IGZm51U8RBXEsDq2ZQ9V3MPN9dK5FOqILI285JoncYy1D+lMkLOCJsntWXaNxSsUelUFuX/mDYg4NHtvLhLFmU= X-Received: by 2002:a05:6902:1612:b0:e38:82e1:c6ca with SMTP id 3f1490d57ef6-e3a0b406194mr3491651276.5.1733672181681; Sun, 08 Dec 2024 07:36:21 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b33; envelope-from=marcoxa@gmail.com; helo=mail-yb1-xb33.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148685 Archived-At: Hi I have no qualms about being able to "fix" 'pq' to make it work. But I am writing an Emacs Module and I do not want to force anybody to "fix" my setup ("It works on my machine" (tm)) In other words, I would like to be able to write EMACS_INCLUDE_DIR :=3D $(shell $(EMACS) -q --batch --eval "(princ *em-include-directory*)") EMACS_SRC_DIR :=3D $(shell $(EMACS) -q --batch --eval "(princ *em-scr-directory*)") All the best MA On Sun, Dec 8, 2024 at 4:29=E2=80=AFPM Jean Louis wrote: > * Marco Antoniotti [2024-12-08 18:20]: > > Hi Eli > > > > sorry again: the behavior on Mac and Windows is different w.r.t. > > data-directory (see previous message). I can try on a Linux machine > > tomorrow. Note that I installed Emacs with brew on my Mac > > > > Case in point: if I try to install 'pq' from the package manager I get > the > > following error. > > I am using emacs-libpq and I have changed: > > EMACS_INCLUDE_DIR :=3D /home/data1/protected/Programming/Software/emacs/s= rc > EMACS_SRC_DIR :=3D /home/data1/protected/Programming/Software/emacs/src > > in Makefile to get it compiled > > EMACS =3D emacs > EMACS_VERSION :=3D $(shell $(EMACS) -q --batch --eval "(princ > emacs-version)") > EMACS_MAJOR_VERSION :=3D $(shell $(EMACS) -q --batch --eval "(princ > emacs-major-version)") > EMACS_INCLUDE_DIR :=3D /home/data1/protected/Programming/Software/emacs/s= rc > EMACS_SRC_DIR :=3D /home/data1/protected/Programming/Software/emacs/src > > Module works great, no complains. > > -- > Jean Louis > --=20 Marco Antoniotti Somewhere over the Rainbow