in reply to problem when installing IO-Tty-1.07 in windows

Tty.c ty.xs:54:23: sys/ioctl.h: No such file or directory

That's the problem. IO::Tty won't work on native Windows. It may work on Cygwin's perl (if you have Cygwin installed).

Cheers,
Rob
  • Comment on Re: problem when installing IO-Tty-1.07 in windows

Replies are listed 'Best First'.
Re^2: problem when installing IO-Tty-1.07 in windows
by bingos (Vicar) on May 25, 2008 at 08:14 UTC

    From the IO-Tty README file:

    Windows is supported only under the Cygwin environment, see http://www.cygwin.com/. Sorry, ActiveState Perl on Windows is NOT supported, basically because there are no pseudo-terminals under Windows.
      Sorry for the ignorance, but I thought this was the entire point of Strawberry Perl. No? What, if anything, can you use for Strawberry Perl to install the Bundle::Expect? (Besides going to cygwin)

        What Strawberry Perl does is facilitate the installation of CPAN modules including the building of C extensions since Windows doesn't natively provide the tools to do so. It's not a unix emulator, so modules that require a unix system won't magically start working.

        hi does this mean, if I need to install IO:Tty module then I have to use cygwin perl instead of strawberry perl. I am starting a perl project and I am thinking if I should just use cygwin perl instead of strawberry perl and not mix using both. Appreciate any feedback.
        I fully agree! What's the point of strawberry perl if it can't handle the install of IO::Tty