This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Term/ReadKey.pm missing from perl 5.14.2-3


On 29/07/2012 13:01, Steve Campbell wrote:
Hi,

The Perl Term::ReadKey module has gone missing from the perl 5.14.2-3
package (reverting to 5.10.1-5 restores it).

Could it be put back please? Unless there's a good reason for removing it
of course!


This is what I get when trying to compile it, maybe it's the cause:


 ~/temp/TermReadKey-2.14
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Term::ReadKey
Writing MYMETA.yml

~/temp/TermReadKey-2.14
$ make test
cp ReadKey.pm blib/lib/Term/ReadKey.pm
AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)
/usr/bin/perl.exe -I/usr/lib/perl5/5.14 genchars.pl

Writing termio/termios section of cchars.h... Done.
Checking for sgtty...
Sgtty NOT found.
Writing sgtty section of cchars.h... Done.
/usr/bin/perl.exe /usr/lib/perl5/5.14/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.14/ExtUtils/typemap ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c
Please specify prototyping behavior for ReadKey.xs (see perlxs manual)
gcc-4 -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"2.14\" -DXS_VERSION=\"2.14\" "-I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE" ReadKey.c
In file included from ReadKey.xs:326:0:
cchars.h: In function ‘XS_Term__ReadKey_GetControlChars’:
cchars.h:230:19: warning: assignment from incompatible pointer type
cchars.h:232:19: warning: assignment from incompatible pointer type
cchars.h: In function ‘XS_Term__ReadKey_SetControlChars’:
cchars.h:352:19: warning: assignment from incompatible pointer type
cchars.h:354:19: warning: assignment from incompatible pointer type
ReadKey.xs: In function ‘selectfile’:
ReadKey.xs:1433:2: warning: passing argument 2 of ‘Perl_PerlIO_get_cnt’ from incompatible pointer type
/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/proto.h:7152:19: note: expected ‘struct PerlIOl **’ but argument is of type ‘struct FILE *’
ReadKey.c: In function ‘XS_Term__ReadKey_SetReadMode’:
ReadKey.c:1755:11: warning: assignment from incompatible pointer type
ReadKey.c: In function ‘XS_Term__ReadKey_GetTermSizeWin32’:
ReadKey.c:1924:11: warning: assignment from incompatible pointer type
ReadKey.c: In function ‘XS_Term__ReadKey_GetTermSizeVIO’:
ReadKey.c:1967:11: warning: assignment from incompatible pointer type
ReadKey.c: In function ‘XS_Term__ReadKey_GetTermSizeGWINSZ’:
ReadKey.c:2010:11: warning: assignment from incompatible pointer type
ReadKey.c: In function ‘XS_Term__ReadKey_GetTermSizeGSIZE’:
ReadKey.c:2053:11: warning: assignment from incompatible pointer type
ReadKey.c: In function ‘XS_Term__ReadKey_SetTerminalSize’:
ReadKey.c:2100:11: warning: assignment from incompatible pointer type
ReadKey.c: In function ‘XS_Term__ReadKey_GetSpeed’:
ReadKey.c:2130:11: warning: assignment from incompatible pointer type
Running Mkbootstrap for Term::ReadKey ()
chmod 644 ReadKey.bs
rm -f blib/arch/auto/Term/ReadKey/ReadKey.dll
g++-4 --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector ReadKey.o -o blib/arch/auto/Term/ReadKey/ReadKey.dll \
/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/cygperl5_14.dll \


chmod 755 blib/arch/auto/Term/ReadKey/ReadKey.dll
cp ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs
chmod 644 blib/arch/auto/Term/ReadKey/ReadKey.bs
PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-Iblib/lib" "-Iblib/arch" -w test.pl

And now on to the tests!


Term::ReadKey is using TERMIOS, as opposed to TERMIO or SGTTY.


Non-blocking reads possible via O_NODELAY, and select().
O_NODELAY will be used. select() will be used for timed reads.
Using GetTerminalSize, it appears that your terminal is
84 characters wide by 53 high.

Apparently, you are connected at -2146388304/-2146544496 baud.

Unable to read terminal settings in GetControlChars at test.pl line 118.
Makefile:923: recipe for target `test_dynamic' failed
make: *** [test_dynamic] Error 9


-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]