On Tue, Apr 15, 2008 at 3:54 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 15, 2008 at 6:33 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > a very beginner question, if I change some .pyx files and want them to > > be recompiled, I thought I need to do "sage -b", like this: > > > > $ ./sage -b > > > > ---------------------------------------------------------- > > sage: Building and installing modified SAGE library files. > > > > > > Installing c_lib > > scons: `install' is up to date. > > running install > > running build > > running build_py > > running build_ext > > building 'sage.modules.free_module_element' extension > > error: unknown file type '.pyx' (from > 'sage/modules/free_module_element.pyx') > > sage: There was an error installing modified sage library code. > > > > > > real 0m0.949s > > user 0m0.768s > > sys 0m0.160s > > > > > > > > I am using the linux binary version. So I guess I need to build Sage > > myself from sources, if I want to do development, right? Compiling > > now... I hoped I could skip this step as I had just couple hours to > > work on it -- next time I'll recompile stuff over the night, so that I > > can hack on it the next day. :) > > The above is trac #2851 > > http://trac.sagemath.org/sage_trac/ticket/2851 > > which I fixed last night. Didier's workaround is one way to deal > with the problem. Another is to touch any cython file. A third > is to delete SAGE_ROOT/devel/sage/.cython_hash
Thanks Didier and William for the quick response! Indeed deleting the .cython_hash fixes the problem, even though now I am recompiling the whole Sage library, but hopefully it won't take long. Ondrej --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---