Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 30 Apr 2001 15:56:24 +0800 From: Greg Matheson To: cygwin AT cygwin DOT com Subject: Re: perl Expect module can't open pty on cygwin Message-ID: <20010430155623.J34578@ms.chinmin.edu.tw> Mail-Followup-To: cygwin AT cygwin DOT com References: <20010419125345 DOT A25777 AT ms DOT chinmin DOT edu DOT tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010419125345.A25777@ms.chinmin.edu.tw>; from lang@ms.chinmin.edu.tw on Thu, Apr 19, 2001 at 12:53:45 +0800 On Thu, 19 Apr 2001, I wrote I am having problems with the perl Expect module. Looking at the archives, I see Gerrit P. Haase wrote in December that he installed it OK with the CPAN module, but I note then that there were no tests defined for the module. > Running make test > No tests defined for Expect extension. > /usr/bin/make test -- OK Trying the same procedure today, I get: > Running make test > PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/cygwin > -I/usr/lib/perl5/5.6.1 test.pl > 1..7 > ok 1 > Expect: Could not assign a pty at blib/lib/Expect.pm line 87. > make: *** [test_dynamic] Error 22 > /bin/make test -- NOT OK > Running make install > make test had returned bad status, won't install without force This is teh same message as I have been getting trying the module in perl scripts after installing it by hand. The module works on FreeBSD, so it looks like it has something to do with the way cygwin creates ptys. According to the module's maintainer, Roland Giersig, it is a IO::Tty issue. The funny thing is I could have sworn it worked at one point, but I don't know how. Has anyone gotten this module working? -- Greg Matheson Rather than do things right, Chinmin College, Do the right thing. Taiwan -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple