Hi, Another thing I do when building Sage is delete the large number of cached files that get downloaded as part of installing standard or optional packages. This used to involve deleting spkg/optional/*. Now what you do is:
rm -rf upstream from SAGE_ROOT. For example, in my install that upstream directory was "wasting" 3.4GB. Also, to delete left-over files from failed package installs: rm -rf local/var/tmp/sage/build/ Thanks to Andrew Ohana for clarifying this. It would be cool if there were a make target that did all of this..., e.g., "make cache-clean" since it is not at clear from the name that "upstream" is a cache directory that can be safely deleted, especially given that in the previous version of sage it (=spkg/standard/) had much the same content, and deleting it would be devastating. -- William On Sat, Feb 1, 2014 at 10:36 PM, William Stein <wst...@gmail.com> wrote: > Hi, > > I just wanted to raise awareness (and apologize) that the > re-organization of the layout of Sage broke so many optional spkg's. > In case people run into similar problems, here's what I'm doing to > workaround this mess for sage-6.2 in SageMathCloud. > > 1. These databases are broken: > > cunningham_tables > database_jones_numfield > database_kohel > database_odlyzko_zeta > database_sloane_oeis > database_stein_watkins_mini.p0 > > One workaround is to do this: > > # in SAGE_ROOT > ln -s local/share data > > but the SAGE_DATA variable is gone as well... so you have to add this > *BACK* to src/bin/sage-env (after SAGE_SHARE): > > # this is to be compatible with optional packages that haven't > # been updated to not use SAGE_DATA > export SAGE_DATA="$SAGE_SHARE" > > (Hopefully, this can be added back or the packages fixed for sage-6.3.) > > 2. Another broken package is > > p_group_cohomology > > which doesn't build: > > pGroupCohomology/resolution.pxd:21:0: 'interrupt.pxi' not found > > I don't know a fix. > > 3. There's an optional package called pybtex which doesn't work. > > The package TOPCOM-0.17.4 fails to build: > > ./spkg-install: line 11: cd: > /usr/local/sage/sage-6.1/spkg/standard/: No such file or directory > > I don't know a fix. > > This is all on Ubuntu 12.04 with pretty much anything imaginable installed. > > Trac http://trac.sagemath.org/ticket/14962 is supposed to be about > packages broken by the git reorganization, but it's closed. > > -- William > > -- > William Stein > Professor of Mathematics > University of Washington > http://wstein.org -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.