Welcome to iraf.net Friday, April 19 2024 @ 09:28 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 X11Iraf v 1.32 and Cygwin
   
afarrow
 02/17/2009 06:55PM (Read 6971 times)  
++---
Junior

Status: offline


Registered: 07/14/2008
Posts: 19
Running up against a wall here almost....
first off I have the working copy of xgterm.cygwin available so I can still use iraf. so I'm not S.O.L.My boss asked me to get x11iraf(mainly ximtool) to run under cygwin, and as I try again and again, it's not working.I picked out the last stable release of X11iraf from the ftp server
(https://iraf.net/ftp/iraf/x11iraf/v1.3.2/x11iraf-v1.3.2-bin.macintel.tar.gz) and followed the README.install, ran ./install and it placed all of the items in the right place. I ran chmod 777 (yea a little lazy) on the ximtool, xgterm, etc so I could run it as any user on the computer.When I try to run ximtool or xgterm after the install, I get this message: (3628 is the pid)$ ximtool
/usr/local/bin/ximtool: /usr/local/bin/ximtool: cannot execute binary file$ xgterm&
[1] 3628$ /usr/local/bin/xgterm: /usr/local/bin/xgterm: cannot execute binary file
[1]+ Exit 126 xgtermIs ximtool not setup to run under cygwin? If not, will it ever be?

SDSU - Astronomy - Mount Laguna Observatory Superintendent
 
Profile Email Website
 Quote
afarrow
 02/17/2009 06:55PM  
++---
Junior

Status: offline


Registered: 07/14/2008
Posts: 19
Well I just answered my own question, Just read through the documentation (NOTES-V2.0 and NOTES-V1.3) and saw that Cygwin is not yet supported. I'll be keeping my eye out for the 2.0 release that has support for cygwin.

SDSU - Astronomy - Mount Laguna Observatory Superintendent
 
Profile Email Website
 Quote
fitz
 02/17/2009 06:55PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Andrew,I just posted a binary distribution for Cygwin, see the link on the main page to get it. There are still some problems to be cleaned up in getting the package to build from a common source (particularly for xgterm), but the ximtool binary in this release appears to work fine. Things will all be normalized in the final version, until then let me know if you find problems.Cheers,
-Mike

 
Profile Email
 Quote
afarrow
 02/17/2009 06:55PM  
++---
Junior

Status: offline


Registered: 07/14/2008
Posts: 19
I think I'll add an issue I'm hitting right now.I have the distrib and installed it using the ./install script with a minor mod so it would install even though I'm not root (I'm the sysadmin and I just don't another admin account on the machine). xgterm: works fine in that I can Use IRAF and run it's items well
xtapemon: Works.
vximtool: receive the following and hangs xgterm, Ctl^C brings it out of hang.
[code:1:f11826f8c9]
Warning: cannot open /dev/imt10[/code:1:f11826f8c9]ximtool: I receive the following, and Exit 1
[code:1:f11826f8c9]
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 91 (X_QueryColors)
Value in failed request: 0xffffff
Serial number of failed request: 268
Current serial number in output stream: 268
[/code:1:f11826f8c9]Could it be that I need to again update the X11 Libaries?{edit = Bad grammar}

SDSU - Astronomy - Mount Laguna Observatory Superintendent
 
Profile Email Website
 Quote
fitz
 02/17/2009 06:55PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:b96e7cc76f]
Warning: cannot open /dev/imt10 [/quote:b96e7cc76f]The fifo pipes aren't necessary for display and I missed the case for Cygwin that tells the code to ignore them (fixed for next release). For the moment you can just use[code:1:b96e7cc76f]vximtool -unix_only[/code:1:b96e7cc76f]to avoid this, but note that VXIMTOOL is generally only used by developers. XImtool should complain but keep running.As for the X error: This v2.0 version supports 24-bit displays but is a little weak in 8-bit support ironically. Be sure you aren't using just 256 colors for the main display.-Mike

 
Profile Email
 Quote
afarrow
 02/17/2009 06:55PM  
++---
Junior

Status: offline


Registered: 07/14/2008
Posts: 19
I'm Running this over Remote Desktop Connection right now, and I'm being limited to 16-bit. I also just updated the x11 packages in Cygwin... holy shi....I am not happy...I think I have to reinstall IRAF now x.x That or a system restore.I'll get back to you on the issue.

SDSU - Astronomy - Mount Laguna Observatory Superintendent
 
Profile Email Website
 Quote
fitz
 02/17/2009 06:55PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
16-bit support is also not quite done yet.Note that unless your expletive was for some other reason, you do NOT need to reinstall IRAF because of any problems in X11IRAF, they are entirely separate systems. Anyway, good luck on whatever the problem is.-Mike

 
Profile Email
 Quote
afarrow
 02/17/2009 06:55PM  
++---
Junior

Status: offline


Registered: 07/14/2008
Posts: 19
It was for two reasons, one, the scripts I made broke and it doesn't recognize cl, or ecl from the home directory where the login.cl is.I'll be cleaning up the mess.

SDSU - Astronomy - Mount Laguna Observatory Superintendent
 
Profile Email Website
 Quote
afarrow
 02/17/2009 06:55PM  
++---
Junior

Status: offline


Registered: 07/14/2008
Posts: 19
What happened was the fact X11 moved from /usr/X11R6 to /usr/bin. this cause confusion in the shells... As well as the new version auto At least I can use ds9 with an xterm...Now with iraf reset back to normal (almost). I reinstalled xgterm, and no luck....it gives me:
[code]
xgterm
xgterm: unable to find termcap entry.
[code]This is the same for new and old versions of xgterm.

SDSU - Astronomy - Mount Laguna Observatory Superintendent
 
Profile Email Website
 Quote
afarrow
 02/17/2009 06:55PM  
++---
Junior

Status: offline


Registered: 07/14/2008
Posts: 19
[b:445a87fe0b]Warning, Wall of Text[/b:445a87fe0b]This time I'm actually happy, I have ximtool running well. just had to use a different remote admin software that wouldn't limit me to 16 bit.I am getting some warnings and Errors now.
#1 not sure what's up here.
[code:1:445a87fe0b]
ximtool&
Warning: cannot open /dev/imt1o
ximtool: inet port 5137 already in use - disable
[/code:1:445a87fe0b]#2
Load file issue.
When I'm in root trying to get to the drive that has my images, clicking the folders results in an extra "/" on the front of the directory string which in turn keeps the system from finding the right folder.
What It looks for when I double click from the root folder
[code:1:445a87fe0b]
//cygdrive
[/code:1:445a87fe0b]What it should be
[code:1:445a87fe0b]
/cygdrive
[/code:1:445a87fe0b]I can type in
[code:1:445a87fe0b]
/cygdrive/e/images/TEST/
[/code:1:445a87fe0b]
and it will go to it's proper destination, but if I type in
[code:1:445a87fe0b]
cygdrive/e/images/TEST/
[/code:1:445a87fe0b]
it'll reproduce the errors as given in the first example of this error.#3 (the big kahuna..... so far, not, LOTS of text below)
After pressing the V and H buttons, only once each.
For the V, ximtool kept running.
[code:1:445a87fe0b]
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 105260
Current serial number in output stream: 105262
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 70 (X_PolyFillRectangle)
Resource id in failed request: 0xe00c8b
Serial number of failed request: 105261
Current serial number in output stream: 105262
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00c8b
Serial number of failed request: 105264
Current serial number in output stream: 105276
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00c8b
Serial number of failed request: 105266
Current serial number in output stream: 105276
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 105269
Current serial number in output stream: 105276
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 105271
Current serial number in output stream: 105276
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00c8b
Serial number of failed request: 105977
Current serial number in output stream: 106020
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00c8b
Serial number of failed request: 105981
Current serial number in output stream: 106020
[/code:1:445a87fe0b]for the H, ximtool stopped after the undepressing of the button
[code:1:445a87fe0b]
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 107318
Current serial number in output stream: 107320
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 70 (X_PolyFillRectangle)
Resource id in failed request: 0xe00cce
Serial number of failed request: 107319
Current serial number in output stream: 107320
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 14 (X_GetGeometry)
Resource id in failed request: 0xe00c8b
Serial number of failed request: 107320
Current serial number in output stream: 107320
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00cce
Serial number of failed request: 107322
Current serial number in output stream: 107336
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00c8b
Serial number of failed request: 107323
Current serial number in output stream: 107336
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00cce
Serial number of failed request: 107324
Current serial number in output stream: 107336
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00c8c
Serial number of failed request: 107325
Current serial number in output stream: 107336
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 107326
Current serial number in output stream: 107336
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00c8d
Serial number of failed request: 107327
Current serial number in output stream: 107336
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 107328
Current serial number in output stream: 107336
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 110718
Current serial number in output stream: 110720
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 70 (X_PolyFillRectangle)
Resource id in failed request: 0xe00ce5
Serial number of failed request: 110719
Current serial number in output stream: 110720
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 14 (X_GetGeometry)
Resource id in failed request: 0xe00cce
Serial number of failed request: 110720
Current serial number in output stream: 110720
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00ce5
Serial number of failed request: 110722
Current serial number in output stream: 110733
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00cce
Serial number of failed request: 110723
Current serial number in output stream: 110733
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00ce5
Serial number of failed request: 110724
Current serial number in output stream: 110733
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00ccf
Serial number of failed request: 110725
Current serial number in output stream: 110733
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 110726
Current serial number in output stream: 110733
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00cd0
Serial number of failed request: 110727
Current serial number in output stream: 110733
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 110728
Current serial number in output stream: 110733
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 111049
Current serial number in output stream: 111051
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 70 (X_PolyFillRectangle)
Resource id in failed request: 0xe00cf5
Serial number of failed request: 111050
Current serial number in output stream: 111051
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 14 (X_GetGeometry)
Resource id in failed request: 0xe00ce5
Serial number of failed request: 111051
Current serial number in output stream: 111051
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00cf5
Serial number of failed request: 111053
Current serial number in output stream: 111064
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00ce5
Serial number of failed request: 111054
Current serial number in output stream: 111064
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00cf5
Serial number of failed request: 111055
Current serial number in output stream: 111064
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00ce6
Serial number of failed request: 111056
Current serial number in output stream: 111064
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 111057
Current serial number in output stream: 111064
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00ce7
Serial number of failed request: 111058
Current serial number in output stream: 111064
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 111059
Current serial number in output stream: 111064
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 111062
Current serial number in output stream: 111064
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 70 (X_PolyFillRectangle)
Resource id in failed request: 0xe00cf8
Serial number of failed request: 111063
Current serial number in output stream: 111064
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00cf8
Serial number of failed request: 111066
Current serial number in output stream: 111075
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00cf8
Serial number of failed request: 111068
Current serial number in output stream: 111075
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 111072
Current serial number in output stream: 111075
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 111363
Current serial number in output stream: 111365
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 70 (X_PolyFillRectangle)
Resource id in failed request: 0xe00d02
Serial number of failed request: 111364
Current serial number in output stream: 111365
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 14 (X_GetGeometry)
Resource id in failed request: 0xe00cf5
Serial number of failed request: 111365
Current serial number in output stream: 111365
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00d02
Serial number of failed request: 111367
Current serial number in output stream: 111381
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00cf5
Serial number of failed request: 111368
Current serial number in output stream: 111381
ximtool: warning, error event received:
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 62 (X_CopyArea)
Resource id in failed request: 0xe00d02
Serial number of failed request: 111369
Current serial number in output stream: 111381
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00cf6
Serial number of failed request: 111370
Current serial number in output stream: 111381
ximtool: warning, error event received:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 111371
Current serial number in output stream: 111381
ximtool: warning, error event received:
X Error of failed request: BadPixmap (invalid Pixmap parameter)
Major opcode of failed request: 54 (X_FreePixmap)
Resource id in failed request: 0xe00cf7
Serial number of failed request: 111372
Current serial number in output stream: 111381
[1]+ Exit 83 ximtool (wd: ~)
[/code:1:445a87fe0b]

SDSU - Astronomy - Mount Laguna Observatory Superintendent
 
Profile Email Website
 Quote
Mike Potter
 02/17/2009 06:55PM  
++---
Junior

Status: offline


Registered: 04/23/2006
Posts: 15
[quote:4cd8553954]
it gives me:
[code]
xgterm
xgterm: unable to find termcap entry.
[code]
[/quote:4cd8553954]I get the same thing so you're not alone. I'm using the newest cygwin downloads for both iraf and x11iraf. Mike

 
Profile Email Website
 Quote
Mike Potter
 02/17/2009 06:55PM  
++---
Junior

Status: offline


Registered: 04/23/2006
Posts: 15
Well, I just went do a different mirror site than the one I've been using to download cygwin and re-downloaded the entire X11 tree - and xgterm now works! I'm not sure why but when going to the different mirror site there WAS new stuff to download - whereas the other site didn't actually download or install anything. That is, after wrestling with this for a couple of days I decided to just try re-ownloading and installing so went to the same site I'd always gone to and the process went almost instantaneously to the dialog asking if I wanted icons on my desktop and/or start menu. So I decided on a whim to try the next mirror site up and this time it took about three minutes or so to download and install.The mirror site that worked was:ftp.fedoramd.orgthe one that I'd used previously wasftp.repo.fedoramd.org. Being essentially ignorant of how all of that works I really don't know why there was a difference.Mike Potterwinxp home sp3
cygwin
IRAF-PC 2.14.1
X11iraf ver 2.0BETA

 
Profile Email Website
 Quote
afarrow
 02/17/2009 06:55PM  
++---
Junior

Status: offline


Registered: 07/14/2008
Posts: 19
[quote:542da0c223="Mike Potter"]Well, I just went do a different mirror site than the one I've been using to download cygwin and re-downloaded the entire X11 tree - and xgterm now works! I'm not sure why but when going to the different mirror site there WAS new stuff to download - whereas the other site didn't actually download or install anything. That is, after wrestling with this for a couple of days I decided to just try re-ownloading and installing so went to the same site I'd always gone to and the process went almost instantaneously to the dialog asking if I wanted icons on my desktop and/or start menu. So I decided on a whim to try the next mirror site up and this time it took about three minutes or so to download and install.The mirror site that worked was:ftp.fedoramd.orgthe one that I'd used previously wasftp.repo.fedoramd.org. Being essentially ignorant of how all of that works I really don't know why there was a difference.Mike Potterwinxp home sp3
cygwin
IRAF-PC 2.14.1
X11iraf ver 2.0BETA[/quote:542da0c223]That fixed my xgterm.

SDSU - Astronomy - Mount Laguna Observatory Superintendent
 
Profile Email Website
 Quote
   
Content generated in: 0.37 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login