Am Dienstag, 31. Juli 2012 14:05:43 UTC+2 schrieb François:
> On Tue, 31 Jul 2012 04:59:26 kfiz wrote:
> > Am Dienstag, 31. Juli 2012 13:04:23 UTC+2 schrieb François:
> > > On Tue, 31 Jul 2012 03:46:34 Dima Pasechnik wrote:
> > > > On Tuesday, 31 July 2012 17:52:16 UTC+8, François wrote:
> > > > > On Tue, 31 Jul 2012 02:46:29 Dima Pasechnik wrote:
> > > > > > In another thread, it was mentioned that maxima does not build
> on
> > > 64-bit
> > > > > > OSX 10.6.8.
> > > > > > How does one see the log of such a build?
> > > > > > Is there any way?
> > > > > > As all one sees on OSX by default is the following:
> > > > > > Now building Maxima; this takes a few minutes.
> > > > > > Since we're on MacOS X and there is a very weird
> > > > > > bug with buffered output while building Maxima,
> > > > > > you will not be able to see the output of the build
> > > > > > as it occurs. Don't worry, the build process does
> > > > > > not hang.
> > > > > Stupid question: Is the file spkg/log/maxima-5.xxxx.log available?
> > > > the attachment here:
> > > > https://groups.google.com/d/msg/sage-devel/oYuthqwvtuw/L1L2FFpWeFUJ
> > > ok. so it has nothing in it. As far as I understand the buffering
> problem
> > > is
> > > somewhat specific of the sage building process. I don't have it in a
> > > Gentoo
> > > prefix on OS X.
> > > So I suggest starting a sage shell (maxima should be built after sage)
> and
> > > try
> > > to build maxima manually. Go to spkg/build/maxima-5.26.0.p0/src and
> then
> > > 'make' and see what happens.
> > > Francois
> > Hi Francois,
> > when opening a sage-shell I get a huge traceback:
> > Doro-Roses-MacBook-Pro:sage-5.1 louis$ ./sage
> > ----------------------------------------------------------------------
> > | Sage Version 5.1, Release Date: 2012-07-09 |
> > | Type "notebook()" for the browser-based notebook interface. |
> > | Type "help()" for help. |
> > ----------------------------------------------------------------------
> ---------------------------------------------------------------------------
> > ImportError Traceback (most recent call
> last)
> > /Applications/sage-5.1/local/bin/<string> in <module>()
> /Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/preparse r
> > _ipython.py in <module>()
> > 6
> ###########################################################################
> > 7
> > ----> 8 import sage.misc.interpreter
> > 9
> > 10 import preparser
> /Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/interpre t
> > er.py in <module>()
> > 103
> > 104 import os
> > --> 105 import log
> > 106 import re
> > 107
> /Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/log.py
> > in <module>()
> > 63
> > 64 import interpreter
> > ---> 65 import latex
> > 66 import misc
> > 67
> /Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/latex.py
> > in <module>()
> > 55 import types
> > 56
> > ---> 57 from misc import tmp_dir, graphics_filename
> > 58 import sage_eval
> > 59 from sage.misc.sage_ostools import have_program
> /Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/misc.py
> > in <module>()
> > 2161 return "0"*(size-len(str(s))) + str(s)
> > 2162
> > -> 2163 import sage.server.support
> > 2164
> > 2165 def embedded():
> /Applications/sage-5.1/local/lib/python2.7/site-packages/sage/server/suppor t
> > .py in <module>()
> > 17 import sage.misc.pager
> > 18
> > ---> 19 import sage.misc.sagedoc as sagedoc
> > 20 import sage.misc.sageinspect as sageinspect
> > 21
> /Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/sagedoc. p
> > y in <module>()
> > 38 from sage.misc.viewer import browser
> > 39 from sage.misc.misc import SAGE_DOC, tmp_dir
> > ---> 40 from sagenb.misc.sphinxify import sphinxify
> > 41 import sage.version
> > 42
> > ImportError: No module named sagenb.misc.sphinxify
> > WARNING: Failure executing code: 'import sage.misc.preparser_ipython;
> > sage.misc.preparser_ipython.magma_colon_equals=True'
> ---------------------------------------------------------------------------
> > ImportError Traceback (most recent call
> last)
> /Applications/sage-5.1/local/lib/python2.7/site-packages/IPython/ipmaker.py c
> > in force_import(modname, force_reload)
> > 61 reload(sys.modules[modname])
> > 62 else:
> > ---> 63 __import__(modname)
> > 64
> > 65
> > /Applications/sage-5.1/local/bin/ipy_profile_sage.py in <module>()
> > 1 import os
> > 2 if 'SAGE_CLEAN' not in os.environ:
> > ----> 3 import sage.misc.misc
> > 4 from sage.misc.interpreter import preparser, _ip
> > 5 preparser(True)
> /Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/misc.py
> > in <module>()
> > 2161 return "0"*(size-len(str(s))) + str(s)
> > 2162
> > -> 2163 import sage.server.support
> > 2164
> > 2165 def embedded():
> /Applications/sage-5.1/local/lib/python2.7/site-packages/sage/server/suppor t
> > .py in <module>()
> > 17 import sage.misc.pager
> > 18
> > ---> 19 import sage.misc.sagedoc as sagedoc
> > 20 import sage.misc.sageinspect as sageinspect
> > 21
> /Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/sagedoc. p
> > y in <module>()
> > 38 from sage.misc.viewer import browser
> > 39 from sage.misc.misc import SAGE_DOC, tmp_dir
> > ---> 40 from sagenb.misc.sphinxify import sphinxify
> > 41 import sage.version
> > 42
> > ImportError: No module named sagenb.misc.sphinxify
> > Error importing ipy_profile_sage - perhaps you should run %upgrade?
> > WARNING: Loading of ipy_profile_sage failed.
> > <ERROR: name 'sage_prompt' is not defined>
> > trying to build maxima manually from terminal doesn't work either. I get
> > the following:
> > Doro-Roses-MacBook-Pro:src louis$ make
> > Making all in admin
> > make[1]: Nothing to be done for `all'.
> > Making all in src
> > test -d binary-ecl || mkdir binary-ecl
> > ecl -norc -eval '(progn (load "../lisp-utils/defsystem.lisp") (load
> > "../lisp-utils/make-depends.lisp") (funcall (intern
> > "CREATE-DEPENDENCY-FILE" :mk) "binary-ecl/maxima" "ecl-depends.mk")
> (quit))'
> > make[1]: ecl: No such file or directory
> > make[1]: *** [ecl-depends.mk] Error 1
> > make: *** [all-recursive] Error 1
> > ...or am I doing something wrong here?
> I am really sorry Doro. I meant for you to do start a sage shell with
> ./sage -sh
> This loads the variables used by sage in a shell. what you would
> have got with "./sage" should be called the sage prompt.
> Because the environment was not set the make command was bound to fail.
> So please try again after ./sage -sh
> Francois
No problem. I'm rather unexperienced with operations in the shell, so I
probably wouldn't have known the difference. ;-)