[erlang-questions] Default install prefix

Dmitry Kolesnikov <>
Fri May 25 23:59:01 CEST 2012


Hello,

you should have /usr/bin and it should contains a symbolic links to  ../lib/erlang/bin/*
I do not know what was the actual design decision to put binaries under ../lib/erlang/bin but I am suspecting it facilitates "release" creation. The release contains a full VM binaries and erts it is much more easy to tar gzip ../lib/erlang/bin instead of filtering /usr/bin for relevant files. 

- Dmitry

On May 26, 2012, at 12:31 AM, Forrest Aldrich wrote:

> My configure flags are pretty straightforward:
> 
>      ./configure --prefix=/usr --enable-m64-build --without-javac --with-odbc=/usr
> 
> WHY does erlang insist on doing this for the installation?
> 
>      /usr/lib/erlang/bin/./erl
> 
> No other program is going to find this in a reasonable $PATH setting.
> 
> The ./configure --prefix=/usr should assume /usr as the root and bin/ underneath that, just like any other program.   Am I missing something here.
> 
> 
> 
> Forrest
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list