Python versions, build in scratchbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, rebuilding qemu with arm-eabi patches (
http://qemu-arm-eabi.wiki.sourceforge.net/) will fix this problem. And sorry
because the link that I passed to you was in portuguese.
But the steps are simple:

   1. You have to install gcc-3.4 and zlib1g-dev
      - (sudo apt-get install gcc-3.4 zlib1g-dev)
   2. Get the patched qemu-arm-eabi sources available in
   http://sourceforge.net/projects/qemu-arm-eabi/
      - svn co
      https://qemu-arm-eabi.svn.sourceforge.net/svnroot/qemu-arm-eabi/trunkqemu-arm-eabi
   3. Compile
   - cd qemu-arm-eabi
      - ./configure --target-list=arm-linux-user --static
      - make
   4. Update the scratchbox
      - sudo cp arm-linux-user/qemu-arm
      /scratchbox/devkits/cputransp/bin/qemu-arm-eabi-sb2
      - sudo vim /scratchbox/devkits/cputransp/etc/cputransp-methods
         - add the line: qemu-arm-eabi-sb2
      - vim /scratchbox/users/USERNAME/targets/SDK_ARMEL.config
         - change the variable value SBOX_CPUTRANSPARENCY_METHOD to
         /scratchbox/devkits/cputransp/bin/qemu-arm-eabi-sb2

The syscall errors will disappear.


On Wed, Apr 2, 2008 at 10:23 PM, Andrew Daviel <advax at triumf.ca> wrote:

> On Wed, 2 Apr 2008, Jos? Lu?s wrote:
>
>  Hi, you have to install python2.5-dev package in scratchbox (apt-get
> > install
> > python2.5-dev).
> >
>
> OK - that gets python2.5 and libffi4, too.
>
>  To install your package you can use "python2.5-dev setup.py install"
> > command.
> >
>
> I guess you mean "python2.5 setup.py install"
>
>
> > This message "sem_post: Function not implemented" is a qemu problem
> > (http://setanta.wordpress.com/2007/11/20/qemu-arm-eabi-no-scratchbox/),
> > but compilation should work.
> >
>
> "python2.5 setup.py  build" works, but I get things like
>  qemu: Unsupported syscall: 0
>  qemu: uncaught target signal 11 (Segmentation fault) - exiting
>  qemu: uncaught target signal 4 (Illegal instruction) - exiting
>  error: command '/usr/bin/python2.5' failed with exit status 252
> when I do "python2.5 setup.py install".
> Tt seems to fail after a certain time, so by re-running the script
> multiple times, eventually it finishes.
> Would rebuilding quemu fix this problem, too ?
>
>
>
> Andrew




-- 
Jos? Lu?s do Nascimento
Mestrando em Engenharia El?trica
Laborat?rio de Sistemas Embarcados e Computa??o Pervasiva
UFCG - Campina Grande
jluisn at {ee,dee,embedded}.ufcg.edu.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-users/attachments/20080403/67f35299/attachment.htm 


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux