Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

building on OS X (with perlbrew and MacPorts) #430

Open
adamcrussell opened this issue Apr 17, 2021 · 1 comment
Open

building on OS X (with perlbrew and MacPorts) #430

adamcrussell opened this issue Apr 17, 2021 · 1 comment
Assignees

Comments

@adamcrussell
Copy link

I was able to build and install cperl-5.30.0 under perlbrew. A couple of files need small fixes.

List of all steps:

  • download cperl-5.30.0.tar.gz from github
  • perlbrew install /path/to/cperl-5.30.0.tar.gz as cperl-5.30.0 &
  • just as the build starts you can easily "patch" the files for the running build
  • cd ~/perl5/perlbrew/build/cperl-5.30.0/cperl-5.30.0 and modify write_buildcustomize.pl in order to add dist/if to line 31
  • comment out line 115 of installman (or else it will complain about a non-existant file handle. whatever, seems ok to ignore. maybe worth investigating at some point I suppose.)
  • yeah, you could make those changes to the files beforehand too, say, by untarring, editing, and retarring and gzipping. perlbrew seems to only take local tarballs instead of having an option for uncompressed local directories?
  • watch the scrolling output with tail -f ~/perl5/perlbrew/build.cperl-5.30.0.log

Done!

@rurban
Copy link
Member

rurban commented Apr 18, 2021

Nice, I'll check

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants