noname |
03/05/2014 06:06AM (Read 3008 times)
|
|
|
Status: offline
Registered: 03/04/2014
Posts: 3
|
Hello,
Several years ago I installed IRAF with Cygwin on Windows 7, and everything was working great. Recently, however, I updated my version of Cygwin, and now xgterm no longer works. When I enter xgterm into the command line, there is no error message at all, and nothing happens.
I went to see if there was a new xgterm.cygwin file available online, and there is not. With no error messages it is impossible for me to tell what is going wrong. Does anyone have any ideas about what I could do to get xgterm working again? Or at least what I could do to produce some helpful error messages?
Thank you! I'm pretty desperate!
|
|
|
|
johnbeaver63 |
03/11/2014 12:30PM
|
|
|
Status: offline
Registered: 01/02/2010
Posts: 3
|
Hi,
I don't really have an answer to your question directly. But I used to use Iraf with cygwin. Once I switched to linux (Ubuntu for example) running as a virtual machine (vmware for example) on my windows computer, I never looked back. In my opinion that approach is superior in every way to cygwin, not least because it is easier to set up. If you are interested, I have a ready-to-go virtual machine with iraf (and much else of use) already installed and configured.
Cheers,
John
|
|
|
|
fitz |
03/11/2014 04:26PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Using the existing XGterm binary and the latest Cygwin I wasn't able to reproduce your problem so much of what follows is speculation. If the file didn't have the execute permissions set then I'd expect to see something like a "Command not found" message but you should check anyway. If the version of cygwin replaced needed shared libraries the binary might not run and you can check for this using the command
PHP Formatted Code % ldd /path /xgterm
Each library required should be matched to something installed on the machine, a "not found" would be a problem (please post the output in this case). If you did a fresh install of Cygwin, are you sure all of the X11 server/libraries were also installed?
Lastly, when you say "nothing happens", do you mean you get the command prompt right away or that you just don't see a window appear on the screen? In the latter case it may be that the task is running however the X11 'DISPLAY' variable may be set so that it appears on some other machine. Until this is sorted you can still use the default 'XTerm' as a graphics terminal but you'll need to do a new MKIRAF to reset the terminal in IRAF. Likewise, if the xterm window never appears, look at the DISPLAY setting, especially if you are logging in from another machine.
|
|
|
|
noname |
03/17/2014 05:28PM
|
|
|
Status: offline
Registered: 03/04/2014
Posts: 3
|
Thanks for your help!
What I mean by "nothing happens" is that the command prompt comes back immediately. The xterm works just fine; only xgterm doesn't work.
When I run ldd on the xgterm executable nothing is displayed, and the command prompt does not come back unless I kill the task.
|
|
|
|
gmosby |
03/19/2014 01:01AM
|
|
|
Status: offline
Registered: 03/18/2014
Posts: 1
|
Hi,
I was experiencing a very similar problem when I was using a 64 bit version of Cygwin. I ended up uninstalling the 64 bit version and installing the 32 bit version. Now my xgterm works just fine. I did have to reinstall ncurses (specifically version 7), but xgterm complained about that missing library, so that was an easy fix.
-Greg
|
|
|
|
noname |
04/18/2014 07:16PM
|
|
|
Status: offline
Registered: 03/04/2014
Posts: 3
|
I did not install the 64 bit version. I've been a bit afraid of altering anything, in case I lose any other capabilities, but I have run the setup for the old version and I reinstalled the older version of the ncurses library. The same problems are still occurring with xgterm, namely that the terminal does not open and the command line comes back immediately. The ldd command also does nothing.
|
|
|
|