Building python on Linux with no X

wrobell wrobell at pld-linux.org
Sun May 2 04:53:38 EDT 2004


On Sun, May 02, 2004 at 10:45:14AM +0200, Miki Tebeka wrote:
> 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.

there is also

    ftp://ftp.pld-linux.org/dists/ac/PLD/SRPMS/SRPMS/python-2.3.3-2.src.rpm

just

    rpmbuild --rebuild python-2.3.3-2.src.rpm --without tkinter

it is possible that it builds on rh box, too

    wrobell <wrobell at pld-linux.org>




More information about the Python-list mailing list