Hi,<br><br>You can download the PIL package that I created from <a href="http://www.saunalahti.fi/~tsharju/pymaemo/">http://www.saunalahti.fi/~tsharju/pymaemo/</a><br><br>- Teemu<br><br><div><span class="gmail_quote">On 5/11/06, 
<b class="gmail_sendername">Christine Liu</b> &lt;<a href="mailto:liuliuliu@gmail.com">liuliuliu@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>hello again -<br>
here are more gruesome error details on my scratchbox linux PC for compiling PIL.<br>
<br>
[sbox-SDK_ARM: ~/Imaging-1.1.5] &gt; python setup.py bdist_dumb<br>
running bdist_dumb<br>
running build<br>
running build_py<br>
running build_ext<br>
building '_imaging' extension<br>
/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<br>
/scratchbox/compilers/arm-linux-gcc3.4.cs-glibc2.3/bin/sbox-arm-linux-as: unrecognized option `-Qy'<br>
error: command '/scratchbox/compilers/host-gcc/bin/gcc' failed with exit status 1<br>
<br>
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!<br></div><div><span class="sg">
<br>
christine</span></div><div><span class="e" id="q_10b20af7f5f22f29_2"><br><br><div><span class="gmail_quote">On 5/10/06, <b class="gmail_sendername">Christine Liu</b> &lt;<a href="mailto:liuliuliu@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
liuliuliu@gmail.com</a><img alt="mail" src="data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%0C%00%00%00%0C%08%06%00%00%00Vu%5C%E7%00%00%00%06bKGD%00%FF%00%FF%00%FF%A0%BD%A7%93%00%00%00%09pHYs%00%00%0B%13%00%00%0B%13%01%00%9A%9C%18%00%00%00%07tIME%07%D5%0A%09%0D%22%0F%86J%B8%F5%00%00%00%D0IDAT%28%CF%B5%D1%21N%03a%18%84%E1%A7%A4j%1BJBKBH%28%14QB%82B%10%108Tm%2F%C0%098%09%8A%13%90%A0%F0%DC%00WQ%8B%86%0AT%13%A8%21%EC%EE%FF%7F%08BA%D6t%E4d%5E13%ACZ%8D%B7%C9M%2C%1B%9E%B5F%9A0%9F%BD%80%DE%C55%B9%24U%E4R%D4%A5%E9%E4%01%B4%3B%7B%F0%03t%8F%86Dx%7D%BA%05%BB%A7W%A6%E3%7B%D0%E9%9D%88%5C%A9%3F%E7%7F%40%D1%1D%10%B5%EE%E0R%E4%DAt%7C%A7%D3%3F%23W%8A%F5-R%E9%E3%3F%40%26%92bs%9FTrp%AEho%8BT%92%BFDN%8B%1Ek%20%12%91%C9%89%A8%15%1B%3B%E4Z%23%AA%85%F7%AB%26%BC%3F%3F.%3Dks%D6%1A-%1D%3E%3E%EC7V%7E%B4o%15oR%F2MA%04%09%00%00%00%00IEND%AEB%60%82" height="12" width="12">
&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hey all -<br><br>&gt; That's because you miss the first line, a functional comment, to instruct<br>&gt; system how to run your file. You should use as first line:<br>&gt;<br>&gt; #!/var/lib/install/usr/bin/python2.4<br><br>

that was it. thank you all (i thought it was a comment, heh).<br><br>another question - i'm attempting to port PIL  la teemu<br>(<a href="http://www.teemuharju.net/2006/02/24/porting-python-modules-to-maemo/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.teemuharju.net/2006/02/24/porting-python-modules-to-maemo/
</a>).<br>i compiled under the SDK_ARM in scratchbox, but i never got a 'dist'<br>directory created (but seemingly the other stuff is there).<br><br>just for kicks, i compiled the source on my mac os x (no scratchbox)<br>

and actually got the dist + PIL-1.1.5.linux-armv5tel.tar.gz hidden in<br>there. i untarred that one, but then never found the dist/usr<br>directory (only one created was dist/Library/Frameworks).<br><br>any explanation / help on how to continue?
<br><br>thanks!<br>christine<br></blockquote></div><br>

</span></div><br>_______________________________________________<br>maemo-developers mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org
</a><img alt="mail" src="data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%0C%00%00%00%0C%08%06%00%00%00Vu%5C%E7%00%00%00%06bKGD%00%FF%00%FF%00%FF%A0%BD%A7%93%00%00%00%09pHYs%00%00%0B%13%00%00%0B%13%01%00%9A%9C%18%00%00%00%07tIME%07%D5%0A%09%0D%22%0F%86J%B8%F5%00%00%00%D0IDAT%28%CF%B5%D1%21N%03a%18%84%E1%A7%A4j%1BJBKBH%28%14QB%82B%10%108Tm%2F%C0%098%09%8A%13%90%A0%F0%DC%00WQ%8B%86%0AT%13%A8%21%EC%EE%FF%7F%08BA%D6t%E4d%5E13%ACZ%8D%B7%C9M%2C%1B%9E%B5F%9A0%9F%BD%80%DE%C55%B9%24U%E4R%D4%A5%E9%E4%01%B4%3B%7B%F0%03t%8F%86Dx%7D%BA%05%BB%A7W%A6%E3%7B%D0%E9%9D%88%5C%A9%3F%E7%7F%40%D1%1D%10%B5%EE%E0R%E4%DAt%7C%A7%D3%3F%23W%8A%F5-R%E9%E3%3F%40%26%92bs%9FTrp%AEho%8BT%92%BFDN%8B%1Ek%20%12%91%C9%89%A8%15%1B%3B%E4Z%23%AA%85%F7%AB%26%BC%3F%3F.%3Dks%D6%1A-%1D%3E%3E%EC7V%7E%B4o%15oR%F2MA%04%09%00%00%00%00IEND%AEB%60%82" height="12" width="12">
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://maemo.org/mailman/listinfo/maemo-developers</a><br><br><br></blockquote></div>
<br><br clear="all"><br>-- <br>Teemu Harju<br><a href="http://www.teemuharju.net">http://www.teemuharju.net</a>