Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl_cpan_polymake_prereq: Update install instructions #31830

Open
mkoeppe opened this issue May 18, 2021 · 4 comments
Open

perl_cpan_polymake_prereq: Update install instructions #31830

mkoeppe opened this issue May 18, 2021 · 4 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented May 18, 2021

On macOS, it has gotten harder to install all Perl libraries needed for polymake.

  • To clean out previous installations of Perl packages:

    rm -rf ~/perl5
    
  • System /usr/bin/perl on macOS Catalina is 5.18, does not have EXTERN.h. To compile Perl packages, need to make headers from XCode available by setting CPATH. Also need to override various test failures that seem to come from system integrity protection using cpan install -f.

    env CPATH="$(xcrun --show-sdk-path)/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE:$CPATH" /usr/bin/cpan install -f XML::Writer XML::LibXML XML::LibXSLT File::Slurp JSON SVG || echo "(ignoring error)"
    

    (This setting of the environment variable should not be made persistent.)

  • homebrew's perl5 .... info needed

  • perlbrew (current recommendation by Perl users): https://perlbrew.pl/ https://github.com/gugod/App-perlbrew

  • https://github.com/tokuhirom/plenv (alternative to perlbrew)

Depends on #31840

CC: @yuan-zhou @jplab @kliem @sophiasage @tscrim

Component: packages: optional

Issue created by migration from https://trac.sagemath.org/ticket/31830

@mkoeppe mkoeppe added this to the sage-9.4 milestone May 18, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented May 20, 2021

Dependencies: #31840

@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Aug 22, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 May 3, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Sep 19, 2022
@mkoeppe mkoeppe removed this from the sage-9.8 milestone Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant