Read-only forum archive

esingular fails to launch

esingular fails to launch

unix480 · Thu Aug 27, 2015 2:16 am

Hi,
I am new to using singular and just installed the package through cygwin64. However when I try to launch the esingular by typing in the cygwin64 terminal : esingular, I get the following error:

"Error: Can't find emacs or xemacs execuatble. Expected it at /usr/bin/emacs or /usr/bin/xemacs. Specify alternative with --emacs option, or set ESINGULAR_EMACS environment variable"

I have tried to place the .emacs-singular file which is in the folder :home\Singular4\share\singular\emacs to the folder where Esingular is installed. However I still get the same error that it can't find the executable.

any advice would be much appreciated.

Thanks,
Victor

Re: esingular fails to launch

hannes · Thu Aug 27, 2015 12:14 pm

As the message suggests: you are missing the program emacs and the program xemacs: install at least one of them depending on your personal preference (which we do not know).
Probably an X-Server is also needed, see
http://x.cygwin.com/docs/ug/using.html for install hints,

Re: esingular fails to launch

Guest · Thu Aug 27, 2015 5:14 pm

emacs is installed on my cygwin. I can open emacs from the cygwin terminal. However I can't open esingular. Seems like I need to add path to emacs somewhere in the Singular? I don't know where. I have re-installed singular from binary or the source code. Still, esingular doesn't launch. Any ideas?

Re: esingular fails to launch

hannes · Thu Aug 27, 2015 11:19 pm

Please check that
- emacs is with your path (which emacs resp. type -p emacs
should return a non-empty string) and really called emacs (resp. emacs.exe)
(and not emacs-24 or similiar)
- the place of emacs.ex is /usr/bin (or add a corresponding setting to your
.bashrc: export ESINGULAR_EMACS=/place/of/emacs.exe)
- emacs is emacs from cygwin (otherwise the signal processing
for the communication will fail)