Can we use a different folder for building?
- Dominant language
- Perl
- Stars
- 735
- Forks
- 231
- PR merge metrics
- No merged PRs in 30d
Description
I raised https://github.com/gugod/App-perlbrew/issues/576 because Perl libraries were failing many tests when I installed, but I closed that issue once I realized that the problem is that my home directory is NFS mounted. That does bad things to permissions. Running perlbrew install worked after I set PERLBREW_ROOT to /tmp/myfolder, because /tmp is a local mount.
That isn't ideal though, because I assume /tmp will be cleared regularly. Even if I used a different folder that isn't cleared regularly, I'd like to use my home directory because NFS mounting has a big virtue: the files will be available regardless of which of our servers I am logged into.
It seems like the solution would be to build Perl in a local directory like /tmp, but copy it back to the final destination in my home directory after it's done. I can probably manage this manually, but is there a way to configure Perlbrew to do this for me?
Contributor guide
Research direction
Start with the perlbrew install entry point and the handling of PERLBREW_ROOT, using the reported /tmp/myfolder setup as the behavioral reference. Determine how a local build directory could be configured while preserving the final installation in the home directory, then verify that installations and their files remain usable after completion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100