emacscollective / no-littering

Help keeping ~/.config/emacs clean
GNU General Public License v3.0
635 stars 69 forks source link

Installation from source failing #198

Closed lispstudent closed 1 year ago

lispstudent commented 1 year ago

Expected behavior

Successful installation of no-littering from source.

Observed behavior

git clone https://github.com/emacscollective/no-littering
cd no-littering

gmake
Compiling no-littering.el

In toplevel form:
no-littering.el:181:1: Error: Cannot open load file: No such file or directory, compat
gmake: *** [Makefile:30: no-littering.elc] Error 1

How to reproduce the issue

I am seeing this on FreeBSD 13.1, using Gnu Make, and Emacs 28.2

[~/.emacs.d/no-littering]
% which emacs
/usr/local/bin/emacs

[~/.emacs.d/no-littering]
% emacs --version
GNU Emacs 28.2
Copyright (C) 2022 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

[~/.emacs.d/no-littering]
% uname -a
FreeBSD 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64
lispstudent commented 1 year ago

I have read the README carefully. It does not seem to mention a compat dependency.

tarsius commented 1 year ago

I usually do not mention dependencies in the READMEs of my packages because that information is redundant. package.el already knows the dependencies because of the ;; Package-Requires: (...) in the main library, or else from PACKAGE-pkg.el. If you don't use that package manager, you will have to look in those places yourself.

lispstudent commented 1 year ago

Thank you, all clear now.

Having this information somewhere in the README would perhaps help people in similar situation.