On 30-jan-2007, at 23:27, Eddie Dawydiuk wrote:
> > How large (or small, as the case may be) is the python package that
> > these people are using?
>
> You could take a look at the Debian packages to get an idea of how
> much
> space is required as it would depend upon what Python packages you
> need.
> We installed Python on one of our customers boards, IIRC we added
> Python
> and Python-Serial to TS-Linux. I believe the Python packages and
> all of
> the dependencies required around 20MB. This included all of the
> documentation and examples...
I was having a go at this today. Cross-compiling didn't quite work
(compiling the c/c++ code went fine but part of the process runs the
python that was just built which isn't gonna work when
crosscompiling), compiling using TS's dev. kit mostly worked except
that during 'make install', it starts to compile more stuff, then it
bombs out due to lack of memory. This is on a ts-7400 with 32 Mb. On
my next try, I'll activate some swap space and see how that goes.
BTW, the directory that it was installing into (not complete) was at
30 Mb... the python binary itself took 3.5 Mb of that.
What I did see is that it installs *a lot*, by default! I'm not
familiar with Python nor how you can configure what gets installed,
I'll take a look at that when I get it to build. Oh, and run, as I
plan to run it on a stripped system, not the full TS dev kit. Same
kernel version so it'll hopefully work.
My hope is that python code won't take as much RAM as perl code; I've
got a prototype perl daemon running and that's eating up close to 8
Mb VmSize :(
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|