Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: IO::Pty with Cygwin - can't install

by syphilis (Canon)
on Aug 28, 2010 at 06:48 UTC ( #857814=note: print w/ replies, xml ) Need Help??


in reply to IO::Pty with Cygwin - can't install

Can't really help - IO-Tty-1.08 installs fine for me on Cygwin-1.7.5, perl-5.10.1:

1..4 Configuration: -DHAVE_CYGWIN -DHAVE_DEV_PTMX -DHAVE_GRANTPT -DHAVE_OPE +NPTY -DHAVE_POSIX_OPENPT -DHAVE_PTSNAME -DHAVE_PTY_H -DHAVE_SIGACTION + -DHAVE_STRLCPY -DHAVE_TERMIOS_H -DHAVE_TERMIO_H -DHAVE_TTYNAME -DHAV +E_UNLOCKPT Checking for appropriate ioctls: Checking that returned fd's don't clash with stdin/out/err... trying posix_openpt()... trying grantpt()... trying unlockpt()... trying ptsname()... trying to open /dev/tty0... ok 1 Checking if child gets pty as controlling terminal... trying posix_openpt()... trying grantpt()... trying unlockpt()... trying ptsname()... trying to open /dev/tty0... ok 2 gimme on /dev/tty: seems OK! back on STDOUT: SEEMS OK! ok 3 Checking basic functionality and how your ptys handle large strings... This test may hang on certain systems, even though it is protected by alarm(). If the counter stops, try Ctrl-C, the test should conti +nue. trying posix_openpt()... trying grantpt()... trying unlockpt()... trying ptsname()... trying to open /dev/tty0... isatty($master): YES isatty($slave): YES Child PID = 2016 Good, your raw ptys can handle at least 512 bytes at once. ok 4 Passed 4 of 4 tests.
Cheers,
Rob


Comment on Re: IO::Pty with Cygwin - can't install
Download Code
Replies are listed 'Best First'.
Re^2: IO::Pty with Cygwin - can't install
by Anonymous Monk on Nov 02, 2011 at 20:53 UTC
    Make sure Perl in Cygwin isn't blocked by your windows firewall.
Re^2: IO::Pty with Cygwin - can't install
by azredwing (Sexton) on Aug 29, 2010 at 16:35 UTC
    Thanks for this, Rob. I'm running Cygwin 1.7.6-1 and it doesn't want to go. Did the installation stall for you at 'opening /dev/tty1', and if so, how long did it take to get past that?

    I also couldn't find 1.7.5 online; newest version is 1.7.6 and there's no link on the Cygwin site to download previous versions. Do you think you could provide the setup.exe to me?

      Actually, no worries. I just installed manually instead of from the command line and skipped the make test. I ran my script that uses IO::Pty on Cygwin and it works perfectly. Not sure why it couldn't do make test.
        Not sure why it couldn't do make test

        Cygwin can be a bit funny about what it lets you do from certain locations. Maybe this is just one of its quirks.

        Good that it's working for you.

        Cheers,
        Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://857814]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2015-07-30 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls