Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - cygwin Singular Segment fault/Bus error again!
Author Message
  Post subject:   Reply with quote
I cannot think of any more useful path entries for Singular, except maybe
Code:
.
if you want to call scripts / applications from the local directory within Singular.

Sincerely,

Oliver Wienand
Singular Team
Post Posted: Sun Dec 10, 2006 5:31 pm
  Post subject:   Reply with quote
wienand wrote:
This problem arises if the path variable is too long. Please insert the following line in the scripts "binSingular" and "binESingular" before line 9:

Quote:
export PATH=/bin:/usr/bin:usr/X11R6/bin


And add further path entries you need while running Singular....


Yes, I can now start Singular or ESingular after first starting Cygwin. Also without first starting Cygwin manually but by running the shortcuts "Singular (Emacs and X-Server) (experimental)", "Singular (rxvt)", and "Singular (Terminal)". Also by running first the shortcut "Start X - Server (needed for emacs and surf)" and then the shortcut "Singular (Emacs)".

I did not add any path entries beyond the three you explicitly listed. What other additions might be needed?
Post Posted: Sun Dec 10, 2006 6:59 am
  Post subject:   Reply with quote
This problem arises if the path variable is too long. Please insert the following line in the scripts "binSingular" and "binESingular" before line 9:

Quote:
export PATH=/bin:/usr/bin:usr/X11R6/bin


And add further path entries you need while running Singular.

If you need to use a very long path inside Singular please contact me again and I will provide you an executable without this limitation. (The limitation is at the moment around 1200 characters.)

Future versions of Singular may not be affected by this behaviour. Please refer to the next change log for details. (Current Version: 3.0.2)
Post Posted: Mon Nov 27, 2006 2:34 pm
  Post subject:  cygwin Singular Segment fault/Bus error again!  Reply with quote
Once again after a routine update of cygwin, Singular is no longer working. Typing "Singular" at the cygwin prompt gives the all-too-familiar "Segment fault/Bus error" message.

However, first giving command

export PATH=/usr/local/bin:/usr/bin:/bin

DOES allow Singular to work (and, if I also start X, ESingular) from within cygwin.

In the past this problem has been traced to difficulties with the Windows path variable having some illegal character, but I don't see any in it (although I don't know how to examine it in such a way that illegal characters aren't automatically suppressed!). My path includes:

v:cygwinusrlocalbin;v:cygwinusrbin;v:cygwinbin;v:cygwinusrx11r6bin;v:cygwinlibsingular;

The various Singular-specific environment variables in Windows include

SINGULAR_BIN_DIR=/usr/lib/Singular
SINGULAR_ROOT_DIR=/usr/share/Singular

as specified at viewtopic.php?p=1557#1557.

I do not understand why this problem arises anew each time Singular gets updated by cygwin.
Post Posted: Sat Nov 18, 2006 8:01 pm


It is currently Fri May 13, 2022 10:59 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group