Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Get an error message when trying to install sage cell server

I am interested in contributing to the sage cell server and am going through the steps outlined in the readme in the github page. When I get to step #5, I get the following error message that is detailed below. I am running this on a kubuntu virtual machine (VMWare) but I don't see that should matter. Is there another way to achieve this? Can I just download and unzip the archive? If this is the case, where do I unzip it to? Any insight as to what the issue might be is greatly appreciated, thanks!

aaronej@ubuntu:~/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux$ ./sage -i http://sage.math.washington.edu/home/jason/sagecell-spkg/sagecell-2013-04-05.spkg
Attempting to download package sagecell-2013-04-05
>>> Downloading sagecell-2013-04-05.spkg.                                                                                                                                                                                                                                      
[............................................................]                                                                                                                                                                                                                 
sagecell-2013-04-05                                                                                                                                                                                                                                                            
====================================================                                                                                                                                                                                                                           
Extracting package /home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/optional/sagecell-2013-04-05.spkg                                                                                                                                              
-rw-rw-r-- 1 aaronej aaronej 60793713 May 18 17:36 /home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/optional/sagecell-2013-04-05.spkg                                                                                                              
Finished extraction                                                                                                                                                                                                                                                            
****************************************************                                                                                                                                                                                                                           
Host system:                                                                                                                                                                                                                                                                   
Linux ubuntu 3.8.0-21-generic #32-Ubuntu SMP Tue May 14 22:16:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux                                                                                                                                                                       
****************************************************                                                                                                                                                                                                                           
C compiler: gcc                                                                                                                                                                                                                                                                
C compiler version:                                                                                                                                                                                                                                                            
Using built-in specs.                                                                                                                                                                                                                                                          
COLLECT_GCC=gcc                                                                                                                                                                                                                                                                
COLLECT_LTO_WRAPPER=/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper                                                                                                                
Target: x86_64-unknown-linux-gnu                                                                                                                                                                                                                                               
Configured with: ../src/configure --prefix=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-local-prefix=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-gmp=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-mpfr=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-mpc=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-system-zlib --disable-multilib --disable-nls              
Thread model: posix                                                                                                                                                                                                                                                            
gcc version 4.7.2 (GCC)                                                                                                                                                                                                                                                        
****************************************************                                                                                                                                                                                                                           
Patching Sage                                                                                                                                                                                                                                                                  
adding 01-sage-embedded.patch to series file                                                                                                                                                                                                                                   
applying 01-sage-embedded.patch                                                                                                                                                                                                                                                
patching file sage/misc/hg.py
Hunk #1 succeeded at 74 with fuzz 1 (offset 0 lines).
patching file sage/misc/sagedoc.py
Hunk #1 FAILED at 35
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/sagedoc.py.rej
patching file sage/misc/sageinspect.py
Hunk #1 FAILED at 127
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/sageinspect.py.rej
patching file sage/misc/session.pyx
Hunk #1 succeeded at 67 with fuzz 1 (offset 1 lines).
Hunk #3 FAILED at 340
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/session.pyx.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
errors during apply, please fix and refresh 01-sage-embedded.patch
Error pushing patch 01-sage-embedded.patch.

real    0m3.161s
user    0m0.976s
sys     0m0.932s
************************************************************************
Error installing package sagecell-2013-04-05
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/logs/pkgs/sagecell-2013-04-05.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/build/sagecell-2013-04-05 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/build/sagecell-2013-04-05' && '/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
click to hide/show revision 2
retagged

Get an error message when trying to install sage cell server

I am interested in contributing to the sage cell server and am going through the steps outlined in the readme in the github page. When I get to step #5, I get the following error message that is detailed below. I am running this on a kubuntu virtual machine (VMWare) but I don't see that should matter. Is there another way to achieve this? Can I just download and unzip the archive? If this is the case, where do I unzip it to? Any insight as to what the issue might be is greatly appreciated, thanks!

aaronej@ubuntu:~/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux$ ./sage -i http://sage.math.washington.edu/home/jason/sagecell-spkg/sagecell-2013-04-05.spkg
Attempting to download package sagecell-2013-04-05
>>> Downloading sagecell-2013-04-05.spkg.                                                                                                                                                                                                                                      
[............................................................]                                                                                                                                                                                                                 
sagecell-2013-04-05                                                                                                                                                                                                                                                            
====================================================                                                                                                                                                                                                                           
Extracting package /home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/optional/sagecell-2013-04-05.spkg                                                                                                                                              
-rw-rw-r-- 1 aaronej aaronej 60793713 May 18 17:36 /home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/optional/sagecell-2013-04-05.spkg                                                                                                              
Finished extraction                                                                                                                                                                                                                                                            
****************************************************                                                                                                                                                                                                                           
Host system:                                                                                                                                                                                                                                                                   
Linux ubuntu 3.8.0-21-generic #32-Ubuntu SMP Tue May 14 22:16:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux                                                                                                                                                                       
****************************************************                                                                                                                                                                                                                           
C compiler: gcc                                                                                                                                                                                                                                                                
C compiler version:                                                                                                                                                                                                                                                            
Using built-in specs.                                                                                                                                                                                                                                                          
COLLECT_GCC=gcc                                                                                                                                                                                                                                                                
COLLECT_LTO_WRAPPER=/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/local/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper                                                                                                                
Target: x86_64-unknown-linux-gnu                                                                                                                                                                                                                                               
Configured with: ../src/configure --prefix=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-local-prefix=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-gmp=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-mpfr=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-mpc=/home/buildbot/build/sage/snapperkob/snapperkob_binary/build/sage-5.9/local --with-system-zlib --disable-multilib --disable-nls              
Thread model: posix                                                                                                                                                                                                                                                            
gcc version 4.7.2 (GCC)                                                                                                                                                                                                                                                        
****************************************************                                                                                                                                                                                                                           
Patching Sage                                                                                                                                                                                                                                                                  
adding 01-sage-embedded.patch to series file                                                                                                                                                                                                                                   
applying 01-sage-embedded.patch                                                                                                                                                                                                                                                
patching file sage/misc/hg.py
Hunk #1 succeeded at 74 with fuzz 1 (offset 0 lines).
patching file sage/misc/sagedoc.py
Hunk #1 FAILED at 35
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/sagedoc.py.rej
patching file sage/misc/sageinspect.py
Hunk #1 FAILED at 127
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/sageinspect.py.rej
patching file sage/misc/session.pyx
Hunk #1 succeeded at 67 with fuzz 1 (offset 1 lines).
Hunk #3 FAILED at 340
1 out of 3 hunks FAILED -- saving rejects to file sage/misc/session.pyx.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
errors during apply, please fix and refresh 01-sage-embedded.patch
Error pushing patch 01-sage-embedded.patch.

real    0m3.161s
user    0m0.976s
sys     0m0.932s
************************************************************************
Error installing package sagecell-2013-04-05
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/logs/pkgs/sagecell-2013-04-05.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/build/sagecell-2013-04-05 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/spkg/build/sagecell-2013-04-05' && '/home/aaronej/sage/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************