Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

problem when installing IO-Tty-1.07 in windows

by veeruch (Sexton)
on May 24, 2008 at 08:39 UTC ( [id://688267]=perlquestion: print w/replies, xml ) Need Help??

veeruch has asked for the wisdom of the Perl Monks concerning the following question:

hi Perl Monks
When i try to install IO-Tty-1.07 in to my perl 5.6.1 using the Strabarry perl . i am getting this error.
:\Documents and Settings\\Desktop\IO-Tty-1.07>perl Makefile.PL PREFIX= +C:/Perl/site ow let's see what we can find out about your system logfiles of failing tests are available in the conf/ dir)... ooking for _getpty()...... not found. ooking for getpt()........ not found. ooking for grantpt()...... not found. ooking for openpty()...... not found. ooking for ptsname()...... not found. ooking for ptsname_r().... not found. ooking for sigaction().... not found. ooking for strlcpy()...... not found. ooking for ttyname()...... not found. ooking for unlockpt()..... not found. ooking for libutil.h...... not found. ooking for pty.h.......... not found. ooking for sys/pty.h...... not found. ooking for sys/ptyio.h.... not found. ooking for sys/stropts.h.. not found. ooking for termio.h....... not found. ooking for termios.h...... not found. ooking for util.h......... not found. hecking which symbols compile OK... sorry for the tedious check, but some systems have not too clean header files, to say the least; '+' means OK, '-' means not defined and '*' has compile problems...) B0 -B110 -B115200 -B1200 -B134 -B150 -B153600 -B1800 -B19200 -B200 -B2 +30400 -B2400 -B300 -B307200 -B38400 -B460800 -B4800 -B5 -B57600 -B600 -B75 -B76800 -B9600 -BRKINT -BS0 -BS1 -BSDLY -CBAUD -CB +AUDEXT -CBRK -CCTS_OFLOW -CDEL -CDSUSP -CEOF -CEOL -CEO 2 -CEOT -CERASE -CESC -CFLUSH -CIBAUD -CIBAUDEXT -CINTR -CKILL -CLNEXT + -CLOCAL -CNSWTCH -CNUL -CQUIT -CR0 -CR1 -CR2 -CR3 -CRD Y -CREAD -CRPRNT -CRTSCTS -CRTSXOFF -CRTS_IFLOW -CS5 -CS6 -CS7 -CS8 -C +SIZE -CSTART -CSTOP -CSTOPB -CSUSP -CSWTCH -CWERASE -DE ECHO -DIOC -DIOCGETP -DIOCSETP -DOSMODE -ECHO -ECHOCTL -ECHOE -ECHOK - +ECHOKE -ECHONL -ECHOPRT -EXTA -EXTB -FF0 -FF1 -FFDLY -F ORDCHK -FLUSHO -HUPCL -ICANON -ICRNL -IEXTEN -IGNBRK -IGNCR -IGNPAR -I +MAXBEL -INLCR -INPCK -ISIG -ISTRIP -IUCLC -IXANY -IXOFF -IXON -KBENABLED -LDCHG -LDCLOSE -LDDMAP -LDEMAP -LDGETT -LDGMAP -LDIO +C -LDNMAP -LDOPEN -LDSETT -LDSMAP -LOBLK -NCCS -NL0 -NL -NLDLY -NOFLSH -OCRNL -OFDEL -OFILL -OLCUC -ONLCR -ONLRET -ONOCR -OPO +ST -PAGEOUT -PARENB -PAREXT -PARMRK -PARODD -PENDIN -RC 1EN -RTS_TOG -TAB0 -TAB1 -TAB2 -TAB3 -TABDLY -TCDSET -TCFLSH -TCGETA - +TCGETS -TCIFLUSH -TCIOFF -TCIOFLUSH -TCION -TCOFLUSH -T OOFF -TCOON -TCSADRAIN -TCSAFLUSH -TCSANOW -TCSBRK -TCSETA -TCSETAF -T +CSETAW -TCSETCTTY -TCSETS -TCSETSF -TCSETSW -TCXONC -TE M_D40 -TERM_D42 -TERM_H45 -TERM_NONE -TERM_TEC -TERM_TEX -TERM_V10 -TE +RM_V61 -TIOCCBRK -TIOCCDTR -TIOCCONS -TIOCEXCL -TIOCFLU H -TIOCGETC -TIOCGETD -TIOCGETP -TIOCGLTC -TIOCGPGRP -TIOCGSID -TIOCGS +OFTCAR -TIOCGWINSZ -TIOCHPCL -TIOCKBOF -TIOCKBON -TIOCL IC -TIOCLBIS -TIOCLGET -TIOCLSET -TIOCMBIC -TIOCMBIS -TIOCMGET -TIOCMS +ET -TIOCM_CAR -TIOCM_CD -TIOCM_CTS -TIOCM_DSR -TIOCM_DT -TIOCM_LE -TIOCM_RI -TIOCM_RNG -TIOCM_RTS -TIOCM_SR -TIOCM_ST -TIOCNO +TTY -TIOCNXCL -TIOCOUTQ -TIOCREMOTE -TIOCSBRK -TIOCSCTT -TIOCSDTR -TIOCSETC -TIOCSETD -TIOCSETN -TIOCSETP -TIOCSIGNAL -TIOCSL +TC -TIOCSPGRP -TIOCSSID -TIOCSSOFTCAR -TIOCSTART -TIOCS I -TIOCSTOP -TIOCSWINSZ -TM_ANL -TM_CECHO -TM_CINVIS -TM_LCF -TM_NONE +-TM_SET -TM_SNL -TOSTOP -VCEOF -VCEOL -VDISCARD -VDSUSP -VEOF -VEOL -VEOL2 -VERASE -VINTR -VKILL -VLNEXT -VMIN -VQUIT -VREPRIN +T -VSTART -VSTOP -VSUSP -VSWTCH -VT0 -VT1 -VTDLY -VTIME -VWERASE -WRAP -XCASE -XCLUDE -XMT1EN -XTABS ARNING! Neither ptsname() nor ptsname_r() could be found, so we cannot use a high-level interface like openpty(). o high-level lib or clone device has been found, we will use BSD-style + ptys. riting IO::Tty::Constant.pm... EFINE = hecking if your kit is complete... ooks good riting Makefile for IO::Tty :\Documents and Settings\veeru\Desktop\IO-Tty-1.07>C:\strawberry-perl\ +dmake\bin\dmake test p Tty.pm blib\lib\IO\Tty.pm p Tty/Constant.pm blib\lib\IO\Tty\Constant.pm p Pty.pm blib\lib\IO\Pty.pm :\strawberry-perl\perl\bin\perl.exe C:\strawberry-perl\perl\lib\ExtUti +ls\xsubpp -typemap C:\strawberry-perl\perl\lib\ExtUtil \typemap Tty.xs > Tty.xsc && C:\strawberry-perl\perl\bin\perl.exe -ME +xtUtils::Command -e mv Tty.xsc Tty.c cc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEX +T -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCR _READFIX -s -O2 -DVERSION=\"1.07\" -DXS_VERSION=\"1.07\" +"-IC:\strawberry-perl\perl\lib\CORE" Tty.c ty.xs:54:23: sys/ioctl.h: No such file or directory n file included from Tty.xs:119: :/strawberry-perl/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../inclu +de/signal.h:84: error: syntax error before '(' token ty.xs: In function `make_safe_fd': ty.xs:225: error: `F_DUPFD' undeclared (first use in this function) ty.xs:225: error: (Each undeclared identifier is reported only once ty.xs:225: error: for each function it appears in.) make: Error code 129, while making 'Tty.o'

May 25, 2008 at 13:05 UTC Janitored by McDarren. Replaced readmore with code tags

Replies are listed 'Best First'.
Re: problem when installing IO-Tty-1.07 in windows
by syphilis (Archbishop) on May 24, 2008 at 08:45 UTC
    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

      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)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://688267]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found