App-perlbrew icon indicating copy to clipboard operation
App-perlbrew copied to clipboard

Binary perls distributions

Open melezhik opened this issue 8 years ago • 1 comments

Hi! It's rather question then issue , but does perlbrew provides binary perl distributions as sometimes rvm does ?

Thanks

melezhik avatar Apr 10 '17 17:04 melezhik

With a little bit of extra convention, tt is actually very easy to do. If we build and install all perl under "/opt/perlbrew/", and set PERLBREW_ROOT to that for binary distributions, than binary distribtion will just work.

If you wish to customize that path for for binary perl installation, that is going to be tricky. It is possible with -Duserelocatableinc, but that only works back to somewhat recent perl version. The parameter was introduced very early (5.8 ish) and it's been made to work on Linux. However when I tried it on MacOS I went into some bootstrapping issue (cannot find Config.pm in @INC or something similar.)

Meaning that, if we can basically discard the possibilyt to move installation to some arbitrary place, we are pretty much all set.

gugod avatar Jun 30 '17 06:06 gugod