perl test::expect编译问题

这个模块需要安装Tty模块,可是出现警告:
hp7000-4</export/home/smias>176:make test
PERL_DL_NONLAZY=1 /usr/perl5/5.8.4/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..4
Configuration: -DHAVE_DEV_PTMX -DHAVE_GRANTPT -DHAVE_PTSNAME -DHAVE_SIGACTION -DHAVE_STRLCPY -DHAVE_SYS_STROPTS_H -DHAVE_TERMIOS_H -DHAVE_TERMIO_H -DHAVE_TTYNAME -DHAVE_UNLOCKPT
Checking for appropriate ioctls: TIOCNOTTY TIOCSCTTY
Checking that returned fd's don't clash with stdin/out/err...
trying /dev/ptmx...
trying grantpt()...
trying unlockpt()...
trying ptsname()...
trying to open /dev/pts/11...
trying to I_PUSH ptem...
trying to I_PUSH ldterm...
trying to I_PUSH ttcompat...
ok 1
Checking if child gets pty as controlling terminal...
trying /dev/ptmx...
trying grantpt()...
trying unlockpt()...
trying ptsname()...
trying to open /dev/pts/11...
trying to I_PUSH ptem...
trying to I_PUSH ldterm...
trying to I_PUSH ttcompat...
warning: TIOCSCTTY failed, slave might not be set as controlling terminal: 不合适的设备ioctl at /export/home/smias/IO-Tty-1.07/blib/lib/IO/Pty.pm line 120.
ok 2
gimme on /dev/tty: seems OK!
seems OK!
seems OK!
back on STDOUT: SEEMS OK!
ok 3
Checking basic functionality and how your ptys handle large strings...
  This test may hang on certain systems, even though it is protected
  by alarm().  If the counter stops, try Ctrl-C, the test should continue.

trying /dev/ptmx...
trying grantpt()...
trying unlockpt()...
trying ptsname()...
trying to open /dev/pts/11...
trying to I_PUSH ptem...
trying to I_PUSH ldterm...
trying to I_PUSH ttcompat...
isatty($master): NO
isatty($slave): YES
Child PID = 17549
Good, your raw ptys can handle at least 512 bytes at once.
ok 4
Slave got EOF at line 512, byte 0.
Passed 4 of 4 tests.

没理会后,又安装expect模块,可是运行make test出现:
hp7000-4</export/home/smias>145:make test
PERL_DL_NONLAZY=1 /usr/perl5/5.8.4/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/simple....ok 1/18                                                         
t/simple....NOK 10/18#   Failed test 'expect'                                
#   at lib/Test/Expect.pm line 85.
#          got: 'ping
# ping
# pong'
#     expected: 'pong'
t/simple....ok 12/18                                                         
t/simple....NOK 18/18#   Failed test 'expect'                                
#   at lib/Test/Expect.pm line 85.
#          got: 'ping
# ping
# pong'
#     expected: 'pong'
# Looks like you failed 2 tests of 18.
t/simple....dubious                                                         
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 10, 18
        Failed 2/18 tests, 88.89% okay
Failed Test Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/simple.t     2   512    18    2  10 18
Failed 1/1 test scripts. 2/18 subtests failed.
Files=1, Tests=18,  2 wallclock secs ( 0.06 cusr +  0.01 csys =  0.07 CPU)
Failed 1/1 test programs. 2/18 subtests failed.
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'

高手帮帮忙,谢谢先!