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 :(