From sdslavin@pegasus2.astro.indiana.edu Wed Mar 2 12:50:29 1994 Newsgroups: sci.astro Path: saips.cv.nrao.edu!hearst.acc.Virginia.EDU!concert!gatech!newsxfer.itd.umich.edu!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!pegasus2.astro.indiana.edu!sdslavin From: sdslavin@pegasus2.astro.indiana.edu (Shawn Slavin) Subject: Re: saoimage under linux and XFree86 Message-ID: Sender: news@usenet.ucs.indiana.edu (USENET News System) Nntp-Posting-Host: pegasus2.astro.indiana.edu Organization: Indiana University References: <2ku0igINNor0@lanews.la.asu.edu> Date: Wed, 2 Mar 1994 05:19:04 GMT Lines: 23 Hi. I had a FreeBSD-1.0 system up on my PC last month, and I tried porting SAOimage. It compiled with no problem, using the setup for Ultrix (the truest BSD system I've used) and making *sure* that the DEC byte-swapping stuff was not included. It went without complaint, but every time I tried to open a FITS image, the pixel values were garbage. It looked like readnoise! I tried using a couple different data types (BITPIX), like -32 and 32. However, it didn't seem to care. Now, I didn't try to debug this. I'm sure that it can be ported, but just beware the fact that a clean compile doesn't guarantee you anything. BTW, I used gcc-2.4.5. Good luck, Shawn -- Shawn Slavin Indiana University Astronomy Internet: sdslavin@pegasus2.astro.indiana.edu From edgar@uwast.astro.wisc.edu Wed Mar 2 16:33:43 1994 Path: saips.cv.nrao.edu!hearst.acc.Virginia.EDU!concert!news-feed-1.peachnet.edu!gatech!europa.eng.gtefsd.com!MathWorks.Com!panix!zip.eecs.umich.edu!caen!saimiri.primate.wisc.edu!news.doit.wisc.edu!uwast.astro.wisc.edu!edgar From: edgar@uwast.astro.wisc.edu (Dick Edgar) Newsgroups: sci.astro Subject: Re: saoimage under linux and XFree86 Date: 2 Mar 1994 16:49:31 GMT Organization: University of Wisconsin - Astronomy Department Lines: 47 Message-ID: <2l2g2r$dks@news.doit.wisc.edu> References: <2ku0igINNor0@lanews.la.asu.edu> NNTP-Posting-Host: uwast.astro.wisc.edu In article sdslavin@pegasus2.astro.indiana.edu (Shawn Slavin) writes: > > >Hi. I had a FreeBSD-1.0 system up on my PC last month, and I tried porting >SAOimage. It compiled with no problem, using the setup for Ultrix (the truest >BSD system I've used) and making *sure* that the DEC byte-swapping stuff was >not included. It went without complaint, but every time I tried to open a FITS >image, the pixel values were garbage. It looked like readnoise! > >I tried using a couple different data types (BITPIX), like -32 and 32. >However, it didn't seem to care. Now, I didn't try to debug this. I'm sure >that it can be ported, but just beware the fact that a clean compile doesn't >guarantee you anything. > >BTW, I used gcc-2.4.5. > >Good luck, > >Shawn >-- >Shawn Slavin >Indiana University Astronomy > >Internet: sdslavin@pegasus2.astro.indiana.edu I have done this. The source code I got had a bug in it, which made it impossible to read floating-point fits images, even on a Decstation! Fortunately, the bug has been fixed. The fixed version is available for anonymous ftp at uwast.astro.wisc.edu. The makefile allows for compilation on various computers, the main difference being byte order (if you have an IEEE machine, which includes the 386/486 family). Since byte order for the '86's is the same as on Ultrix Decstations, tell it you're a Decstation, and it compiles right out of the box. There's another option detailed in the readme files that disables trying to set up communication with IRAF, so you don't get a couple error messages when you start it up stand-alone; not too important but a nice cosmetic feature. Thanks to Stephan Jansen at the University of Wisconsin, who fixed the above mentioned bug, and put his version up for anon. ftp. --------- Richard J. Edgar (edgar@uwast.astro.wisc.edu) University of Wisconsin--Madison, Department of Astronomy "An astrophysicist is someone who sees something working in practice, and wonders whether it will work in principle." -- Harvey Liszt