all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Björn Bidar" <bjorn.bidar@thaodan.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Retrieving the "include" directory for Emacs Modules
Date: Tue, 24 Dec 2024 22:39:30 +0200	[thread overview]
Message-ID: <48891.6516931326$1735072827@news.gmane.org> (raw)
In-Reply-To: <86zfkl11fc.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 24 Dec 2024 18:38:31 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Tue, 24 Dec 2024 10:30:41 -0500
>> From:  Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
>> 
>> > Careful: the above might pick up header files private to source
>> > distributions if you have them on your system (i.e., if you build
>> > packages locally from sources).  By contrast, this discussion is about
>> > _public_ header files, ones installed with the purpose of letting
>> > other packages interface with the package whose header file is
>> > installed.
>> 
>> I'll let you judge.
>> 
>> 
>>         Stefan
>> 
>> 
>> % locate '*.h' | sed 's|[^/]*$||' | sort -u | grep -v 'monnier\|/usr/include'
>> /usr/lib/clisp-2.49.93+/base/
>> /usr/lib/clisp-2.49.93+/linkkit/
>> /usr/lib/gcc/x86_64-linux-gnu/10/include/
>> /usr/lib/gcc/x86_64-linux-gnu/10/include/sanitizer/
>> /usr/lib/gcc/x86_64-linux-gnu/12/include/
>> /usr/lib/gcc/x86_64-linux-gnu/12/include/sanitizer/
>> /usr/lib/ghc/
>> /usr/lib/ghc/base-4.15.1.0/include/
>> /usr/lib/ghc/bytestring-0.10.12.1/include/
>> /usr/lib/ghc/ghc-9.0.2/include/
>> /usr/lib/ghc/ghc-bignum-1.1/include/
>> /usr/lib/ghc/include/
>> /usr/lib/ghc/include/rts/
>> /usr/lib/ghc/include/rts/prof/
>> /usr/lib/ghc/include/rts/storage/
>> /usr/lib/ghc/include/stg/
>> /usr/lib/ghc/process-1.6.13.2/include/
>> /usr/lib/ghc/time-1.9.3/include/
>> /usr/lib/ghc/unix-2.7.2.2/include/
>> /usr/lib/gprolog/include/
>> /usr/lib/grub/i386-pc/
>> /usr/lib/grub/x86_64-efi/
>> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2/primitive-0.7.3.0-EikPDi9CXNiB9f5MDJybeY/include/
>> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2/vector-0.12.3.1-TXkE6leK98EdYcmdk29JF/include/
>> /usr/lib/jvm/java-17-openjdk-amd64/include/
>> /usr/lib/jvm/java-17-openjdk-amd64/include/linux/
>> /usr/lib/llvm-14/lib/clang/14.0.6/include/
>> /usr/lib/llvm-14/lib/clang/14.0.6/include/openmp_wrappers/
>> /usr/lib/llvm-14/lib/clang/14.0.6/include/ppc_wrappers/
>> /usr/lib/llvm-14/lib/clang/14.0.6/include/xray/
>> /usr/lib/ocaml/caml/
>> /usr/lib/ocaml/zarith/
>> /usr/lib/python3/dist-packages/dulwich/
>> /usr/lib/python3/dist-packages/greenlet/
>> /usr/lib/python3/dist-packages/greenlet/platform/
>> /usr/lib/python3/dist-packages/lxml/
>> /usr/lib/python3/dist-packages/lxml/includes/
>> /usr/lib/swi-prolog/include/
>> /usr/lib/swi-prolog/include/sicstus/
>> /usr/lib/swi-prolog/include/Yap/
>> /usr/lib/x86_64-linux-gnu/dbus-1.0/include/dbus/
>> /usr/lib/x86_64-linux-gnu/glib-2.0/include/
>> /usr/lib/x86_64-linux-gnu/perl/5.36.0/CORE/
>> /usr/lib/x86_64-linux-gnu/perl5/5.36/B/Hooks/OP/Check/Install/
>> /usr/lib/x86_64-linux-gnu/perl5/5.36/Cairo/Install/
>> /usr/lib/x86_64-linux-gnu/perl5/5.36/Encode/
>> /usr/lib/x86_64-linux-gnu/perl5/5.36/Glib/Install/
>> /usr/lib/xemacs-21.4.24/x86_64-linux-gnu/include/
>> /usr/lib/xemacs-21.4.24/x86_64-linux-gnu/include/m/
>> /usr/lib/xemacs-21.4.24/x86_64-linux-gnu/include/s/
>> /usr/share/cmake-3.25/include/
>> /usr/share/cmake-3.25/Modules/

Those are cmake test headers.

>> /usr/share/cups/ppdc/
>> /usr/share/doc/bison/examples/c/mfcalc/
>> /usr/share/doc/guile-3.0-dev/examples/compat/
>> /usr/share/doc/libzstd-dev/examples/
>> /usr/share/doc/nettle-dev/examples/
>> /usr/share/doc/printer-driver-pnm2ppa/pl/
>> /usr/share/doc/zlib1g-dev/examples/
>> /usr/share/gettext/
>> /usr/share/go-1.19/misc/cgo/life/testdata/
>> /usr/share/go-1.19/misc/cgo/test/
>> /usr/share/go-1.19/misc/cgo/testplugin/testdata/issue25756/plugin/
>> /usr/share/go-1.19/misc/cgo/testsovar/testdata/
>> /usr/share/go-1.19/misc/cgo/test/testdata/gcc68255/
>> /usr/share/go-1.19/misc/cgo/test/testdata/issue20266/
>> /usr/share/go-1.19/misc/cgo/test/testdata/issue26213/
>> /usr/share/go-1.19/misc/cgo/test/testdata/issue27054/
>> /usr/share/go-1.19/misc/swig/callback/
>> /usr/share/go-1.19/pkg/include/
>> /usr/share/go-1.19/src/crypto/internal/boring/
>> /usr/share/go-1.19/src/debug/dwarf/testdata/
>> /usr/share/go-1.19/src/debug/gosym/testdata/
>> /usr/share/go-1.19/src/runtime/
>> /usr/share/go-1.19/src/runtime/cgo/
>> /usr/share/grub/
>> /usr/share/libtool/
>> /usr/share/libtool/libltdl/
>> /usr/share/perl/5.36.0/Encode/
>> /usr/share/smartmontools/
>> /usr/src/libdvd-pkg/build/
>> /usr/src/libdvd-pkg/build/msvc/
>> /usr/src/libdvd-pkg/build/src/
>> /usr/src/libdvd-pkg/build/src/dvdcss/
>> /usr/src/linux-apfs-rw-0.3.0-1/
>> /usr/src/linux-apfs-rw-0.3.0-1/lzfse/
>> /var/lib/smartmontools/drivedb/
>> % 
>
> Those under /usr/lib are looked in by the relevant compilers (they are
> include directories private to those compilers, hard-coded into them
> when they are built).  Those under /usr/share are private to the
> relevant packages, and are either examples or test suites (thus AFAIU
> unrelated to the issue at hand here).  Those under /usr/src are what I
> mentioned: private headers needed to build a package.

In addition some of them could be overlooked by distribution packagers



  reply	other threads:[~2024-12-24 20:39 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.624.1733687129.13738.help-gnu-emacs@gnu.org>
2024-12-09  9:58 ` Retrieving the "include" directory for Emacs Modules Marco Antoniotti
2024-12-09 14:56   ` Eli Zaretskii
2024-12-09 15:50     ` Rudolf Schlatte
2024-12-09 22:10     ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-12-10  3:29       ` Eli Zaretskii
2024-12-11  3:23         ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-12-11 13:01           ` Eli Zaretskii
2024-12-19 23:50           ` Björn Bidar
     [not found]           ` <87ttazmdvc.fsf@>
2024-12-20  7:09             ` Eli Zaretskii
2024-12-20  9:01               ` Basile Starynkevitch
2024-12-23  0:47               ` Björn Bidar
2024-12-20 15:41             ` Stefan Monnier
2024-12-23  1:00               ` Björn Bidar
     [not found]               ` <871pxzxlfe.fsf@>
2024-12-24  5:06                 ` Stefan Monnier
2024-12-24 12:36                   ` Eli Zaretskii
2024-12-24 15:30                     ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-12-24 16:38                       ` Eli Zaretskii
2024-12-24 20:39                         ` Björn Bidar [this message]
2024-12-25 17:35                         ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-12-29  1:03                           ` Björn Bidar
2024-12-22 22:17     ` Arsen Arsenović
     [not found] <mailman.2990.1735491145.7082.help-gnu-emacs@gnu.org>
2025-01-02  7:01 ` Marco Antoniotti
2025-01-02 23:12   ` Björn Bidar
     [not found]   ` <67771d72.170a0220.681ba.7fadSMTPIN_ADDED_BROKEN@mx.google.com>
2025-01-03  9:52     ` Marco Antoniotti
2025-01-03 21:06       ` Björn Bidar
2025-01-04 15:28         ` Stefan Monnier via Users list for the GNU Emacs text editor
     [not found] <mailman.2138.1735192985.7155.help-gnu-emacs@gnu.org>
2024-12-26  9:01 ` Marco Antoniotti
     [not found] <mailman.81.1734714033.1948.help-gnu-emacs@gnu.org>
2024-12-21 20:04 ` Marco Antoniotti
2024-12-23 20:15   ` Björn Bidar
     [not found]   ` <6769c4ea.170a0220.d60c5.1423SMTPIN_ADDED_BROKEN@mx.google.com>
2024-12-23 20:56     ` Marco Antoniotti
2024-12-24  5:58       ` Stefan Monnier via Users list for the GNU Emacs text editor
     [not found] <mailman.87.1733936470.18564.help-gnu-emacs@gnu.org>
2024-12-13 11:43 ` Marco Antoniotti
2024-12-13 12:23   ` Eli Zaretskii
     [not found] <mailman.606.1733669386.12711.help-gnu-emacs@gnu.org>
2024-12-08 15:18 ` Marco Antoniotti
2024-12-08 15:29   ` Jean Louis
2024-12-08 15:36     ` Marco Antoniotti
2024-12-08 15:50       ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-12-08 16:36       ` Eli Zaretskii
2024-12-08 16:30   ` Eli Zaretskii
     [not found] <mailman.77.1733590872.28947.help-gnu-emacs@gnu.org>
2024-12-08  9:59 ` Marco Antoniotti
2024-12-08 11:40   ` Eli Zaretskii
2024-12-08 15:47     ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-12-08 16:39       ` Eli Zaretskii
2024-12-08 16:48         ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-12-08 17:46           ` Eli Zaretskii
2024-12-09 14:11             ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-12-07 16:27 Marco Antoniotti
2024-12-07 16:43 ` Eli Zaretskii
2024-12-07 19:09 ` Björn Bidar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='48891.6516931326$1735072827@news.gmane.org' \
    --to=bjorn.bidar@thaodan.de \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.