[erlang-questions] Keep multiple erlang releases in the same mechine
Serge Aleynikov
serge@REDACTED
Sun Dec 17 17:26:45 CET 2006
I believe it looks under $INSTALL_PATH/lib/erlang/man, where
$INSTALL_PATH is /usr/local or /opt/erlang/current in your case.
Note that man pages are not included in the tarball of the source code,
you need to download/untar that separately.
Serge
Sanjaya Vitharana wrote:
> Hi Serge,
>
> Accept my thanks.
> All works fine. except erl -man <manual name>. do you know how to fix it to
> work with multiple releases?
>
> I mean if shifted to the diffrent release using "ln -s /opt/erlang/<release>
> /opt/erlang/current". man pages related to that release should display with
> erl -man <manual name>. I have no idea about where erl -man looks for man
> pages.
>
> Any idea ?
>
> Regards.
>
> Sanjaya Vitharana
>
>
> ----- Original Message -----
> From: "Serge Aleynikov" <serge@REDACTED>
> To: "Sanjaya Vitharana" <sanjaya@REDACTED>
> Cc: <erlang-questions@REDACTED>
> Sent: Friday, 15 December 2006 10:49 pm
> Subject: Re: [erlang-questions] Keep multiple erlang releases in the same
> mechine
>
>
>> Sanjaya Vitharana wrote:
>>>> /opt/erlang/R10B-9
>>>> /opt/erlang/R11B-1
>>>> /opt/erlang/R11B-2
>>>> ...
>>>> and also create a link to the most recent release:
>>>>
>>>> ln -s /opt/erlang/R11B-2 /opt/erlang/current
>>>>
>>> Thanks Serge ...... this seems good for me too. But what about the
> ERL_TOP
>>> ???
>> What about it? You need to have ERL_TOP explicitly set only when you
>> are doing a custom invocation of "make" in some leaf of the OTP tree
>> during a build process. Once you have OTP installed (such as using the
>> "config --prefix="..." option, "make" and "make install"), you don't
>> need ERL_TOP set.
>>
>>>> Then the programs such as /usr/local/bin/erl can be pointed to:
>>>>
>>>> /opt/erlang/current/bin/erl
>>>>
>>>> etc.
>>>>
>>> means .... all the ERL_BASE_PUB_FILES (in Makefile) should repoint to
>>> /opt/erlang/current/bin/<program file>. Is it ?
>> Yes. Or else use the PATH environment setting as Dominic suggested.
>>
>> --
>> Serge Aleynikov
>> Routing R&D, IDT Telecom
>> Tel: +1 (973) 438-3436
>> Fax: +1 (973) 438-1464
>>
>
>
>
More information about the erlang-questions
mailing list