alot icon indicating copy to clipboard operation
alot copied to clipboard

SPHINXBUILD should be set to sphinx-build-3 (make docs fails)

Open maitra opened this issue 5 years ago • 2 comments

While installing, I get, on Fedora 30:

from Makefile in alot-0.8.1/docs sphinx-build -b man -d build/doctrees source build/man make: sphinx-build: Command not found

Perhaps

SPHINXBUILD = sphinx-build

should be set to

SPHINXBUILD = sphinx-build-3

in python3?

maitra avatar May 21 '19 17:05 maitra

You can set these variables from the command line as a workaround. Do make SPHINXBUILD=sphinx-build-3. Does it work then?

What is the executable name in different distributions? Is it always sphinx-build-3? On Arch Linux /usr/bin/sphinx-build belongs to the python-sphinx package for python 3.

lucc avatar May 23 '19 05:05 lucc

Debian has python-sphinx (py2) and python3-sphinx (py3); and can update-alternatives to chose between them (picks the target of the symlink sphinx-build. I only have the py3 version installed and do not need to adjust the env var as above to compile the docs (just the PYTHON var).

pazz avatar May 25 '19 19:05 pazz