<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Hello All,</div><div><br></div><div>Does anyone have experience on installing IO::Pty? I failed to install it with CPAN shell for strawberry perl (32 bit version) on Windows 7 (64 bit). Screenshoot is pasted below.</div><div><br></div><div>Thank you inadvance,</div><div><br></div><div>Tiger<br></div><div><br></div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif;">  CPAN.pm: Going to build T/TO/TODDR/IO-Tty-1.10.tar.gz<br><br>Now let's see what we can find out about your system<br>(logfiles of failing tests are available in the conf/ dir)...<br>Looking for _getpty()...... not found.<br>Looking for getpt()........ not found.<br>Looking for grantpt()...... not found.<br>Looking for openpty()...... not found.<br>Looking for posix_openpt(). not found.<br>Looking for ptsname()...... not found.<br>Looking for
 ptsname_r().... not found.<br>Looking for sigaction().... not found.<br>Looking for strlcpy()...... not found.<br>Looking for ttyname()...... not found.<br>Looking for unlockpt()..... not found.<br>Looking for libutil.h...... not found.<br>Looking for pty.h.......... not found.<br>Looking for sys/pty.h...... not found.<br>Looking for sys/ptyio.h.... not found.<br>Looking for sys/stropts.h.. not found.<br>Looking for termio.h....... not found.<br>Looking for termios.h...... not found.<br>Looking for util.h......... not found.<br>Checking which symbols compile OK...<br>(sorry for the tedious check, but some systems have not too clean<br> header files, to say the least;  '+' means OK, '-' means not defined<br> and '*' has compile problems...)<br>-B0 -B110 -B115200 -B1200 -B134 -B150 -B153600 -B1800 -B19200 -B200 -B230400 -B2400 -B300 -B307200 -B38400 -B460800 -B4800 -B50 -B57600 -B600 -B75 -B76800 -B9600 -BRKINT -BS0 -BS1<br>-BSDLY -CBAUD
 -CBAUDEXT -CBRK -CCTS_OFLOW -CDEL -CDSUSP -CEOF -CEOL -CEOL2 -CEOT -CERASE -CESC -CFLUSH -CIBAUD -CIBAUDEXT -CINTR -CKILL -CLNEXT -CLOCAL -CNSWTCH -CNUL -CQUIT -CR0 -<br>CR1 -CR2 -CR3 -CRDLY -CREAD -CRPRNT -CRTSCTS -CRTSXOFF -CRTS_IFLOW -CS5 -CS6 -CS7 -CS8 -CSIZE -CSTART -CSTOP -CSTOPB -CSUSP -CSWTCH -CWERASE -DEFECHO -DIOC -DIOCGETP -DIOCSETP -DOS<br>MODE -ECHO -ECHOCTL -ECHOE -ECHOK -ECHOKE -ECHONL -ECHOPRT -EXTA -EXTB -FF0 -FF1 -FFDLY -FIORDCHK -FLUSHO -HUPCL -ICANON -ICRNL -IEXTEN -IGNBRK -IGNCR -IGNPAR -IMAXBEL -INLCR -INPC<br>K -ISIG -ISTRIP -IUCLC -IXANY -IXOFF -IXON -KBENABLED -LDCHG -LDCLOSE -LDDMAP -LDEMAP -LDGETT -LDGMAP -LDIOC -LDNMAP -LDOPEN -LDSETT -LDSMAP -LOBLK -NCCS -NL0 -NL1 -NLDLY -NOFLSH -<br>OCRNL -OFDEL -OFILL -OLCUC -ONLCR -ONLRET -ONOCR -OPOST -PAGEOUT -PARENB -PAREXT -PARMRK -PARODD -PENDIN -RCV1EN -RTS_TOG -TAB0 -TAB1 -TAB2 -TAB3 -TABDLY -TCDSET -TCFLSH -TCGETA -T<br>CGETS -TCIFLUSH -TCIOFF -TCIOFLUSH -TCION -TCOFLUSH -TCOOFF
 -TCOON -TCSADRAIN -TCSAFLUSH -TCSANOW -TCSBRK -TCSETA -TCSETAF -TCSETAW -TCSETCTTY -TCSETS -TCSETSF -TCSETSW -TCXONC -TE<br>RM_D40 -TERM_D42 -TERM_H45 -TERM_NONE -TERM_TEC -TERM_TEX -TERM_V10 -TERM_V61 -TIOCCBRK -TIOCCDTR -TIOCCONS -TIOCEXCL -TIOCFLUSH -TIOCGETC -TIOCGETD -TIOCGETP -TIOCGLTC -TIOCGPGRP<br>-TIOCGSID -TIOCGSOFTCAR -TIOCGWINSZ -TIOCHPCL -TIOCKBOF -TIOCKBON -TIOCLBIC -TIOCLBIS -TIOCLGET -TIOCLSET -TIOCMBIC -TIOCMBIS -TIOCMGET -TIOCMSET -TIOCM_CAR -TIOCM_CD -TIOCM_CTS -T<br>IOCM_DSR -TIOCM_DTR -TIOCM_LE -TIOCM_RI -TIOCM_RNG -TIOCM_RTS -TIOCM_SR -TIOCM_ST -TIOCNOTTY -TIOCNXCL -TIOCOUTQ -TIOCREMOTE -TIOCSBRK -TIOCSCTTY -TIOCSDTR -TIOCSETC -TIOCSETD -TIO<br>CSETN -TIOCSETP -TIOCSIGNAL -TIOCSLTC -TIOCSPGRP -TIOCSSID -TIOCSSOFTCAR -TIOCSTART -TIOCSTI -TIOCSTOP -TIOCSWINSZ -TM_ANL -TM_CECHO -TM_CINVIS -TM_LCF -TM_NONE -TM_SET -TM_SNL -TO<br>STOP -VCEOF -VCEOL -VDISCARD -VDSUSP -VEOF -VEOL -VEOL2 -VERASE -VINTR -VKILL -VLNEXT -VMIN -VQUIT -VREPRINT
 -VSTART -VSTOP -VSUSP -VSWTCH -VT0 -VT1 -VTDLY -VTIME -VWERASE -WRAP -X<br>CASE -XCLUDE -XMT1EN -XTABS<br><br>WARNING!  Neither ptsname() nor ptsname_r() could be found,<br> so we cannot use a high-level interface like openpty().<br>No high-level lib or clone device has been found, we will use BSD-style ptys.<br>Writing IO::Tty::Constant.pm...<br>DEFINE =<br>Checking if your kit is complete...<br>Looks good<br>Writing Makefile for IO::Tty<br>Could not read metadata file. Falling back to other methods to determine prerequisites<br>cp Tty.pm blib\lib\IO\Tty.pm<br>cp Tty/Constant.pm blib\lib\IO\Tty\Constant.pm<br>cp Pty.pm blib\lib\IO\Pty.pm<br>C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp  -typemap C:\strawberry\perl\lib\ExtUtils\typemap  Tty.xs > Tty.xsc && C:\strawberry\perl\bin\perl.exe -MExtU<br>tils::Command -e "mv" -- Tty.xsc Tty.c<br></div><div><span style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;">C:\strawberry\perl\bin\perl.exe C:\strawberry\perl\lib\ExtUtils\xsubpp  -typemap C:\strawberry\perl\lib\ExtUtils\typemap  Tty.xs > Tty.xsc && C:\strawberry\perl\bin\perl.exe -MExtU</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">tils::Command -e "mv" -- Tty.xsc Tty.c</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">gcc -c          -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -DPERL_MSVCRT_READFIX -s -O2</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;">  -DVERSION=\"1.10\"    -DXS_VERSION=\"1.10\"  "-IC:\strawberry\perl\lib\CORE"   Tty.c</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">In file included from Tty.xs:54:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw32/include/sys/ioctl.h:17: error: expected declaration specifiers or '...' before '(' token</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.4.3/../../../../i686-w64-mingw32/include/sys/ioctl.h:17: error: expected ')'
 before '->' token</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Tty.xs: In function 'make_safe_fd':</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Tty.xs:225: error: 'F_DUPFD' undeclared (first use in this function)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Tty.xs:225: error: (Each undeclared identifier is reported only once</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Tty.xs:225: error: for each function it appears in.)</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span
 style="font-family: Courier New,courier,monaco,monospace,sans-serif;">dmake.EXE:  Error code 129, while making 'Tty.o'</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">  TODDR/IO-Tty-1.10.tar.gz</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">  C:\strawberry\c\bin\dmake.EXE -- NOT OK</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Running make test</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">  Can't test without successful make</span><br style="font-family: Courier
 New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Running make install</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">  Make had returned bad status, install seems impossible</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">Failed during this command:</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"> TODDR/IO-Tty-1.10.tar.gz                     : make NO</span><br style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><br style="font-family:
 Courier New,courier,monaco,monospace,sans-serif;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;">cpan></span></div></div></body></html>