Open wojtekmach opened 3 weeks ago
Thanks @wojtekmach! btw I'm not sure if it would be a good idea to do a little hack to the launch scripts (in this repo of course) to bring the relocatable feature to OTP 24, or just do an AS-IS
build and make a note in README.md? (I mean of course it's not necessary to use the code in this repo for your proposal, but just as a general question regarding whether the precompiled OTP 24 should have this feature)
@cocoa-xu agreed, I think it's safe to run ./Install on OTP 25+ but otherwise keep things as is and document accordingly. FYI I'll be submitting an OTP patch to have a .zip Windows build in releases which is archived relocatable install. :) (See https://github.com/erlang/otp/pull/8729#issuecomment-2298754932)
I tried the following and received two different errors:
I was able to solve the first error by doing:
cd otp-27.0.1/usr/local/lib/erlang && ./Install -sasl $PWD
, fwiw. I guess this is expected but I thought I'd mention this.In my builds I was doing
./Install
before archiving since the installation is relocatable as of OTP 25.