On Monday, December 28, 2015 at 8:15:48 PM UTC+11, Volker Braun wrote:
>
> On Monday, December 28, 2015 at 2:25:15 AM UTC+1, Anne Schilling wrote:
>>
>> sage -i sage-mode 
>> does not work.
>>
>  
> It just freezes your computer so you do not get any helpful error messages?
>

Well, it says that it installed it successfully, but where? I cannot find 
it anywhere

anne$ sage -p sage-mode
Found package sage-mode in /Applications/sage/upstream/sage-mode-0.6.spkg
sage-mode-0.6
====================================================
Extracting package /Applications/sage/upstream/sage-mode-0.6.spkg
-rw-r--r--  1 anne  admin  259682 Mar 18  2015 
/Applications/sage/upstream/sage-mode-0.6.spkg
Finished extraction
****************************************************
Host system:
Darwin lolita.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 
02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/Applications/sage/local/libexec/gcc/x86_64-apple-darwin14.5.0/4.9.2/lto-wrapper
Target: x86_64-apple-darwin14.5.0
Configured with: ../src/configure --prefix=/Applications/sage/local 
--with-local-prefix=/Applications/sage/local 
--with-gmp=/Applications/sage/local --with-mpfr=/Applications/sage/local 
--with-mpc=/Applications/sage/local --with-system-zlib --disable-multilib 
--disable-nls --enable-languages=c,c++,fortran --disable-libitm 
--with-build-config=bootstrap-debug --without-isl --without-cloog  
Thread model: posix
gcc version 4.9.2 (GCC) 
****************************************************
running build
running build_py
creating build
creating build/lib
copying xreload.py -> build/lib
copying sage_emacs.py -> build/lib
running install
running build
running build_py
running install_lib
byte-compiling 
/Applications/sage/local/lib/python2.7/site-packages/sage_emacs.py to 
sage_emacs.pyc
byte-compiling 
/Applications/sage/local/lib/python2.7/site-packages/xreload.py to 
xreload.pyc
running install_egg_info
Removing 
/Applications/sage/local/lib/python2.7/site-packages/sage_mode-0.1-py2.7.egg-info
Writing 
/Applications/sage/local/lib/python2.7/site-packages/sage_mode-0.1-py2.7.egg-info
rm: /emacs: Permission denied


A basic install might include the following Emacs Lisp in your .emacs:

(add-to-list 'load-path (expand-file-name "/emacs"))
(require 'sage "sage")
(setq sage-command "/Applications/sage/sage")

;; If you want sage-view to typeset all your output and have plot()
;; commands inline, uncomment the following line and configure sage-view:
;; (require 'sage-view "sage-view")
;; (add-hook 'sage-startup-hook 'sage-view)
;; You can use commands like
;; (add-hook 'sage-startup-hook 'sage-view
;; 'sage-view-disable-inline-output 'sage-view-disable-inline-plots)
;; to have some combination of features.  In future, the customize interface
;; will make this simpler... hint, hint!



real    0m0.086s
user    0m0.044s
sys    0m0.038s
Successfully installed sage-mode-0.6
Deleting temporary build directory
/Applications/sage/local/var/tmp/sage/build/sage-mode-0.6
Finished installing sage-mode-0.6.spkg

Warning: it might be needed to update the Sage library before
installed packages work: you should run 'make' from $SAGE_ROOT
before running Sage.


Before it was in 
`/Applications/sage/local/share/emacs/site-lisp/sage-mode`, but that is 
gone!

Thanks,

Anne 

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to