On Tue, Apr 15, 2008 at 9: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. :)

Hi Ondrej,
I also ran into this problem using the binary. What I did was to
create a new branch:
$ ./sage -clone mybranch

Note that cloning builds the whole sage library which might take some
time, but thankfully not as long as building sage itself. After you're
done cloning, cd into devel/sage-mybranch , make your changes and

$ ./sage -b mybranch

will pick up your changes and build. Hope this helps!

didier

>
>  Ondrej
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to