From: Christian S. <chr...@gm...> - 2002-03-01 09:07:21
|
Has anybody experience with IO::Tty on Solaris 8. It says in the documentation that Solaris 8 is supported, but I can't get it to run. Here is the output I get: [27 root@bwnic1zhb]/opt/install/scripting/IO-Tty-0.92_02 :#perl Makefile.PL Looking for strlcpy()... found. Looking for grantpt()... found. Looking for openpty()... not found. Looking for ttyname()... found. Looking for _getpty()... not found. Looking for ptsname()... found. Looking for getpt()... not found. Looking for unlockpt()... found. Looking for sigaction()... found. Looking for libutil.h... not found. Looking for util.h... not found. Looking for pty.h... not found. Looking for sys/stropts.h... found. DEFINE = -DHAVE_DEV_PTMX -DHAVE_STRLCPY -DHAVE_GRANTPT -DHAVE_TTYNAME -DHAVE_PTSNAME -DHAVE_UNLOCKPT -DHAVE_SIGACTION -DHAVE_SYS_STROPTS_H Checking if your kit is complete... Looks good Writing Makefile for IO::Tty [28 root@bwnic1zhb]/opt/install/scripting/IO-Tty-0.92_02 :#make cp Pty.pm blib/lib/IO/Pty.pm cp Tty.pm blib/lib/IO/Tty.pm /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/t ypemap Tty.xs > Tty .xsc && mv Tty.xsc Tty.c gcc -c -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"0.92_02\" -DXS_VERSION=\"0.92_02\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -DHAVE_DEV_PTMX -DHAVE_STRLCPY -DHAVE_GRANTPT -DHAVE_TTYNAME -DHAVE_PTSNAME -DHAVE_UNLOCKPT -DHAVE_SIGACTION -DHAVE_SYS_STROPTS_H Tty.c Running Mkbootstrap for IO::Tty () chmod 644 Tty.bs rm -f blib/arch/auto/IO/Tty/Tty.so LD_RUN_PATH="" gcc -G -L/usr/local/lib Tty.o -o blib/arch/auto/IO/Tty/Tty.so chmod 755 blib/arch/auto/IO/Tty/Tty.so cp Tty.bs blib/arch/auto/IO/Tty/Tty.bs chmod 644 blib/arch/auto/IO/Tty/Tty.bs Manifying blib/man3/IO::Pty.3 Manifying blib/man3/IO::Tty.3 [29 root@bwnic1zhb]/opt/install/scripting/IO-Tty-0.92_02 :#make test PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/sun4-solar is -I/usr/local/lib/perl5/5.6.1 test.pl Using /opt/install/scripting/IO-Tty-0.92_02/blib 1..12 Checking for appropriate ioctls: Cannot exec(unknown_program_test_IGNORE_THIS_ERROR_ahat44535jtrbni43uh5): No such file or directory ok 1 ok 2 isatty($master): NO isatty($slave): YES Couldn't read anything: at test.pl line 82. make: *** [test_dynamic] Error 255 [30 root@bwnic1zhb]/opt/install/scripting/IO-Tty-0.92_02 :# Thanks Christian |