[sage-devel] Re: proper way to recompile a spkg

2011-08-12 Thread leif
On 12 Aug., 18:50, leif wrote: > > env MAKE="make -n" SAGE_PARALLEL_SPKG_BUILD=yes make build | sed -n -e > 's/.*} //' -e 's/ 2>&1.*//p' > > which just prints the names of the spkgs that would get rebuilt / > reinstalled. Missed one superfluous line, use: env MAKE="make -n" SAGE_PARALLEL_SPKG_BU

[sage-devel] Re: proper way to recompile a spkg

2011-08-12 Thread leif
On 12 Aug., 14:51, Rita Morgan wrote: > I have a spkg I would like to recompile with different parameters, > what is the recommended way of doing it? Depends on what parameters you want to change. You can usually set CC, CFLAGS etc., and some packages recognize additional environment variables to

[sage-devel] Re: proper way to recompile a spkg

2011-08-12 Thread Keshav Kini
I think you may need to do `sage -f newspkg`, for one thing, to get the modified spkg itself to get rebuilt/installed. As for dependencies, I am not aware of any dependency-tracking mechanism for SPKGs - am I missing something? If what you're installing is using Python's distutils to install a