|
From: Maloney, G. <ger...@in...> - 2001-11-28 11:05:22
|
Morning Roland I though that if it failed to find the necessary file that the Makefile would be incomplete. So I did include the other errors, but here they are When I do a make I get the following gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include -DUSEIMPORTLIB -O2 -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE -DHAS_TTYNAME Tty.cygwin-multi/CORE -DHAS_TTYNAME Tty.c Tty.xs:111: Invalid token in expression Tty.xs:242: Invalid token in expression make: *** [Tty.o] Error 1 and the make test yields the same error $ perl test.pl Using /cygdrive/c/temp/IO-Tty-0.05/blib Can't load '/usr/bin/Tty' for module IO::Tty: dlopen: Win32 error 126 at /usr/li b/perl5/5.6.1/cygwin-multi/DynaLoader.pm line 206. at /cygdrive/c/temp/IO-Tty-0.05/blib/lib/IO/Tty.pm line 25 Compilation failed in require at /cygdrive/c/temp/IO-Tty-0.05/blib/lib/IO/Pty.pm line 7. BEGIN failed--compilation aborted at /cygdrive/c/temp/IO-Tty-0.05/blib/lib/IO/Pt y.pm line 7. Compilation failed in require at test.pl line 5. BEGIN failed--compilation aborted at test.pl line 5. So there seem to have a build problem . G. -----Original Message----- From: Roland Giersig [mailto:RGi...@a1...] Sent: Wednesday, November 28, 2001 10:15 AM To: Maloney Gerard Cc: 'exp...@li...' Subject: Re: [Expectperl-discuss] errors when installing io::tty under cygwin > I am experiencing difficulties with getting io:tty > installed on cygwin, which I need to get expect to work. What kind of difficulties? Does it not compile? Do the tests fail? > I checked the internet and found information about binutil , which I > downloaded from cygwin. However following that I now get this > > $ perl makefile.pl > Looking for ttyname()... found. > Looking for libutil.h... not found. > Looking for util.h... not found. > Looking for pty.h... not found. > Looking for openpty()... not found. > DEFINE = -DHAS_TTYNAME > Writing Makefile for IO::Tty No problem so far. If those libraries were crucial, no Makefile would be written. Go ahead and do a 'make' and 'make test', it should work. BTW, there is a new version available that has a much improved pty allocation. It still has beta status, as I first want to test it on as much different systems as possible, but if you want you could try it out. Find it on CPAN under R/RG/RGIERSIG/IO-Tty-0.92_03.tar.gz. There is also a matching Expect version there, Expect-1.13_01.tar.gz. Hope this helps, Roland -- RGi...@cp... |