Hi Kumar,

On Mon, Mar 9, 2009 at 10:24 PM, Kumar <[email protected]> wrote:
>
> Hi All,
>          I am facing problems in configure sage-notebook in my
> desktop. though i had follow all guide line which is given
> onhttp://www.sagemath.org/doc/inst/node6.html but struck some where in
> the middle
>
> bugs:->
>
> a...@arun:~/Desktop/sage-3.2.3$ su
> Password:

^^ why are you using "su" ? Don't do that! If there is some bug in the
build script, you can easily loose data.

> r...@arun:/home/arun/Desktop/sage-3.2.3# make
> cd spkg && ./install all 2>&1 | tee -a ../install.log
> /bin/ls: cannot access bzip2-*-install: No such file or directory

How did you download sage? I bet you downloaded the binary version.
Then you don't need to type "make", just type "./sage".

If you download the source version, only then you need to build it
yourself by typing "make".

> /bin/ls: cannot access dir-*-install: No such file or directory
> /bin/ls: cannot access prereq-*-install: No such file or directory
> make[1]: Entering directory `/home/arun/Desktop/sage-3.2.3/spkg'
> standard/deps:41: warning: overriding commands for target `installed/'
> standard/deps:38: warning: ignoring old commands for target
> `installed/'
> standard/deps:44: warning: overriding commands for target `installed/'
> standard/deps:41: warning: ignoring old commands for target
> `installed/'
> standard/deps:180: warning: overriding commands for target
> `installed/'
> standard/deps:44: warning: ignoring old commands for target
> `installed/'
> make[1]: Circular installed/python-2.5.2.p8 <- installed/ dependency
> dropped.
> make[1]: Circular installed/python-2.5.2.p8 <- installed/ dependency
> dropped.
> make[1]: Circular installed/python-2.5.2.p8 <- installed/ dependency
> dropped.
> make[1]: Circular installed/zlib-1.2.3.p4 <- installed/ dependency
> dropped.
> make[1]: Circular installed/zlib-1.2.3.p4 <- installed/ dependency
> dropped.
> make[1]: Circular installed/zlib-1.2.3.p4 <- installed/ dependency
> dropped.
> make[1]: Circular installed/termcap-1.3.1.p0 <- installed/ dependency
> dropped.
> make[1]: Circular installed/termcap-1.3.1.p0 <- installed/ dependency
> dropped.
> make[1]: Circular installed/termcap-1.3.1.p0 <- installed/ dependency
> dropped.
> make[1]: Circular installed/readline-5.2.p5 <- installed/ dependency
> dropped.
> make[1]: Circular installed/readline-5.2.p5 <- installed/ dependency
> dropped.
> make[1]: Circular installed/readline-5.2.p5 <- installed/ dependency
> dropped.
> make[1]: Circular installed/libpng-1.2.22.p8 <- installed/ dependency
> dropped.
> make[1]: Circular installed/libpng-1.2.22.p8 <- installed/ dependency
> dropped.
> make[1]: Circular installed/libpng-1.2.22.p8 <- installed/ dependency
> dropped.
> make[1]: Circular installed/ <- installed/ dependency dropped.
> make[1]: Circular installed/ <- installed/ dependency dropped.
> make[1]: Circular installed/ <- installed/ dependency dropped.
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/arun/Desktop/sage-3.2.3/spkg'
> 0.00user 0.00system 0:00.00elapsed 133%CPU (0avgtext+0avgdata
> 0maxresident)k
> 0inputs+0outputs (0major+298minor)pagefaults 0swaps
> To install gap, gp, singular, etc., scripts
> in a standard bin directory, start sage and
> type something like
>   sage: install_scripts('/usr/local/bin')
> at the SAGE command prompt.
>
> SAGE build/upgrade complete!
> r...@arun:/home/arun/Desktop/sage-3.2.3# ./sage
> ----------------------------------------------------------------------
> | Sage Version 3.2.3, Release Date: 2009-01-05                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> /home/arun/Desktop/sage-3.2.3/local/bin/sage.bin: 5: Syntax error: "("
> unexpected
> /home/arun/Desktop/sage-3.2.3/local/bin/python: 5: Syntax error: "("
> unexpected
> /home/arun/Desktop/sage-3.2.3/local/bin/sage-ipython: line 6:
> SAGE IPython startup script.
>
> : command not found
> /home/arun/Desktop/sage-3.2.3/local/bin/sage-ipython: line 8: import:
> command not found
> /home/arun/Desktop/sage-3.2.3/local/bin/sage-ipython: line 9: import:
> command not found
> /home/arun/Desktop/sage-3.2.3/local/bin/sage-ipython: line 14: syntax
> error near unexpected token `['-p','
> /home/arun/Desktop/sage-3.2.3/local/bin/sage-ipython: line 14: `
> sys.argv.extend(['-p', 'sage'])'

Try to unpack Sage again and just type "./sage".

> r...@arun:/home/arun/Desktop/sage-3.2.3# sage: 2+2
> bash: sage:: command not found
> r...@arun:/home/arun/Desktop/sage-3.2.3#

This needs to be run in the sage prompt.

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