anyone has experience on cross-compile python 2.5.1?

Leo Jay python.leojay at gmail.com
Fri May 4 08:16:00 EDT 2007


On 4/30/07, Leo Jay <python.leojay at gmail.com> wrote:
> 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.
>

hello, anybody could help me? thanks.


-- 
Best Regards,
Leo Jay



More information about the Python-list mailing list