[sage-devel] Re: Error building branch from git clone
That worked, fantastic, thanks so much. -AH On Saturday, January 16, 2016 at 12:14:56 PM UTC-5, Volker Braun wrote: > > Are you switching between Sage-6 and Sage-7 based branches? Then you need > to recompile everything ("make distclean && make") > > > On Saturday, January 16, 2016 at 5:53:45 PM UTC+1, Anna Haensch wrote: >> >> Thanks for the replies. I just made a fresh new clone, then checked out >> the branch, and tried to run make, and got a different error, this time >> it's: >> >> Error installing package mpfr-3.1.2.p0 >> >> >> And now I can't run sage. To be clear, I ran precisely the following >> commands: >> >> >> annahaensch$ git clone git://github.com/sagemath/sage.git >> >> annahaensch$ cd sage >> >> sage annahaensch$ make >> >> sage annahaensch$ cd ~ >> >> annahaensch$ git clone https://github.com/sagemath/git-trac-command.git >> >> annahaensch$ source git-trac-command/enable.sh >> >> annahaensch$ cd sage >> >> sage annahaensch$ git trac config --user annahaensch --pass '' >> >> sage annahaensch$ git remote -v >> >> origin git://github.com/sagemath/sage.git (fetch) >> >> origin git://github.com/sagemath/sage.git (push) >> >> trac git://trac.sagemath.org/sage.git (fetch) >> >> trac g...@trac.sagemath.org:sage.git (push) >> >> sage annahaensch$ git trac checkout 19112 >> >> Loading ticket #19112... >> >> Checking out Trac #19112 remote branch u/tgaona/ticket/19112 -> local >> branch t/19112/ticket/19112... >> >> sage annahaensch$ git branch >> >> master >> >> * t/19112/ticket/19112 >> >> haenscha-ch-3:sage annahaensch$ make >> >> On Thursday, January 14, 2016 at 3:18:03 PM UTC-5, Anna Haensch wrote: >>> >>> Hello, not sure if I should be posting this here or sage-support, but >>> I'm having difficulty building a local sage branch. I'm working from a >>> clone build from the sage git repository and I just created a branch from >>> an existing ticket on sagetrac. If I want to boot up sage and actually use >>> the edits in that local branch, I'm pretty sure I need to rebuild sage >>> first, from within that branch. So, per the instructions on the Sage >>> Developer's Guide I ran: >>> >>> sage$ ./sage -br >>> >>> but it keeps getting hung up on the following error message, and now I >>> can't even run sage anymore. >>> >>> /Users/annahaensch/sage/src/build/cythonized/sage/symbolic/expression.cpp:73454:1: >>> >>> required from here >>> >>> /Users/annahaensch/sage/local/include/pynac/container.h:587:52: error: >>> 'subschildren' was not declared in this scope >>> >>> std::unique_ptr vp = subschildren(m, options); >>> >>> ^ >>> >>> Any ideas? Thanks in advance. >>> >>> -Anna >>> >> -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Error building branch from git clone
Thanks for the replies. I just made a fresh new clone, then checked out the branch, and tried to run make, and got a different error, this time it's: Error installing package mpfr-3.1.2.p0 And now I can't run sage. To be clear, I ran precisely the following commands: annahaensch$ git clone git://github.com/sagemath/sage.git annahaensch$ cd sage sage annahaensch$ make sage annahaensch$ cd ~ annahaensch$ git clone https://github.com/sagemath/git-trac-command.git annahaensch$ source git-trac-command/enable.sh annahaensch$ cd sage sage annahaensch$ git trac config --user annahaensch --pass '' sage annahaensch$ git remote -v origin git://github.com/sagemath/sage.git (fetch) origin git://github.com/sagemath/sage.git (push) trac git://trac.sagemath.org/sage.git (fetch) trac g...@trac.sagemath.org:sage.git (push) sage annahaensch$ git trac checkout 19112 Loading ticket #19112... Checking out Trac #19112 remote branch u/tgaona/ticket/19112 -> local branch t/19112/ticket/19112... sage annahaensch$ git branch master * t/19112/ticket/19112 haenscha-ch-3:sage annahaensch$ make On Thursday, January 14, 2016 at 3:18:03 PM UTC-5, Anna Haensch wrote: > > Hello, not sure if I should be posting this here or sage-support, but I'm > having difficulty building a local sage branch. I'm working from a clone > build from the sage git repository and I just created a branch from an > existing ticket on sagetrac. If I want to boot up sage and actually use > the edits in that local branch, I'm pretty sure I need to rebuild sage > first, from within that branch. So, per the instructions on the Sage > Developer's Guide I ran: > > sage$ ./sage -br > > but it keeps getting hung up on the following error message, and now I > can't even run sage anymore. > > /Users/annahaensch/sage/src/build/cythonized/sage/symbolic/expression.cpp:73454:1: > > required from here > > /Users/annahaensch/sage/local/include/pynac/container.h:587:52: error: > 'subschildren' was not declared in this scope > > std::unique_ptr vp = subschildren(m, options); > > ^ > > Any ideas? Thanks in advance. > > -Anna > -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Error building branch from git clone
Are you switching between Sage-6 and Sage-7 based branches? Then you need to recompile everything ("make distclean && make") On Saturday, January 16, 2016 at 5:53:45 PM UTC+1, Anna Haensch wrote: > > Thanks for the replies. I just made a fresh new clone, then checked out > the branch, and tried to run make, and got a different error, this time > it's: > > Error installing package mpfr-3.1.2.p0 > > > And now I can't run sage. To be clear, I ran precisely the following > commands: > > > annahaensch$ git clone git://github.com/sagemath/sage.git > > annahaensch$ cd sage > > sage annahaensch$ make > > sage annahaensch$ cd ~ > > annahaensch$ git clone https://github.com/sagemath/git-trac-command.git > > annahaensch$ source git-trac-command/enable.sh > > annahaensch$ cd sage > > sage annahaensch$ git trac config --user annahaensch --pass '' > > sage annahaensch$ git remote -v > > origin git://github.com/sagemath/sage.git (fetch) > > origin git://github.com/sagemath/sage.git (push) > > trac git://trac.sagemath.org/sage.git (fetch) > > trac g...@trac.sagemath.org:sage.git (push) > > sage annahaensch$ git trac checkout 19112 > > Loading ticket #19112... > > Checking out Trac #19112 remote branch u/tgaona/ticket/19112 -> local > branch t/19112/ticket/19112... > > sage annahaensch$ git branch > > master > > * t/19112/ticket/19112 > > haenscha-ch-3:sage annahaensch$ make > > On Thursday, January 14, 2016 at 3:18:03 PM UTC-5, Anna Haensch wrote: >> >> Hello, not sure if I should be posting this here or sage-support, but I'm >> having difficulty building a local sage branch. I'm working from a clone >> build from the sage git repository and I just created a branch from an >> existing ticket on sagetrac. If I want to boot up sage and actually use >> the edits in that local branch, I'm pretty sure I need to rebuild sage >> first, from within that branch. So, per the instructions on the Sage >> Developer's Guide I ran: >> >> sage$ ./sage -br >> >> but it keeps getting hung up on the following error message, and now I >> can't even run sage anymore. >> >> /Users/annahaensch/sage/src/build/cythonized/sage/symbolic/expression.cpp:73454:1: >> >> required from here >> >> /Users/annahaensch/sage/local/include/pynac/container.h:587:52: error: >> 'subschildren' was not declared in this scope >> >> std::unique_ptr vp = subschildren(m, options); >> >> ^ >> >> Any ideas? Thanks in advance. >> >> -Anna >> > -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Error building branch from git clone
I recently had a similar problem. Try to 'make' it again, probably some of the code you just wrote depends on parts of the code which have been modified after your clone was made. In my case it worked after re-making it. Minor changes in my code afterwards only needed ./sage -b (if you touched the comments you should rebuild also the documentation) El jueves, 14 de enero de 2016, 21:18:03 (UTC+1), Anna Haensch escribió: > > Hello, not sure if I should be posting this here or sage-support, but I'm > having difficulty building a local sage branch. I'm working from a clone > build from the sage git repository and I just created a branch from an > existing ticket on sagetrac. If I want to boot up sage and actually use > the edits in that local branch, I'm pretty sure I need to rebuild sage > first, from within that branch. So, per the instructions on the Sage > Developer's Guide I ran: > > sage$ ./sage -br > > but it keeps getting hung up on the following error message, and now I > can't even run sage anymore. > > /Users/annahaensch/sage/src/build/cythonized/sage/symbolic/expression.cpp:73454:1: > > required from here > > /Users/annahaensch/sage/local/include/pynac/container.h:587:52: error: > 'subschildren' was not declared in this scope > > std::unique_ptr vp = subschildren(m, options); > > ^ > > Any ideas? Thanks in advance. > > -Anna > -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.