Mingbo, > Did you check your /etc/hosts file?
> Mingbo I did - here is what it looks like. Do you see anything that should or should NOT be there. # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 10.0.0.10 magic.magicandmedia.com Magic 10.0.0.1 magic-gw MagicGW Thanks, Thomas -----Original Message----- From: Thomas Whitney [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 9:35 PM To: [EMAIL PROTECTED] Subject: [Perl-unix-users] 2 Failed Tests Installing 5.8.0 Hi, I'm not sure if this is the right list for my issue. ActivePerl for Unix ? I'm wondering if there is a difference between ActivePerl for linux and Perl for linux. If this is not the correct list for this, let me know and I will post this to another list. Anyway - here is my problem. I am installing Perl 5.8.0 from source on RH Linux 7.3 with a 2.4 kernel. Everything goes smoothly in MakeFile and make. Then make test passes all tests except for two. They were: etc/IO/lib/IO/t/io_sock.t lib/Net/hostent.t When I run the second test './perl lib/Net/hostent.t' individually sometimes it WORKS fine and others I get the following result. 1..7 ok 1 - use Net::hostent; ok 2 - gethost('localhost') not ok 3 - addr from gethost # Failed test (lib/Net/hostent.t at line 39) # got: '66.180.108.26' # expected: '127.0.0.1' ok 4 - gethostbyaddr('127.0.0.1') ok 5 - addr from gethostbyaddr # name = localhost.magicandmedia.com, aliases = ok 6 ok 7 Note:: 66.180.108.26 is the outside ip address of that server, but I have no idea where it is getting that address because it is running through a hardware firewall and 'nat' changes it to 10.0.0.21. When I run the first test './perl etc/IO/lib/IO/t/io_sock.t' it always fails but at different tests. Sometimes it will make to 17 and sometimes 10 and both die with - Died at ext/IO/lib/IO/t/io_sock.t line 35 Other times it only passes 1 and the dies with - 'accept failed: Connection timed out at /etc/IO/lib/IO/t/io_sock.t line 61. I have checked, hosts, resolv.conf and ifconfig and route, but nothing looks out of whack. I would appreciate any suggestions. Thanks, Thomas Whitney _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs