anyone has experience on cross-compile python 2.5.1?

Leo Jay python.leojay at gmail.com
Mon Apr 30 05:25:47 EDT 2007


i have a development board based on s3c2410 arm cpu. and i want to
port python on it.
after googling some threads, i successfully cross compiled python.
but i still encountered a weird issue that when i ran
/lib/python2.5/test/testall.py,
the process stuck at test_asynchat.py, i located the stuck point here:

   def test_numeric_terminator(self):
       # Try reading a fixed number of bytes
       s = echo_server()
       s.start()         # <----- stuck here  !!!
       time.sleep(1) # Give server time to initialize
       c = echo_client(6L)
       c.push("hello ")
       c.push("world\n")
       asyncore.loop()
       s.join()


but the weirdest thing is, if i run python test_asynchat.py directly,
everything is ok.
anybody could help me?

thanks in advance.

ps, my linux box is an ubuntu 6.10.

-- 
Best Regards,
Leo Jay



More information about the Python-list mailing list