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

optional polymake spkg quickly fails to build on sage.math #4868

Closed
williamstein opened this issue Dec 24, 2008 · 3 comments
Closed

optional polymake spkg quickly fails to build on sage.math #4868

williamstein opened this issue Dec 24, 2008 · 3 comments

Comments

@williamstein
Copy link
Contributor

sage: install_package('polymake-2.2.p4')
...
**********************************************************************
* Unable to download cddlib-094b.p1
* Please see http://www.sagemath.org//packages for a list of valid
* packages or check the package name.
**********************************************************************
sage: Failed to download package cddlib-094b.p1 from http://www.sagemath.org/
tar: /usr/local/sage/spkg/standard/cddlib-094b.p1.spkg: Cannot open: No such file or directory

This is even after installing cddlib.

Component: packages: optional

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

@williamstein
Copy link
Contributor Author

comment:1

I fixed a few problems in the spkg, so now it fails after only 30 minutes as follows:

                 from ../../../apps/polytope/src/cdd_interface.cc:19:
../../../lib/gmp_wrapper/include/Integer.h:783: warning: overflow in implicit constant conversion
../../../lib/gmp_wrapper/include/Integer.h:784: warning: overflow in implicit constant conversion
ld -r -o cdd_interface.o cdd_interface-tmp.o ../../external/cdd/libcddgmp.a
ld: ../../external/cdd/libcddgmp.a: No such file: No such file or directory
make[2]: *** [cdd_interface.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
echo "" | make
Error building polymake

real    0m29.741s
user    0m26.640s
sys     0m3.020s
sage: An error occurred while installing polymake-2.2.p5
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /usr/local/sage/install.log.  Describe your computer, operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/usr/local/sage/spkg/build/polymake-2.2.p5 and type 'make'.
Instead type "/usr/local/sage/sage -sh"
in order to set all environment variables correctly, then cd to
/usr/local/sage/spkg/build/polymake-2.2.p5
(When you are done debugging, you can type "exit" to leave the
subshell.)

The new spkg is here and should replace the original one. Also, I think this should be moved to experimental, in which case we could close this ticket:

http://sage.math.washington.edu/home/was/patches/polymake-2.2.p5.spkg

@williamstein
Copy link
Contributor Author

comment:2

I get the same with mpi4py:

sage: install_package('mpi4py-0.3.1')
Possible names of non-installed packages starting with 'mpi4py-0.3.1':
  mpi4py-0.3.1
  mpi4py-0.3.1

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Dec 24, 2008

comment:3

This is a dupe of #3640.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Dec 24, 2008
@sagetrac-mabshoff sagetrac-mabshoff mannequin removed this from the sage-3.2.3 milestone Dec 24, 2008
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