On Mar 31, 2016, at 10:36 , Jacques Tramu wrote: > Hi, after installation of Sage-6.9 which did not work (unknow signal at > startup), I installed > Sage 7-1. osX-10-11.3-x86-64 > IT aborts with the following message : > > > Last login: Thu Mar 31 19:20:44 on ttys000 > -bash: PS1: command not found > '/Applications/SageMath-7.1.app/Contents/Resources/sage/sage' --notebook > iMac-de-Jacques-Tramu:~ echolalie$ > '/Applications/SageMath-7.1.app/Contents/Resources/sage/sage' --notebook > /Applications/SageMath-7.1.app/Contents/Resources/sage/sage: line 118: cd: > /Users/echolalie/Desktop/Sage-6.9.app/Contents/Resources/sage: No such file > or directory ????? > /Applications/SageMath-7.1.app/Contents/Resources/sage/sage: cannot > determine SAGE_ROOT directory ??????
Looks like a broken bash/sh script of some sort. "PS1" is the environment variable containing the shell prompt. The fact that the shell complains that "PS1: command not found" means that a script is trying to execute "PS1 ...". I would look for that string without a leading "$" (which would be needed for the shell to properly interpret it). Since this shows up right after the "last login" line, it appears this is in your startup sequence somewhere (see Volker's response). Was this the sage binary or the sage ".app"? HTH -- Justin C. Walker, Curmudgeon-At-Large Institute for the Enhancement of the Director's Income -------- When LuteFisk is outlawed, Only outlaws will have LuteFisk -------- -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.