[daip] New Staff Reply - [!LNK-744620]: Text installation of AIPS on MAC OSX Lion

Wes Young wyoung at nrao.edu
Tue Jan 24 16:47:39 EST 2012


A quick check suggests that he should be including

#include <sgtty.h>

but it could be he needs

#include <termios.h>

instead.

wes
wyoung at aoc.nrao.edu


On Jan 24, 2012, at 1:47 PM, Eric Greisen wrote:

> New Staff Reply: Text installation of AIPS on MAC OSX Lion
> 
> I hate moving to compilers that are too distant from what we use...
> That is going to force you to ask your system for help on what options 
> to use and not use.
> 
> Try editing the file ($APLUNIX/ZTKSRV.C) :
> 
> Remove the lines that say near the top
> #ifndef __linux__
> #include <sgtty.h>
> #else
> #ifdef HAVE_LINUX_GLIBC
> #include <termios.h>
> #else
> #include <bsd/sgtty.h>
> #endif
> #endif
> 
> and put in their place
> 
> #if !defined(__linux__) || defined(HAVE_LINUX_GLIBC)
> #include <sgtty.h>
> #else
> #include <bsd/sgtty.h>
> #endif
> 
> Let me know what happens (if it works I replace the code - what I am 
> suggesting is in 2 routines but not the TK one).
> 
> Eric Greisen
> 
> 
> Ticket Details
> ===================
> Ticket ID: LNK-744620
> Department: AIPS Data Processing
> Priority: Default
> Status: Open
> Link:  https://help.nrao.edu/staff/index.php?_m=tickets&_a=viewticket&ticketid=1400
> 
> _______________________________________________
> Daip mailing list
> Daip at listmgr.cv.nrao.edu
> http://listmgr.cv.nrao.edu/mailman/listinfo/daip





More information about the Daip mailing list