Last active
February 12, 2020 04:28
-
-
Save SqrtNegInf/4af680d63669a75c19360f45ad4677d5 to your computer and use it in GitHub Desktop.
Build rakubrew for MacOS if default App-Rakubrew install isn't working (i.e. for older MacOS, 10.11 - 10.13)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## make my own 'rakubrew' (avoid issues with 10.15, ____chkstk_darwin symbol not found) | |
## this is a simplified version of 'release-stuff/build-macos.sh' | |
# | |
# 2020-02-11 | |
# start with: git clone https://github.com/Raku/App-Rakubrew.git | |
# afterwards, move 'rakubrew' to the appropriate location | |
cp resources/Config.pm.tmpl lib/App/Rakubrew/Config.pm | |
perl -pi -E 's/<\%distro_format\%>/macos/' lib/App/Rakubrew/Config.pm | |
#cpanm -n PAR::Packer # was failing for me, not sure why | |
cpan -i PAR::Packer | |
cpanm --installdeps -n . | |
cpanm --installdeps -n --cpanfile cpanfile.macos . | |
/usr/local/bin/pp -I lib -M App::Rakubrew::Shell::* -M IO::Socket::SSL -o rakubrew script/rakubrew |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment