all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59503: 28.2.50; cannot set --mandir when installing
@ 2022-11-23  5:11 daanturo
  2022-11-23 13:54 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: daanturo @ 2022-11-23  5:11 UTC (permalink / raw)
  To: 59503

Despite having set --prefix and/or --mandir to a writable directory in
my $HOME, `make install` always throws me this:

/usr/bin/mkdir: cannot create directory ‘/usr/local/share/man/man1’: Permission denied

Currently on commit 0636e106

Configure flags:

./configure --prefix=$HOME/opt/emacs-28.2.50
--program-transform-name='s/\(ctags\)/\1.emacs/' --with-json
--with-libsystemd --with-modules --with-native-compilation
--with-sound=alsa --without-compress-install

-- 
Daanturo.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#59503: 28.2.50; cannot set --mandir when installing
  2022-11-23  5:11 bug#59503: 28.2.50; cannot set --mandir when installing daanturo
@ 2022-11-23 13:54 ` Eli Zaretskii
  2022-11-23 15:20   ` daanturo
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2022-11-23 13:54 UTC (permalink / raw)
  To: daanturo; +Cc: 59503

> Date: Wed, 23 Nov 2022 12:11:55 +0700
> From: daanturo <daanturo@gmail.com>
> 
> Despite having set --prefix and/or --mandir to a writable directory in
> my $HOME, `make install` always throws me this:
> 
> /usr/bin/mkdir: cannot create directory ‘/usr/local/share/man/man1’: Permission denied

Please show the complete Makefile from the top-level directory of the tree
where you built Emacs.

AFAICT, the command to create that directory is

	umask 022; ${MKDIR_P} "$(DESTDIR)${man1dir}"

and ${man1dir} is determined as follows:

  datarootdir=${prefix}/share
  mandir=${datarootdir}/man
  man1dir=$(mandir)/man1

So if you set prefix to some directory, man pages should be installed in the
share/man/man1 subdirectory of that directory, not in
/usr/local/share/man/man1.  Something's amiss here.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#59503: 28.2.50; cannot set --mandir when installing
  2022-11-23 13:54 ` Eli Zaretskii
@ 2022-11-23 15:20   ` daanturo
  2022-11-23 16:45     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: daanturo @ 2022-11-23 15:20 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 59503

Thank you. Turns out it wasn't any bug but my mistake for running `make
extraclean` after `./configure` but before `make install`.

Please close this bug (I don't think bug reporters can do that, but if that's
possible, can you show me the docs?).

-- 
Daanturo.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#59503: 28.2.50; cannot set --mandir when installing
  2022-11-23 15:20   ` daanturo
@ 2022-11-23 16:45     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2022-11-23 16:45 UTC (permalink / raw)
  To: daanturo; +Cc: 59503-done

> Date: Wed, 23 Nov 2022 22:20:11 +0700
> Cc: 59503@debbugs.gnu.org
> From: daanturo <daanturo@gmail.com>
> 
> Thank you. Turns out it wasn't any bug but my mistake for running `make
> extraclean` after `./configure` but before `make install`.
> 
> Please close this bug

Done.

> (I don't think bug reporters can do that, but if that's possible, can you
> show me the docs?).

You _can_ close bugs, just send message to NNNN-done@debbugs.gnu.org, where
NNNN is the bug number.  Like I did here.

Thanks.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-23 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23  5:11 bug#59503: 28.2.50; cannot set --mandir when installing daanturo
2022-11-23 13:54 ` Eli Zaretskii
2022-11-23 15:20   ` daanturo
2022-11-23 16:45     ` Eli Zaretskii

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.