[maemo-developers] [maemo-developers] python on maemo

From: Christine Liu liuliuliu at gmail.com
Date: Thu May 11 02:43:32 EEST 2006
hello again -
here are more gruesome error details on my scratchbox linux PC for compiling
PIL.

[sbox-SDK_ARM: ~/Imaging-1.1.5] > python setup.py bdist_dumb
running bdist_dumb
running build
running build_py
running build_ext
building '_imaging' extension
/scratchbox/compilers/host-gcc/bin/gcc
-specs=/scratchbox/compilers/host-gcc/host-gcc.specs -pthread
-fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-DHAVE_LIBJPEG -DHAVE_LIBZ -I/usr/include/freetype2 -IlibImaging
-I/scratchbox/tools/include -I/usr/include
-I/scratchbox/tools/include/python2.3 -c libImaging/Crop.c -o
build/temp.linux-arm-2.3/libImaging/Crop.o
/scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3/bin/sbox-arm-linux-as:
unrecognized option `-Qy'
error: command '/scratchbox/compilers/host-gcc/bin/gcc' failed with exit
status 1

i (as well as my linux geeky bf) have no idea how to get around this. :) PIL
will save my life, so i would like to get this imported as easily as i can.
perhaps there are alternate ways other than teemu's blog? thank you!

christine

On 5/10/06, Christine Liu <liuliuliu at gmail.com> wrote:
>
> hey all -
>
> > That's because you miss the first line, a functional comment, to
> instruct
> > system how to run your file. You should use as first line:
> >
> > #!/var/lib/install/usr/bin/python2.4
>
> that was it. thank you all (i thought it was a comment, heh).
>
> another question - i'm attempting to port PIL à la teemu
> (http://www.teemuharju.net/2006/02/24/porting-python-modules-to-maemo/).
> i compiled under the SDK_ARM in scratchbox, but i never got a 'dist'
> directory created (but seemingly the other stuff is there).
>
> just for kicks, i compiled the source on my mac os x (no scratchbox)
> and actually got the dist + PIL-1.1.5.linux-armv5tel.tar.gz hidden in
> there. i untarred that one, but then never found the dist/usr
> directory (only one created was dist/Library/Frameworks).
>
> any explanation / help on how to continue?
>
> thanks!
> christine
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060510/e5b8786a/attachment.htm 
More information about the maemo-developers mailing list