Building python on Linux with no X

Miki Tebeka miki.tebeka at zoran.com
Sun May 2 04:45:14 EDT 2004


Hello Sandeep,

> I have tried using the source rpm and the tarball to build python on
> RH9.  In both cases I get a build failure on tkinter because I don't
> have X installed.
> 
> Since I only care about the core python and the devel rpms, is there
> any way to only have those two rpms built from the source rpm?
I don't know about the source RPM however if you comment out _tkinter in 
the Modules/Setup file it should not be build.
I didn't try but maybe ./configure --without-tkinter will work as well.

HTH.
Miki



More information about the Python-list mailing list