Gentoo Archives: gentoo-dev

From: drobbins@g.o
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Re: Python Probs
Date: Fri, 12 Jan 2001 09:56:52
Message-Id: 20010112095652.F20711@cvs.gentoo.org
In Reply to: Re: [gentoo-dev] Re: Python Probs by 320095285153-0001@t-online.de (Achim Gottinger)
1 On Fri, Jan 12, 2001 at 11:07:39AM +0100, Achim Gottinger wrote:
2
3 > Hmm, I always thought sys should contain everything that's required for
4 > building itself and everything that's required for a minimum runtime system.
5 > dev-lang/python includes tcl-tk support, sys-devel/python not otherwise we
6 > must must xfree/tcl-tk to sys which is a bad idea.
7
8 Hrm, I forgot about this problem since I compiled sys-devel/python on a system
9 without tcl-tk or X.
10
11 > ldd /usr/bin/python
12 libreadline.so.4.1 => /usr/lib/libreadline.so.4.1 (0x4001b000)
13 libcrypt.so.1 => /lib/libcrypt.so.1 (0x40041000)
14 libncurses.so.5 => /lib/libncurses.so.5 (0x4006e000)
15 libdb-3.1.so => /usr/lib/libdb-3.1.so (0x400b2000)
16 libz.so.1 => /usr/lib/libz.so.1 (0x4012a000)
17 libpthread.so.0 => /lib/libpthread.so.0 (0x40138000)
18 libdl.so.2 => /lib/libdl.so.2 (0x4014d000)
19 libutil.so.1 => /lib/libutil.so.1 (0x40150000)
20 libm.so.6 => /lib/libm.so.6 (0x40153000)
21 libc.so.6 => /lib/libc.so.6 (0x40171000)
22 /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
23
24
25 I know this may sound weird at first, but I'd rather disable X11 and tcl/tk
26 support in sys-devel/python, and create a *third* python optional package --
27 python-x11. I don't want to force people to install Xfree86 and tcl/tk just
28 so they can get a reasonably complete python implementation. This kind of
29 thing would be a pain for people who are setting up a server without X at all,
30 but need a complete python to run their scripts.
31
32 Or, we can simply tell people that if you want X and tcl-tk support in your
33 python, just remerge sys-devel/python after you have X and tcl-tk installed.
34 the python configure program will detect that they're there, and link against
35 the new libraries. Of course, then we need a transparent method for you so
36 that when you're building packages, your sys-devel/python isn't linked against
37 X and tcl-tk stuff and will work on a base system.
38
39 --
40 Daniel Robbins <drobbins@g.o>
41 President/CEO http://www.gentoo.org
42 Gentoo Technologies, Inc.

Replies

Subject Author
Re: [gentoo-dev] Re: Python Probs 320095285153-0001@t-online.de (Achim Gottinger)
Re: [gentoo-dev] Re: Python Probs Jerry A! <jerry@×××××××.org>