cperl icon indicating copy to clipboard operation
cperl copied to clipboard

building on OS X (with perlbrew and MacPorts)

Open adamcrussell opened this issue 4 years ago • 1 comments

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!

adamcrussell avatar Apr 17 '21 23:04 adamcrussell

Nice, I'll check

rurban avatar Apr 18 '21 07:04 rurban