On Feb 20, 8:47 am, mabshoff <mabsh...@googlemail.com> wrote: > The spkg needs to be found by Sage. One way is to download it and > place it into $SAGE_ROOT/spkg/standard, i.e. > > cd spkg/standard > curlhttp://sage.math.washington.edu/home/mabshoff/SPKG/gmp-mpir-0.9.spkg > -o gmp-mpir-0.9.spkg > > then restart the build process with > > make > > in $SAGE_ROOT. > > in your case on OSX. Another, somewhat more elegant way is to do
Well, it doesn't look so good right now. I've tried two things: 1) Before you responded, I simply manually placed the spkg in the spkg/standard subdirectory of a freshly untarred sage-3.3.rc2 folder and tried make. 2) After I saw your response, I tried your curl approach in my previously failed sage-3.3.rc2. Then make. Both process give me the same errors below. One other thing. The ./sage -i approach makes no sense to me, since I would need to have built sage already and the point is to try to build it? I ask because this makes me wonder if I'm mis-understanding something. I'll be leaving for work shortly, but I'll take my laptop with me. Mark ---------- Errors resulting from curl --------- mark-mcclures-computer-2:~/Desktop/sage-3.3.rc2/spkg/standard markmcclure$ curl http://sage.math.washington.edu/home/mabshoff/SPKG/gmp-mpir-0.9.spkg -o gmp-mpir-0.9.spkg % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4435k 100 4435k 0 0 102k 0 0:00:43 0:00:43 --:--:-- 139k mark-mcclures-computer-2:~/Desktop/sage-3.3.rc2/spkg/standard markmcclure$ cd ../../ mark-mcclures-computer-2:~/Desktop/sage-3.3.rc2 markmcclure$ ls COPYING.txt install.log sage-README-osx.txt HISTORY.txt ipython sage-python README.txt local script.sage data makefile spkg file.txt sage tmp mark-mcclures-computer-2:~/Desktop/sage-3.3.rc2 markmcclure$ make cd spkg && ./install all 2>&1 | tee -a ../install.log sage-spkg gmp-mpir-0.9 2>&1 You must set the SAGE_ROOT environment variable or run this script from the SAGE_ROOT or SAGE_ROOT/local/bin/ directory. gmp-mpir-0.9 Machine: Darwin mark-mcclures-computer-2.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/ RELEASE_I386 i386 i386 Deleting directories from past builds of previous/current versions of gmp-mpir-0.9 Extracting package /Users/markmcclure/Desktop/sage-3.3.rc2/spkg/ standard/gmp-mpir-0.9.spkg ... -rw-r--r-- 1 markmccl markmccl 4542458 Feb 20 08:53 /Users/ markmcclure/Desktop/sage-3.3.rc2/spkg/standard/gmp-mpir-0.9.spkg tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Read 6138 bytes from /Users/markmcclure/Desktop/sage-3.3.rc2/spkg/ standard/gmp-mpir-0.9.spkg tar: Error exit delayed from previous errors Finished extraction sage: After decompressing the directory gmp-mpir-0.9 does not exist This means that the corresponding .spkg needs to be downloaded again. http://www.sagemath.org//packages/optional/gmp-mpir-0.9.spkg --> gmp- mpir-0.9.spkg [ ] http://www.sagemath.org//packages/standard/gmp-mpir-0.9.spkg --> gmp- mpir-0.9.spkg [ ] http://www.sagemath.org//packages/experimental/gmp-mpir-0.9.spkg --> gmp-mpir-0.9.spkg [ ] http://www.sagemath.org//packages/archive/gmp-mpir-0.9.spkg --> gmp- mpir-0.9.spkg [ ] ********************************************************************** * Unable to download gmp-mpir-0.9 * Please see http://www.sagemath.org//packages for a list of valid * packages or check the package name. ********************************************************************** /Users/markmcclure/Desktop/sage-3.3.rc2/spkg/build bunzip2: Can't open input file gmp-mpir-0.9.spkg: No such file or directory. tar: gmp-mpir-0.9.spkg: Cannot open: No such file or directory tar: Error is not recoverable: exiting now Second download resulted in a corrupted package. make[1]: *** [installed/gmp-mpir-0.9] Error 1 real 0m5.610s user 0m0.161s sys 0m0.558s --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---