By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,257 Members | 925 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,257 IT Pros & Developers. It's quick & easy.

Building python on Linux with no X

P: n/a
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?

Thanks

Sandeep
Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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
Jul 18 '05 #2

P: n/a
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....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 <wr*****@pld-linux.org>

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.