[erlang-questions] Re: Erlang manuals problem when installing from Homebrew
Dmitry Demeshchuk
demeshchuk@REDACTED
Wed Apr 6 16:33:15 CEST 2011
Apparently, /usr/local/Cellar/erlang/R14B02/bin/erl was a symlink to
/usr/local/Cellar/erlang/R14B02/lib/erlang/bin/erl
I added a symlink /usr/local/Cellar/erlang/R14B02/lib/erlang/man
leading to the man pages dir and it started working.
The question is: is there the more right way to point Erlang to the
right manuals directory?
On Wed, Apr 6, 2011 at 5:44 PM, Dmitry Demeshchuk <demeshchuk@REDACTED> wrote:
> Greetings.
>
> I've installed the R14B02 to a fresh machine with no previous versions
> using Homebrew. Everything works good, but "erl -man" seems to be
> broken.
>
> Hombrew is default-configured, so the structure of
> /usr/local/Cellar/erlang/R14B02 is the following:
>
> AUTHORS README.md bin/ lib/ share/
>
> So, the binary files are placed into
> /usr/local/Cellar/erlang/R14B02/bin and the man pages – into
> /usr/local/Cellar/erlang/R14B02/share/man
>
> As far as I understand, when I call "erl -man", it tries to search at
> some other location, not at the one I provided. I tried to add this
> location to MANPATH, but result was the same.
>
> Where does Erlang search for the manuals and is there a way to
> configure these locations?
>
> --
> Best regards,
> Dmitry Demeshchuk
>
--
Best regards,
Dmitry Demeshchuk
More information about the erlang-questions
mailing list