This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
17772
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
adamk [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Wishlist
Broken in:
1.85
Fixed in:
(no value)



Subject: Can't test 30shell.t on Win32 until Expect.pm installs (which it doesn't)
To be left as a tracking bug, this doesn't need to be addressed now. I set CPAN_RUN_SHELL_TEST, and it didn't find Expect.pm. OK then... ---------------------------------------------
Show quoted text
cpan> install Expect
CPAN: Storable loaded ok Going to read C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\Metadata Database was generated on Mon, 20 Feb 2006 21:16:20 GMT Running install for module Expect Running make for R/RG/RGIERSIG/Expect-1.15.tar.gz CPAN: LWP::UserAgent loaded ok Fetching with LWP: http://www.ftp.funet.fi/pub/languages/perl/CPAN/authors/id/R/RG/RGIERSIG/Expec t-1.15.tar.gz CPAN: Digest::MD5 loaded ok Fetching with LWP: http://www.ftp.funet.fi/pub/languages/perl/CPAN/authors/id/R/RG/RGIERSIG/CHECK SUMS Checksum for C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\sources\authors\id\R\RG\RGIERSI G\Expect-1.15.tar.gz ok Scanning cache C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build for sizes Deleting from cache: C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build\Algorithm-Diff-1. 1901 (10.5>10.0 MB) Deleting from cache: C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build\Text-Diff-0.35 (1 0.3>10.0 MB) Deleting from cache: C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build\Digest-SHA-5.34 ( 10.2>10.0 MB) CPAN: Archive::Tar loaded ok Expect-1.15/ Expect-1.15/examples/ Expect-1.15/examples/kibitz/ Expect-1.15/examples/kibitz/kibitz.man Expect-1.15/examples/kibitz/Changelog Expect-1.15/examples/kibitz/kibitz Expect-1.15/examples/kibitz/README Expect-1.15/tutorial/ Expect-1.15/tutorial/4.A.top Expect-1.15/tutorial/5.A.top Expect-1.15/tutorial/5.B.top Expect-1.15/tutorial/6.B.modem-init Expect-1.15/tutorial/README Expect-1.15/tutorial/2.A.ftp Expect-1.15/tutorial/6.A.smtp-verify Expect-1.15/tutorial/1.A.Intro Expect-1.15/tutorial/2.B.rlogin Expect-1.15/tutorial/3.A.debugging Expect-1.15/Makefile.PL Expect-1.15/test.pl Expect-1.15/README Expect-1.15/Expect.pm Expect-1.15/MANIFEST Expect-1.15/Changes Expect-1.15/Expect.pod CPAN.pm: Going to build R/RG/RGIERSIG/Expect-1.15.tar.gz Checking if your kit is complete... Looks good Warning: prerequisite IO::Pty 1 not found. Warning: prerequisite IO::Tty 1 not found. Writing Makefile for Expect ---- Unsatisfied dependencies detected during [R/RG/RGIERSIG/Expect-1.15.tar.gz] ----- IO::Pty IO::Tty Shall I follow them and prepend them to the queue of modules we are processing right now? [yes] yes Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module IO::Pty Running make for R/RG/RGIERSIG/IO-Tty-1.02.tar.gz Fetching with LWP: http://www.ftp.funet.fi/pub/languages/perl/CPAN/authors/id/R/RG/RGIERSIG/IO-Tt y-1.02.tar.gz Checksum for C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\sources\authors\id\R\RG\RGIERSI G\IO-Tty-1.02.tar.gz ok IO-Tty-1.02/ IO-Tty-1.02/Pty.pm IO-Tty-1.02/Makefile.PL IO-Tty-1.02/ChangeLog IO-Tty-1.02/test.pl IO-Tty-1.02/Tty.xs IO-Tty-1.02/Tty.pm IO-Tty-1.02/README IO-Tty-1.02/try IO-Tty-1.02/MANIFEST CPAN.pm: Going to build R/RG/RGIERSIG/IO-Tty-1.02.tar.gz Now let's see what we can find out about your system (logfiles of failing tests are available in the conf/ dir)... Looking for _getpty()...... not found. Looking for getpt()........ not found. Looking for grantpt()...... not found. Looking for openpty()...... not found. Looking for ptsname()...... not found. Looking for ptsname_r().... not found. Looking for sigaction().... not found. Looking for strlcpy()...... not found. Looking for ttyname()...... not found. Looking for unlockpt()..... not found. Looking for libutil.h...... not found. Looking for pty.h.......... not found. Looking for sys/stropts.h.. not found. Looking for termio.h....... not found. Looking for termios.h...... not found. Looking for util.h......... not found. Checking 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 -B230400 -B2 400 -B300 -B307200 -B38400 -B460800 -B4800 -B50 -B57600 -B600 -B75 -B76800 -B960 0 -BRKINT -BS0 -BS1 -BSDLY -CBAUD -CBAUDEXT -CBRK -CCTS_OFLOW -CDEL -CDSUSP -CEO F -CEOL -CEOL2 -CEOT -CERASE -CESC -CFLUSH -CIBAUD -CIBAUDEXT -CINTR -CKILL -CLN EXT -CLOCAL -CNSWTCH -CNUL -CQUIT -CR0 -CR1 -CR2 -CR3 -CRDLY -CREAD -CRPRNT -CRT SCTS -CRTSXOFF -CRTS_IFLOW -CS5 -CS6 -CS7 -CS8 -CSIZE -CSTART -CSTOP -CSTOPB -CS USP -CSWTCH -CWERASE -DEFECHO -DIOC -DIOCGETP -DIOCSETP -DOSMODE -ECHO -ECHOCTL -ECHOE -ECHOK -ECHOKE -ECHONL -ECHOPRT -EXTA -EXTB -FF0 -FF1 -FFDLY -FIORDCHK -F LUSHO -HUPCL -ICANON -ICRNL -IEXTEN -IGNBRK -IGNCR -IGNPAR -IMAXBEL -INLCR -INPC K -ISIG -ISTRIP -IUCLC -IXANY -IXOFF -IXON -KBENABLED -LDCHG -LDCLOSE -LDDMAP -L DEMAP -LDGETT -LDGMAP -LDIOC -LDNMAP -LDOPEN -LDSETT -LDSMAP -LOBLK -NCCS -NL0 - NL1 -NLDLY -NOFLSH -OCRNL -OFDEL -OFILL -OLCUC -ONLCR -ONLRET -ONOCR -OPOST -PAG EOUT -PARENB -PAREXT -PARMRK -PARODD -PENDIN -RCV1EN -RTS_TOG -TAB0 -TAB1 -TAB2 -TAB3 -TABDLY -TCDSET -TCFLSH -TCGETA -TCGETS -TCIFLUSH -TCIOFF -TCIOFLUSH -TCIO N -TCOFLUSH -TCOOFF -TCOON -TCSADRAIN -TCSAFLUSH -TCSANOW -TCSBRK -TCSETA -TCSET AF -TCSETAW -TCSETCTTY -TCSETS -TCSETSF -TCSETSW -TCXONC -TERM_D40 -TERM_D42 -TE RM_H45 -TERM_NONE -TERM_TEC -TERM_TEX -TERM_V10 -TERM_V61 -TIOCCBRK -TIOCCDTR -T IOCCONS -TIOCEXCL -TIOCFLUSH -TIOCGETC -TIOCGETD -TIOCGETP -TIOCGLTC -TIOCGPGRP -TIOCGSID -TIOCGSOFTCAR -TIOCGWINSZ -TIOCHPCL -TIOCKBOF -TIOCKBON -TIOCLBIC -TIO CLBIS -TIOCLGET -TIOCLSET -TIOCMBIC -TIOCMBIS -TIOCMGET -TIOCMSET -TIOCM_CAR -TI OCM_CD -TIOCM_CTS -TIOCM_DSR -TIOCM_DTR -TIOCM_LE -TIOCM_RI -TIOCM_RNG -TIOCM_RT S -TIOCM_SR -TIOCM_ST -TIOCNOTTY -TIOCNXCL -TIOCOUTQ -TIOCREMOTE -TIOCSBRK -TIOC SCTTY -TIOCSDTR -TIOCSETC -TIOCSETD -TIOCSETN -TIOCSETP -TIOCSIGNAL -TIOCSLTC -T IOCSPGRP -TIOCSSID -TIOCSSOFTCAR -TIOCSTART -TIOCSTI -TIOCSTOP -TIOCSWINSZ -TM_A NL -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 - VREPRINT -VSTART -VSTOP -VSUSP -VSWTCH -VT0 -VT1 -VTDLY -VTIME -VWERASE -WRAP -X CASE -XCLUDE -XMT1EN -XTABS WARNING! Neither ptsname() nor ptsname_r() could be found, so we cannot use a high-level interface like openpty(). No high-level lib or clone device has been found, we will use BSD-style ptys. Writing IO::Tty::Constant.pm... DEFINE = Checking if your kit is complete... Looks good Writing Makefile for IO::Tty cp Tty.pm blib\lib\IO\Tty.pm cp Tty/Constant.pm blib\lib\IO\Tty\Constant.pm cp Pty.pm blib\lib\IO\Pty.pm C:\vanilla-perl\perl\bin\perl.exe C:\vanilla-perl\perl\lib\ExtUtils\xsubpp -typ emap C:\vanilla-perl\perl\lib\ExtUtils\typemap Tty.xs > Tty.xsc && C:\vanilla-p erl\perl\bin\perl.exe -MExtUtils::Command -e mv Tty.xsc Tty.c gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_ IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"1. 02\" -DXS_VERSION=\"1.02\" "-IC:\vanilla-perl\perl\lib\CORE" Tty.c Tty.xs:100:23: sys/ioctl.h: No such file or directory In file included from Tty.xs:157: c:/vanilla-perl/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/signal.h: 84: error: syntax error before '(' token Tty.xs: In function `make_safe_fd': Tty.xs:263: error: `F_DUPFD' undeclared (first use in this function) Tty.xs:263: error: (Each undeclared identifier is reported only once Tty.xs:263: error: for each function it appears in.) dmake.EXE: Error code 129, while making 'Tty.o' C:\vanilla-perl\bin\dmake.EXE -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Running install for module IO::Tty Running make for R/RG/RGIERSIG/IO-Tty-1.02.tar.gz Is already unwrapped into directory C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build\ IO-Tty-1.02 Has already been processed within this session Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Running make for R/RG/RGIERSIG/Expect-1.15.tar.gz Is already unwrapped into directory C:\DOCUME~1\adam\LOCALS~1\Temp\cpan\build\ Expect-1.15 CPAN.pm: Going to build R/RG/RGIERSIG/Expect-1.15.tar.gz cp Expect.pm blib\lib\Expect.pm cp Expect.pod blib\lib\Expect.pod C:\vanilla-perl\bin\dmake.EXE -- OK Running make test C:\vanilla-perl\perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl 1..36 Can't locate IO/Pty.pm in @INC (@INC contains: blib\lib blib\arch C:/vanilla-per l/perl/lib C:/vanilla-perl/perl/site/lib .) at blib\lib/Expect.pm line 22. BEGIN failed--compilation aborted at blib\lib/Expect.pm line 22. Compilation failed in require at test.pl line 27. BEGIN failed--compilation aborted at test.pl line 27. dmake.EXE: Error code 130, while making 'test_dynamic' C:\vanilla-perl\bin\dmake.EXE test -- NOT OK Running make install make test had returned bad status, won't install without force
Show quoted text
cpan>
---------------------------------------------- It looks like the IO dependencies of Expect are failing to install, and thus Expect.pm, and thus for Win32 (for now) simply not having Expect.pm is a good enough reason :) But basically, I won't be able to do the testing for a while, till IO::Pty and friend both work. And this is being left here so anyone wondering about windows knows it can't be done for now.
Subject: Re: [rt.cpan.org #17772] Can't test 30shell.t on Win32 until Expect.pm installs (which it doesn't)
Date: Tue, 21 Feb 2006 04:20:34 +0100
To: bug-CPAN@rt.cpan.org
From: andreas.koenig.gmwojprw@franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Mon, 20 Feb 2006 19:20:22 -0500 (EST), " via RT" <bug-CPAN@rt.cpan.org> said:
I'm rewriting the test to run without Expect as we speak. -- andreas
Subject: Re: [rt.cpan.org #17772] Can't test 30shell.t on Win32 until Expect.pm installs (which it doesn't)
Date: Tue, 21 Feb 2006 07:08:45 +0100
To: bug-CPAN@rt.cpan.org
From: andreas.koenig.gmwojprw@franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Mon, 20 Feb 2006 22:21:28 -0500 (EST), "andreas.koenig.gmwojprw@franz.ak.mind.de via RT" <bug-CPAN@rt.cpan.org> said:
Show quoted text
Show quoted text
>>>>> On Mon, 20 Feb 2006 19:20:22 -0500 (EST), " via RT" <bug-CPAN@rt.cpan.org> said:
Show quoted text
> I'm rewriting the test to run without Expect as we speak.
1.86_51 is out. If you set envariable CPAN_RUN_SHELL_TEST, then you can run t/30shell.t without having Expect. I fear the results. Output for debugging pleasures in test.out:) -- andreas
I think I can close this one. Unfortunately Windows users have no Expect.pm because as far as I know it is not ported to Windows. But this must be reported and resolved elsewhere. Thanks,


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.