Thanks again for the helpful comments.  Jason's in particular helped
me realize a large part of the problem is that I usually cannot do
serious work during a time frame when I am online, and I didn't know
to look in the chapter 7 of the developer's tutorial (though there is
not that much more there than in the mercurial-howto.txt).  I think
I'll be able to figure it out, though, with some patience. If I have
specific questions or suggestions to make the process more
straightforward - I think Jason is right that it does presuppose
having used a control system before.  But whatever.

Instead, I now think my specific problem is elsewhere, and I would
really appreciate some help with it if anyone can decipher what
follows. The immediate result of attempting to make a new branch is
that I get a message which ends as follows after trying to use sage
(in that branch, of course):

/Applications/sage/sage
----------------------------------------------------------------------
| SAGE Version 2.10.1, Release Date: 2008-02-02                      |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
---------------------------------------------------------------------------
<type 'exceptions.ImportError'>           Traceback (most recent call
last)

<ERROR: name 'sage_prompt' is not defined>

Not having a prompt is a pretty big issue.  The particular file which
raised the error message is libcsage.dylib, but presumably this is the
symptom, not the cause.  Any thoughts on what went wrong?  Now I am
scared to go back to my main branch, because the last time I tried
this it ate that branch too, and I would rather not download Sage yet
again just for this.

-kcrisman


***************************
Error message when cloning:

Now cloning the current SAGE library branch...
hg clone  sage sage-hackbranch
1426 files updated, 0 files merged, 0 files removed, 0 files
unresolved
Copying over all Pyrex auto-generated .c, .cpp and .h files...
Copying over build directory.
cp -r sage/build sage-hackbranch
Building sage-hackbranch
sage -b hackbranch

----------------------------------------------------------
sage: Building and installing modified SAGE library files.


Installing c_lib
gcc -o src/convert.os -c -O2 -g -fPIC -I/Applications/sage/local/
include -I/Applications/sage/local/include/python2.5 -I/Applications/
sage/local/include/NTL -Iinclude src/convert.c
gcc -o src/interrupt.os -c -O2 -g -fPIC -I/Applications/sage/local/
include -I/Applications/sage/local/include/python2.5 -I/Applications/
sage/local/include/NTL -Iinclude src/interrupt.c
gcc -o src/mpn_pylong.os -c -O2 -g -fPIC -I/Applications/sage/local/
include -I/Applications/sage/local/include/python2.5 -I/Applications/
sage/local/include/NTL -Iinclude src/mpn_pylong.c
gcc -o src/mpz_pylong.os -c -O2 -g -fPIC -I/Applications/sage/local/
include -I/Applications/sage/local/include/python2.5 -I/Applications/
sage/local/include/NTL -Iinclude src/mpz_pylong.c
gcc -o src/stdsage.os -c -O2 -g -fPIC -I/Applications/sage/local/
include -I/Applications/sage/local/include/python2.5 -I/Applications/
sage/local/include/NTL -Iinclude src/stdsage.c
gcc -o src/gmp_globals.os -c -O2 -g -fPIC -I/Applications/sage/local/
include -I/Applications/sage/local/include/python2.5 -I/Applications/
sage/local/include/NTL -Iinclude src/gmp_globals.c
g++ -o src/ZZ_pylong.os -c -fPIC -I/Applications/sage/local/include -I/
Applications/sage/local/include/python2.5 -I/Applications/sage/local/
include/NTL -Iinclude src/ZZ_pylong.cpp
g++ -o src/ntl_wrap.os -c -fPIC -I/Applications/sage/local/include -I/
Applications/sage/local/include/python2.5 -I/Applications/sage/local/
include/NTL -Iinclude src/ntl_wrap.cpp
g++ -o libcsage.dylib -single_module -flat_namespace -undefined
dynamic_lookup -dynamiclib src/convert.os src/interrupt.os src/
mpn_pylong.os src/mpz_pylong.os src/stdsage.os src/gmp_globals.os src/
ZZ_pylong.os src/ntl_wrap.os -L/Applications/sage/local/lib -lntl -
lgmp -lpari
ld: flag: -undefined dynamic_lookup can't be used with
MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
/usr/bin/libtool: internal link edit command failed
scons: *** [libcsage.dylib] Error 1
ERROR: There was an error building c_lib.


real    0m17.555s
user    0m5.921s
sys     0m2.182s
Error building SAGE
*** WARNING **
If you are cloning a previous revision or have uncommited changes to
pyrex files do
    sage -ba
Otherwise SAGE might build using the wrong .c files !!

real    1m10.326s
user    0m14.947s
sys     0m12.072s

**************
Error message when starting:

/Applications/sage/sage
----------------------------------------------------------------------
| SAGE Version 2.10.1, Release Date: 2008-02-02                      |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
---------------------------------------------------------------------------
<type 'exceptions.ImportError'>           Traceback (most recent call
last)

/Applications/sage/local/bin/<string> in <module>()

/Applications/sage/local/lib/python2.5/site-packages/sage/misc/
preparser_ipython.py in <module>()
      6
###########################################################################
      7
----> 8 import sage.misc.interpreter
      9
     10 import preparser

/Applications/sage/local/lib/python2.5/site-packages/sage/misc/
interpreter.py in <module>()
    102
    103 import os
--> 104 import log
    105
    106 import remote_file

/Applications/sage/local/lib/python2.5/site-packages/sage/misc/log.py
in <module>()
     51
     52 import interpreter
---> 53 import latex
     54 import misc
     55

/Applications/sage/local/lib/python2.5/site-packages/sage/misc/
latex.py in <module>()
     41 import random
     42
---> 43 from misc import tmp_dir
     44 import sage_eval
     45

/Applications/sage/local/lib/python2.5/site-packages/sage/misc/misc.py
in <module>()
    362     return 0
    363
--> 364 from sage.misc.misc_c import prod, running_total
    365
    366 # alternative name for prod

<type 'exceptions.ImportError'>: dlopen(/Applications/sage/local/lib/
python2.5/site-packages/sage/misc/misc_c.so, 2): Library not loaded:
libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.5/site-
packages/sage/misc/misc_c.so
  Reason: image not found
WARNING: Failure executing code: 'import sage.misc.preparser_ipython;
sage.misc.preparser_ipython.magma_colon_equals=True'
---------------------------------------------------------------------------
<type 'exceptions.ImportError'>           Traceback (most recent call
last)

/Applications/sage/local/bin/<ipython console> in <module>()

/Applications/sage/local/lib/python2.5/site-packages/sage/misc/misc.py
in <module>()
    362     return 0
    363
--> 364 from sage.misc.misc_c import prod, running_total
    365
    366 # alternative name for prod

<type 'exceptions.ImportError'>: dlopen(/Applications/sage/local/lib/
python2.5/site-packages/sage/misc/misc_c.so, 2): Library not loaded:
libcsage.dylib
  Referenced from: /Applications/sage/local/lib/python2.5/site-
packages/sage/misc/misc_c.so
  Reason: image not found
<ERROR: name 'sage_prompt' is not defined>

--~--~---------~--~----~------------~-------~--~----~
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