I upgraded cygwin, including its Singular distribution, to the current version and, yet once again, when I run command Singular I'm getting the familiar Segment fault/Bus error after which Singular hangs. Per earlier posts in this forum, if I add the line
Code:
export PATH=/bin:/usr/bin:usr/X11R6/bin
before the final line of script binSingular, then I can run Singular at the Bash command line and I can run the Windows shortcut Singular (rxvt).
However, despite the earlier posts, if I add that line before the final line of script binESingular, still ESingular bombs, with the following error message:
Code:
Error: Execution of
/bin/xemacs-21.4.20.exe -no-init-file -eval'(progn (setq singular-emacs-home-directory "/usr/share/Singular/emacs")
(load-file "/usr/share/Singular/emacs/.emacs-singular")
(singular-other "/usr/lib/Singular/Singular.exe" "/cygdrive/e/Documentation/CygwinHome/" (list) "singular"))'
Part of the problem may be my confusion as to whether simply to edit the existing export PATH lines in the two scrips or add the additional line suggested...
Thus in script "Singular", the last two lines, lines 9 and 10, as distributed are:
Code:
export PATH="/usr/lib/Singular:$PATH"
exec /usr/lib/Singular/Singular.exe $*
I replaced that export statement with the following, and all seemed OK:
Code:
export PATH=/bin:/usr/bin:usr/X11R6/bin
But should it have been, instead, the following:
Code:
export PATH="/bin:/usr/bin:usr/X11R6/bin:/usr/lib/Singular:$PATH"
(or something else)?
However, similarly editing ESingular still causes that to bomb with the indicated error. The last three lines of ESingular were:
Code:
export PATH="/usr/lib/Singular:/usr/X11R6/bin:$PATH"
export PATH=/bin:/usr/bin:usr/X11R6/bin:/usr/lib/Singular
if [ -z $DISPLAY ]; then export DISPLAY=:0.0; fi
exec /usr/lib/Singular/ESingular.exe $*
I tried replacing the "export PATH" statement with just
Code:
export PATH=/bin:/usr/bin:usr/X11R6/bin
as well as replacing it, instead, with:
Code:
export PATH="/bin:/usr/bin:usr/X11R6/bin:/usr/lib/Singular:$PATH"
But in each case I got the indicated error when I tried to run command ESingular at the Bash command line.
???