/bin/sh: ./python: cannot execute binary file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

/bin/sh: ./python: cannot execute binary file

cvncvbnvbn vbnvbnbn
I am very newbie to PYTHON,


and cross-compiling python 2.4 with arm-linux.

I am getting following error,,

 CC='/usr/local/openrg/openrg/pkg/build/rg_gcc' LDSHARED='/usr/local/openrg/openrg/pkg/build/rg_gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
*)  CC='/usr/local/openrg/openrg/pkg/build/rg_gcc' LDSHARED='/usr/local/openrg/openrg/pkg/build/rg_gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py build;; \
esac
/bin/sh: ./python: cannot execute binary file
make: *** [sharedmods] Error 126



can anybody help me,  how to run this python binaryfile within MAKEFILE..


suggestion will be really appriciated.


Regars,,
Priyank


Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.
_______________________________________________
Compiler-sig mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/compiler-sig
Reply | Threaded
Open this post in threaded view
|

Re: /bin/sh: ./python: cannot execute binary file

Bugzilla from nnorwitz@gmail.com
The best place to ask this question is on the usenet group
comp.lang.python (also reachable via email: [hidden email]).

Cross compiling doesn't completely work in a stock python.  You will
need to find a patch on SF to help.  Several people have gotten this
to work.

http://sourceforge.net/tracker/?atid=305470&group_id=5470&func=browse

Good luck,
n
--

On 5/15/07, cvncvbnvbn vbnvbnbn <[hidden email]> wrote:

> I am very newbie to PYTHON,
>
>
> and cross-compiling python 2.4 with arm-linux.
>
> I am getting following error,,
>
>  CC='/usr/local/openrg/openrg/pkg/build/rg_gcc'
> LDSHARED='/usr/local/openrg/openrg/pkg/build/rg_gcc
> -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E
> ./setup.py -q build;; \
> *)  CC='/usr/local/openrg/openrg/pkg/build/rg_gcc'
> LDSHARED='/usr/local/openrg/openrg/pkg/build/rg_gcc
> -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E
> ./setup.py build;; \
> esac
> /bin/sh: ./python: cannot execute binary file
> make: *** [sharedmods] Error 126
>
>
>
> can anybody help me,  how to run this python binaryfile within MAKEFILE..
>
>
> suggestion will be really appriciated.
>
>
> Regars,,
> Priyank
>
>  ________________________________
> Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.
> _______________________________________________
> Compiler-sig mailing list
> [hidden email]
> http://mail.python.org/mailman/listinfo/compiler-sig
>
>
_______________________________________________
Compiler-sig mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/compiler-sig