Gentoo Archives: gentoo-alt

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] problem building python with prefix-launcher on AIX
Date: Wed, 07 Nov 2007 17:04:25
Message-Id: 1194455028.14981.53.camel@sapc154
In Reply to: [gentoo-alt] problem building python with prefix-launcher on AIX by Jeremy
1 On Wed, 2007-11-07 at 09:47 -0600, Jeremy wrote:
2 > Hello,
3 > This is probably yet another question for haubi. But I'll see if
4 > anyone else had has this issue. To me it looks like something is
5 > passing the wrong -L and -l values to the gcc call.
6 >
7 > This is the problem call:
8 > /home/jolexa/aix/trunk/buildroot.pacer.powerpc-ibm-aix5.3.0.0/python/Python-2.4.2/Modules/ld_so_aix
9 > gcc -pthread -bI:Modules/python.exp -fno-strict-aliasing -DNDEBUG -g
10 > -O3 -Wall -Wstrict-prototypes build/temp.aix-5.3-2.4/_tkinter.o
11 > build/temp.aix-5.3-2.4/tkappinit.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib
12 > -L/home/jolexa/aix/prefix_tmp//prefix-launcher-1pre.jolexa/powerpc-ibm-aix5.3.0.0/lib
13 > -ltk8.3 -ltcl8.3 -lX11 -o build/lib.aix-5.3-2.4/_tkinter.so
14 >
15 > This is the error:
16 > ld: 0706-006 Cannot find or open library file: -l tk8.3
17 > ld:open(): No such file or directory
18 > ld: 0706-006 Cannot find or open library file: -l tcl8.3
19 > ld:open(): No such file or directory
20 >
21 > Which makes sense because there is no tk/tcl in those directories
22 > passed via -L.
23 >
24 > What needs to be done about this?
25
26 Does the build continue after this error ?
27 If not, then there's a bug somewhere.
28
29 Python's setup.py does not test for tk/tcl availability.
30 Instead, it tries to build '_tkinter' module and ignores the failure.
31
32 This is done for nearly all the (more ore less optional) modules.
33
34 /haubi/
35 --
36 Michael Haubenwallner
37 Gentoo on a different level
38
39 --
40 gentoo-alt@g.o mailing list

Replies