Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: eno on December 10, 2014, 04:53:59 PM
-
Im building a minimal headless server but some extensions require Python to be installed and Python seems to have a dependency on tk which in turn pulls in X and bunch of other stuff I dont need/want. Is it possible to build a more minimal Python that doesn't have dependencies on X?
-
No plan to make a lite Python version. I will make tk a soft dependency in the repo however to make tcl/tk and X optional. In case Python already installed, you can edit your python.tcz.dep file and delete tcl/tk packages.
Also you can repack python.tcz for your own use deleting unneded modules but it do not have too much sense as they are loop mounted and saving few megabytes of SD card today give nothing. But of cource, you can do it :)
-
How to build from source without tk? I dont see a configure option to build without tk...
-
How to build from source without tk? I dont see a configure option to build without tk...
For generic Python build support better to use upstream forums, mailing lists, Google, etc.
-
I found the same thing, Python plus a server takes up a lot of MB.
What extensions do you need?
I dropped Python due to reliability problems running 24/7.
Moved to shell scripts and busybox-httpd.
The only tcz extras I needed were busybox-httpd.tcz and i2ctools.tcz
As a side effect I learned lots about core Linux stuff in the process.
Can do quite a bit with shell scripts, cron and watch.
I generate the index.html file from scripts and busybox-httpd serves it.
For fancier web pages I will probably move to Nodejs and Javascripting.
-
I found the same thing, Python plus a server takes up a lot of MB.
What extensions do you need?
Mercurial needs Python to build :-)
I think it would be nice to have a very minimal Python so Im building from source for my own use. I got some help on Stackoverflow regarding build configurations. If anyone else thinks it might be useful to make available, Ill happily submit an extension.
-
As I already wrote, no need to rebuild. Just do not install all dependencies and/or remove unneded modules from the tcz. It's easy, simple remastering.