Advertisements

On 4/15/2013 11:20 AM, Gilles wrote:
> Hello
>
> I tried running uWSGI on an ARM-based appliance, but it fails.
>
> Apparently, it could be due to the official Python 2.6.6 interpreter
> in the depot not being compiled the way uWSGI expects it to be:
>
> ./configure --enable-shared; make; make install;
> www.raspberrypi.org/phpBB3/viewtopic.php?f=32&t=15370
>
> I see Python mentioned in /usr/lib and /usr/share, and was wondering
> if all it'd take to solve this issue, is just to cross-compile the
> interpreter and the rest is just CPU-agnostic Python scripts.
>
> Just in case, here's the output:
> www.pastebin.com/wJHjBrfn

I believe some cross-compile support was added to 2.7.4 but I do not
know the exact nature.

Advertisements

Gilles <> writes:
> I see Python mentioned in /usr/lib and /usr/share, and was wondering
> if all it'd take to solve this issue, is just to cross-compile the
> interpreter and the rest is just CPU-agnostic Python scripts.

I suppose. In any case, cross compiling Python shouldn't be that hard. I
just recently built 2.7.3 for my OpenWRT router since the packaged
Python didn't have readline support (some long standing linking issue
with readline and ncurses and uClibc).

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!