Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
install:install [2020/06/25 09:49] – [Arch Linux] perl-json benmuell | install:install [2023/10/06 07:43] (current) – perlbrew benmuell | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Installation from Source Code ===== | ===== Installation from Source Code ===== | ||
This page describes how to install polymake from the source code. See the [[: | This page describes how to install polymake from the source code. See the [[: | ||
+ | |||
+ | **Warning: | ||
Usually, following the description in the [[install# | Usually, following the description in the [[install# | ||
Line 15: | Line 17: | ||
===== Quick summary ===== | ===== Quick summary ===== | ||
- | Installing polymake from sources can usually be accomplished using the following | + | Installing polymake from sources can usually be accomplished using the following |
+ | * Make sure to have a supported perl version **older** than 5.38. Otherwise check the section on [[install: | ||
+ | | ||
* Download a source tarball from the [[download/ | * Download a source tarball from the [[download/ | ||
Line 48: | Line 52: | ||
* GNU Readline & History library v5.0+ | * GNU Readline & History library v5.0+ | ||
- | * Perl 5.16.0+, with all of the following modules: | + | * Perl 5.16.0-5.36.x, with all of the following modules: |
* '' | * '' | ||
* '' | * '' | ||
Line 61: | Line 65: | ||
* [[http:// | * [[http:// | ||
+ | ==== Perlbrew ==== | ||
+ | |||
+ | If your perl version is 5.38 or newer you need to build a custom perl to use with polymake. The easiest way to do this is to install '' | ||
+ | |||
+ | Once you have perlbrew installed you need to initialize it with '' | ||
+ | To build a compatible perl use: | ||
+ | < | ||
+ | perlbrew install perl-5.36.1 --as pmperl -Duseshrplib | ||
+ | </ | ||
+ | |||
+ | The above command will take a few minutes, once that is done you can (temporarily) switch the perl version for the current shell with '' | ||
+ | |||
+ | To install the required perl modules for this perl installation run: | ||
+ | < | ||
+ | perlbrew use pmperl | ||
+ | perlbrew install-cpanm | ||
+ | cpanm Term:: | ||
+ | </ | ||
+ | |||
+ | In this shell you can now run the configure script for polymake and continue with the installation instructions. Make sure to always switch the perl to '' | ||
==== Recommended software ==== | ==== Recommended software ==== |