Gentoo Archives: gentoo-user

From: Mike Ferry <mike@××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] python segfault
Date: Wed, 15 Nov 2006 01:17:56
Message-Id: 455A2329.5020201@ferdog.com
In Reply to: [gentoo-user] python segfault by Andrey <4ndrey@gmail.com>
1 Andrey wrote:
2 > Hi, guys!
3 > I'm emering python and recieving:
4 > [ebuild R ] dev-lang/python-2.4.3-r4 USE="ssl -berkdb -bootstrap -build
5 > -doc
6 > -gdbm -ipv6 -ncurses -nocxx -readline -tk -ucs2" 0 kB
7 > <snip>
8 > running build
9 > running build_ext
10 > db.h: found (4, 2) in /usr/include
11 > db.h: found (4, 1) in /usr/include/db4.1
12 > db lib: using (4, 2) db-4.2
13 > INFO: Can't locate Tcl/Tk libs and/or headers
14 > running build_scripts
15 > Creating directory /usr/lib/python2.4/config
16 > /bin/install -c -m 644 Modules/config.c /var/tmp/portage/python-2.4.3-r4
17 > /image//usr/lib/python2.4/config/config.c
18 > /bin/install -c -m 644 Modules/python.o /var/tmp/portage/python- 2.4.3-r4
19 > /image//usr/lib/python2.4/config/python.o
20 > /bin/install -c -m 644 ./Modules/config.c.in /var/tmp/portage/python-
21 > 2.4.3-r4/image//usr/lib/python2.4/config/config.c.in
22 > /bin/install -c -m 644 Makefile /var/tmp/portage/python- 2.4.3-r4
23 > /image//usr/lib/python2.4/config/Makefile
24 > /bin/install -c -m 644 Modules/Setup /var/tmp/portage/python-2.4.3-r4
25 > /image//usr/lib/python2.4/config/Setup
26 > /bin/install -c -m 644 Modules/Setup.local /var/tmp/portage/python-
27 > 2.4.3-r4
28 > /image//usr/lib/python2.4/config/Setup.local
29 > /bin/install -c -m 644 Modules/Setup.config
30 > /var/tmp/portage/python-2.4.3-r4
31 > /image//usr/lib/python2.4/config/Setup.config
32 > /bin/install -c ./Modules/makesetup /var/tmp/portage/python- 2.4.3-r4
33 > /image//usr/lib/python2.4/config/makesetup
34 > /bin/install -c ./install-sh /var/tmp/portage/python-2.4.3-r4
35 > /image//usr/lib/python2.4/config/install-sh
36 > LD_LIBRARY_PATH=/var/tmp/portage/python-2.4.3-r4/work/Python- 2.4.3:
37 > ./python -E ./setup.py install \
38 > --prefix=/usr \
39 > --install-scripts=/usr/bin \
40 > --install-platlib=/usr/lib/python2.4/lib-dynload \
41 > --root=//var/tmp/portage/python- 2.4.3-r4/image/
42 > running install
43 > running build
44 > running build_ext
45 > db.h: found (4, 2) in /usr/include
46 > db.h: found (4, 1) in /usr/include/db4.1
47 > db lib: using (4, 2) db-4.2
48 > INFO: Can't locate Tcl/Tk libs and/or headers
49 > make: *** [sharedinstall] Segmentation fault
50 >
51 > !!! ERROR: dev-lang/python-2.4.3-r4 failed.
52 > Call stack:
53 > ebuild.sh, line 1546: Called dyn_install
54 > ebuild.sh, line 1020: Called src_install
55 > python-2.4.3-r4.ebuild , line 190: Called die
56 >
57 > !!! (no error message)
58 > !!! If you need support, post the topmost build error, and the call
59 > stack if
60 > relevant.
61 >
62 > Any ideas?
63 >
64
65 Try enabling the tk use flag:
66
67 euse -E tk
68
69 Then install dev-lang/tk and dev-lang/python:
70
71 emerge -Dva dev-lang/tk dev-lang/python
72 --
73 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] python segfault Andrey <4ndrey@×××××.com>