Home: Perl Programming Help: Advanced:
IO-Tty-0.03 on Solaris 2.6



minson
Deleted

May 24, 2000, 9:27 AM


Views: 4234
IO-Tty-0.03 on Solaris 2.6

When trying to install IO-Tty-0.03 on Solaris
2.6 I get "I cannot seem to find ttyname() on your system" during the perl Makefile.pl process . If I then run the 'try' I get
"IO::Tty::ttyname not implemented on this architecture" . The man page on ttyname seems to indicate that this function exists on solaris . This works fine on RedHat 6.2 , of course.


minson
Deleted

May 25, 2000, 4:41 AM


Views: 4234
Re: IO-Tty-0.03 on Solaris 2.6

by changing Tty.xs code from

#ifdef I_UNISTD
# include <unistd.h>
#endif

to

#include <unistd.h>

the Tty mod now works. I don't think this is
the permanent fix.