getting_started - custom location - wrong MANPATH
@puredanger ya está trabajando en esto.
Desde el 8/6/2021.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
The getting_started page's Custom Location section gives the following example:
MANPATH_MAP /opt/infrastructure/clojure/bin /opt/infrastructure/clojure/man
Allowing for a different prefix that I gave the installer, the second location does not exist. I think the second location's "/man" should be "/share/man".
The long story is that, to avoid sudo, I could not follow the instructions precisely. Here's what I did to run into the problem and how I resolved it. I suppose that the resolution also applies to the sudo-related case illustrated on getting_started.
mkdir ${HOME}/opt
./linux-install-1.10.1.739.sh --prefix ${HOME}/opt/clojure
Instead of changing a man-related configuration in /etc, I added the following line to .bash_profile:
export MANPATH=":${HOME}/opt/clojure/bin:${HOME}/opt/clojure/man"
(Initial colon important to indicate that this is an addendum to system locations.) I activated the new MANPATH with source .bash_profile. But man -u clj did not yield any results.
After changing to
export MANPATH=":${HOME}/opt/clojure/bin:${HOME}/opt/clojure/share/man"
the man -u clj command worked.
- Lenguaje dominante
- HTML
- Estrellas
- 259
- Forks
- 277
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de clojure/clojure-site
-
Document `do` behavior at top-levelQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
clojure/clojure-site#723 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
clojure/clojure-site#538 · 3 comentarios ·
-
Deps and CLI Guide: In MS Windows Control-C should be used instead of Control-DQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertohelp wanted
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
clojure/clojure-site#386 · 1 comentario ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 55/100
clojure/clojure-site#715 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
clojure/clojure-site#713 ·