On Fri, Jul 10, 2009 at 8:08 AM, Jan Groenewald<j...@aims.ac.za> wrote: > > Hi > > sage -upgrade 4.0 to 4.1: > > > Finished extraction > **************************************************** > Host system > uname -a: > Linux hamerkop 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC 2009 > x86_64 GNU/Linux > **************************************************** > **************************************************** > GCC Version > gcc -v > Using built-in specs. > Target: x86_64-linux-gnu > Configured with: ../src/configure -v --with-pkgversion='Ubuntu > 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs > --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared > --with-system-zlib --libexecdir=/usr/lib --without-included-gettext > --enable-threads=posix --enable-nls > --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 > --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr > --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu > --host=x86_64-linux-gnu --target=x86_64-linux-gnu > Thread model: posix > gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) > **************************************************** > Traceback (most recent call last): > File "/usr/local/src/sage-4.0/local/bin/hg", line 11, in <module> > from mercurial import demandimport; demandimport.enable() > ImportError: No module named mercurial > Traceback (most recent call last): > File "/usr/local/src/sage-4.0/local/bin/hg", line 11, in <module> > from mercurial import demandimport; demandimport.enable() > ImportError: No module named mercurial > Traceback (most recent call last): > File "/usr/local/src/sage-4.0/local/bin/hg", line 11, in <module> > from mercurial import demandimport; demandimport.enable() > ImportError: No module named mercurial > Traceback (most recent call last): > File "/usr/local/src/sage-4.0/local/bin/hg", line 11, in <module> > from mercurial import demandimport; demandimport.enable() > ImportError: No module named mercurial > Traceback (most recent call last): > File "/usr/local/src/sage-4.0/local/bin/hg", line 11, in <module> > from mercurial import demandimport; demandimport.enable() > ImportError: No module named mercurial > > real 0m0.049s > user 0m0.020s > sys 0m0.028s > sage: An error occurred while installing extcode-4.1 > Please email sage-devel http://groups.google.com/group/sage-devel > explaining the problem and send the relevant part of > of /usr/local/src/sage-4.0/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/src/sage-4.0/spkg/build/extcode-4.1 and type 'make'. > Instead type "/usr/local/src/sage-4.0/sage -sh" > in order to set all environment variables correctly, then cd to > /usr/local/src/sage-4.0/spkg/build/extcode-4.1 > (When you are done debugging, you can type "exit" to leave the > subshell.) > make: *** [installed/extcode-4.1] Error 1 > > real 0m2.154s > user 0m1.992s > sys 0m0.112s > Error building Sage. > Error installing Sage! > 1 r...@hamerkop:/usr/local/src/sage-4.0# > > > I guess this means only half my installation is upgraded and it is a bit > b0rked now?
Just manually force mercurial to install via sage -f mercurial-1.1.2.p0 then type "make" (or "sage -upgrade") after that finishes to continue the upgrade. I think this caused by a mistake in the spkg/standard/deps file. These lines are wrong: $(INST)/$(EXTCODE): $(BASE) $(SAGE_SPKG) $(EXTCODE) 2>&1 since clealry installing the EXTCODE package depends on mercurial. It should be: $(INST)/$(EXTCODE): $(BASE) $(INST)/$(MERCURIAL) $(SAGE_SPKG) $(EXTCODE) 2>&1 This is now trac 6508: http://trac.sagemath.org/sage_trac/ticket/6508 I've also fixed this in the official upgrade server, so it shouldn't cause trouble to anybody else. Thanks again for reporting this. -- William > 0 j...@hamerkop:~$sage > ---------------------------------------------------------------------- > | Sage Version 4.1, Release Date: 2009-07-09 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/usr/local/src/sage-4.0/local/bin/sage-ipython", line 18, in <module> > import IPython > ImportError: No module named IPython > 1 j...@hamerkop:~$ > > I'll be getting the 4.1 sources and recompile from that. Just thought I'd > report. > > regards, > Jan > -- > .~. > /V\ Jan Groenewald > /( )\ www.aims.ac.za > ^^-^^ > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---