[erlang-questions] installing erlang documentation
Joseph Wayne Norton
Wed Aug 1 05:29:25 CEST 2012
I'm not sure if this has been mentioned by someone else before but "kerl" makes it really easy to download, to build, and to install your own Erlang system.
Here are the basics needed to get going quickly.
Please customise as you see fit.
$ alias | grep kerl
alias kerlbuildotp='kerl build R13B04 r13b04; kerl build R14B04 r14b04; kerl build R15B01 r15b01'
alias kerlinstall='mkdir -p ~/bin; wget -q -O - https://raw.github.com/spawngrid/kerl/master/kerl > ~/bin/kerl; chmod a+x ~/bin/kerl; kerl update releases'
alias kerlinstallotp='kerl install r13b04 ~/.kerl/installations/r13b04; kerl install r14b04 ~/.kerl/installations/r14b04; kerl install r15b01 ~/.kerl/installations/r15b01'
alias kerlunbuildotp='kerl delete build r13b04; kerl delete build r14b04; kerl delete build r15b01'
alias kerluninstallotp='kerl delete installation ~/.kerl/installations/r13b04; kerl delete installation ~/.kerl/installations/r14b04; kerl delete installation ~/.kerl/installations/r15b01'
$ cat ~/.kerlrc
# -*- Sh -*-
# vim: set syntax=sh:
KERL_CONFIGURE_OPTIONS="--enable-kernel-poll --enable-threads --enable-dynamic-ssl-lib --enable-shared-zlib --enable-smp-support"
case `uname -s` in
case `uname -m` in
KERL_DEPLOY_SSH_OPTIONS="-qx -o PasswordAuthentication=no"
On Aug 1, 2012, at 12:11 PM, "7stud" <> wrote:
> -----Original Message-----
> From: "Michel Rijnders" 
> Date: 07/31/2012 03:02 PM
> To: "7stud" <>
> Subject: Re: [erlang-questions] installing erlang documentation
> On Tue, Jul 31, 2012 at 8:13 PM, 7stud <> wrote:
>> I successfully installed Erlang on Mac OSX 10.6, after untaring and doing:
>> sudo make install
>> and I've been practicing Erlang for a couple of weeks as I read "Erlang Programming".
>> But I'm having no luck installing the erlang documentation. I downloaded the binary version of fop and set my JAVA_HOME environment variable to /Library/Java/Home, and I can successfully echo $JAVA_HOME, but the fop command is not recognized on the command line:
>> -bash: fop: command not found
>> so I assume that means that the elrang installation can't use the fop command to install the documentation either. At this point, I don't know what to do.
> You probably know this, but just to be sure, both HTML documentation
> and man pages are available as separate downloads from:
> Thanks, I didn't know about the docs download. But once again I am having trouble accessing the docs. I can certainly untar the file:
> ...but then what?? The README file gives no hints about how to install the docs. And this is what I get:
> ~/Downloads/otp_docs_man$ erl -man lists
> No manual entry for lists
> erlang-questions mailing list
More information about the erlang-questions