<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>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:</div><div><br></div><div>./configure --prefix=/opt/local</div><div>make</div><div>make install INSTALL_PREFIX=/home/mthibaut/compile/otp-install</div><div><br></div><div>After this, lib/erlang/bin/erl (and several other ones) contains:</div><div><br></div><div><div>ROOTDIR=/home/mthibaut/compile/otp-install/opt/local/lib/erlang</div><div><br></div><div>Obviously this should be:</div><div><br></div></div><div>ROOTDIR=/home/mthibaut/compile/otp-install/opt/local/lib/erlang</div><div><br></div><div>In other words, ROOTDIR should be setup using $PREFIX, not $INSTALL_PREFIX.</div><div><br></div><div>Is this a known bug?</div><div><br></div><div>Thanks,</div><div>maarten</div></body></html>