newbie needs help building Python 2.5 for Fedora Core 6

bobmon bobmon at gmail.com
Sat Feb 24 17:25:34 EST 2007


Hello, and please be gentle...

I'm trying to build Python 2.5 on my Fedora Core 6 installation.  I
think I've resolved most of my problems, but "make test" reports an
error for test_socket.py, shown below.

I suppose my FC6 installation is missing something, but I have no idea
what.  Any ideas, directions, pointers would be most appreciated.



======================================================================
 ERROR: testSockName (__main__.GeneralModuleTests)
 
----------------------------------------------------------------------
 Traceback (most recent call last):
   File "./Lib/test/test_socket.py", line 456, in testSockName
     my_ip_addr = socket.gethostbyname(socket.gethostname())
 gaierror: (-2, 'Name or service not known')

 
----------------------------------------------------------------------
 Ran 66 tests in 35.478s

 FAILED (errors=1)
 Traceback (most recent call last):
   File "./Lib/test/test_socket.py", line 962, in <module>
     test_main()
   File "./Lib/test/test_socket.py", line 958, in test_main
     test_support.run_unittest(*tests)
   File "/home/Installer/Python/Python-2.5/Lib/test/test_support.py",
line 441, in run_uni
 ttest
     run_suite(suite, testclass)
   File "/home/Installer/Python/Python-2.5/Lib/test/test_support.py",
line 426, in run_sui
 te
     raise TestFailed(err)
 test.test_support.TestFailed: Traceback (most recent call last):
   File "./Lib/test/test_socket.py", line 456, in testSockName
     my_ip_addr = socket.gethostbyname(socket.gethostname())
 gaierror: (-2, 'Name or service not known')




More information about the Python-list mailing list