-
-
Notifications
You must be signed in to change notification settings - Fork 596
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 packages for polymake #27763
Comments
comment:2
I'd suggest to have appropriate By the way, could you provide |
comment:3
Do you have a suggestion how to install these CPAN packages if they are not available? |
comment:4
I don't know much about perl. Does it have anything analogous to Python's pip, which allows direct installation from the net (from CPAN, I guess) ? |
comment:5
Yes, the |
comment:6
I tried something like |
comment:7
I have only used I used something like this for |
comment:8
I don't know, it seems one needs to setup some
Anyhow - for checking in autoconf which perl modules are installed, one can use AX_PROG_PERL_MODULES |
comment:9
I also had to install I also see
|
comment:10
Replying to @dimpase:
Yes, this is already mentioned in
With which version of polymake is this? The 3.4 upgrade ticket has fixes for something like this. |
comment:11
If I do
then the tests pass, so the timeout thing seems to be doing more harm than good. |
comment:12
I am testing this branch, so 3.4. |
comment:13
oops, sorry, wrong ticket. This is meant to be about polymake update to 3.4 |
comment:14
yes, #24905. |
comment:15
Please see #27795 for using system's perm package |
comment:17
How about adding checks for all the needed perl packages in the style of #27795 to polymake itself? As usual, they pay a usability price by not using autotools :-) |
comment:18
Replying to @dimpase:
polymake itself does check for the packages needed at build time in its configure script. |
comment:19
The challenge in this ticket is to make the installation of missing Perl packages not depend on internet access. First install
will (1) download and install these prerequisites in $PERL_LOCAL_LIB_ROOT, These are 58 packages, a total of 5 MB of source archives, which we can pack up as the source tar ball of the new spkg Then figure out how to install with plain |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
Author: Matthias Koeppe |
comment:89
Let me know when this is good to be tested: turns out, I might have more time now for testing(!)... |
comment:90
pushing these forward to 9.2 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Dependencies: #29582 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:95
NOT ready for new tests. |
comment:96
Replying to @mkoeppe:
Ok, just I'll wait until you change the flag to needs review and then I could run some installation tests. |
comment:98
Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date. |
comment:99
Setting a new milestone for this ticket based on a cursory review. |
To simplify installation of polymake, we add some required CPAN packages.
Including recursive dependencies, these are 103 packages, a total of 7.5 MB of source archives, which we pack up as the source tar ball of the new spkg
perl_cpan_polymake_prereq
.The source tar ball (attached) also contains a copy of the self-contained
cpanm
Perl script, which is used for installing the packages.If
SAGE_CHECK=no
, only about 35 packages are installed. The rest of the dependencies are for testing.Using an
spkg-configure.m4
, it is downloaded and installed only if the Perl packages are not already present on the system.The
spkg-install
installs the packages via the package dependencies mechanism. If some of the packages are already installed in some version on the system, we do not install a newer version.To try out:
See also the sage-devel post about compilation: https://groups.google.com/forum/#!topic/sage-devel/ukJgMweHszU
Depends on #29582
CC: @dimpase @jplab [email protected] [email protected] [email protected]
Component: packages: optional
Author: Matthias Koeppe
Branch/Commit: u/mkoeppe/perl_packages_for_polymake @
225dea9
Issue created by migration from https://trac.sagemath.org/ticket/27763
The text was updated successfully, but these errors were encountered: