[erlang-bugs] DESTDIR installation breaks erlang scripts

Maarten Thibaut mthibaut@REDACTED
Tue Nov 18 21:02:38 CET 2008


Hi,

I have recently installed erlang R12B-5, and noticed several issues  
wrt INSTALL_PREFIX. The scripts that are installed and setup links to  
the actual binaries end up using INSTALL_PREFIX. For instance, I built  
using:

./configure --prefix=/opt/local
make
make install INSTALL_PREFIX=/home/mthibaut/compile/otp-install

After this, lib/erlang/bin/erl (and several other ones) contains:

ROOTDIR=/home/mthibaut/compile/otp-install/opt/local/lib/erlang

Obviously this should be:

ROOTDIR=/home/mthibaut/compile/otp-install/opt/local/lib/erlang

In other words, ROOTDIR should be setup using $PREFIX, not  
$INSTALL_PREFIX.

Is this a known bug?

Thanks,
maarten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20081118/fec50db5/attachment.htm>


More information about the erlang-bugs mailing list