1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hi! |
5 |
|
6 |
On SLES 10.1 (glibc-2.4), building Python fails because the modules |
7 |
crypt and nis cannot be built. |
8 |
I worked around this by editing the ebuild to exclude these from |
9 |
building, hoping that they were not needed for any critical |
10 |
functionality, but maybe there's some other things that can be done! |
11 |
|
12 |
|
13 |
I get this at the end: |
14 |
|
15 |
Python build finished, but the necessary bits to build these modules |
16 |
were not found: |
17 |
_sqlite3 _tkinter bsddb185 |
18 |
dl imageop sunaudiodev |
19 |
To find the necessary bits, look in setup.py in detect_modules() for the |
20 |
module's name. |
21 |
|
22 |
|
23 |
Failed to build these modules: |
24 |
crypt nis |
25 |
|
26 |
The warnings during build are: |
27 |
|
28 |
building 'nis' extension |
29 |
x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -O2 -pipe |
30 |
- -fomit-frame-pointer -fwrapv -I/homes/2/schlarbm/gentoo/usr/include -L/ho |
31 |
mes/2/schlarbm/gentoo/lib -L/homes/2/schlarbm/gentoo/usr/lib -DNDEBUG |
32 |
- -I/homes/2/schlarbm/gentoo/usr/include -I. -IInclude -I./Include -I/tmp/s |
33 |
chlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include |
34 |
- -I/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2 |
35 |
- -c |
36 |
/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/nismodule.c |
37 |
- -o |
38 |
build/temp.linux-x86_64-2.7/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/nismodule.o |
39 |
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -L. -Wl,-O1 -L. |
40 |
- -fno-strict-aliasing -O2 -pipe -fomit-frame-pointer -fwrapv |
41 |
- -I/homes/2/schlarbm/gentoo/usr/include -L/homes/2/schlarbm/gentoo/lib |
42 |
- -L/homes/2/schlarbm/gentoo/usr/lib -DNDEBUG -I. -IInclude -I./Include |
43 |
build/temp.linux-x86_64-2.7/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/nismodule.o |
44 |
- -L/homes/2/schlarbm/gentoo/usr/lib -L. -lpython2.7 -o |
45 |
build/lib.linux-x86_64-2.7/nis.so |
46 |
*** WARNING: renaming "nis" since importing it failed: |
47 |
build/lib.linux-x86_64-2.7/nis.so: undefined symbol: yp_get_default_domain |
48 |
building 'crypt' extension |
49 |
x86_64-pc-linux-gnu-gcc -pthread -fPIC -fno-strict-aliasing -O2 -pipe |
50 |
- -fomit-frame-pointer -fwrapv -I/homes/2/schlarbm/gentoo/usr/include -L/ho |
51 |
mes/2/schlarbm/gentoo/lib -L/homes/2/schlarbm/gentoo/usr/lib -DNDEBUG |
52 |
- -I/homes/2/schlarbm/gentoo/usr/include -I. -IInclude -I./Include -I/tmp/s |
53 |
chlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Include |
54 |
- -I/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2 - |
55 |
c |
56 |
/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/cryptmodule.c |
57 |
- -o build/temp.linux-x86_64-2.7/tmp/schlarbm/gentoo |
58 |
/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/cryptmodule.o |
59 |
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -L. -Wl,-O1 -L. |
60 |
- -fno-strict-aliasing -O2 -pipe -fomit-frame-pointer -fwrapv |
61 |
- -I/homes/2/schlarb |
62 |
m/gentoo/usr/include -L/homes/2/schlarbm/gentoo/lib |
63 |
- -L/homes/2/schlarbm/gentoo/usr/lib -DNDEBUG -I. -IInclude -I./Include |
64 |
build/temp.linux-x86_ |
65 |
64-2.7/tmp/schlarbm/gentoo/portage/dev-lang/python-2.7.2/work/Python-2.7.2/Modules/cryptmodule.o |
66 |
- -L/homes/2/schlarbm/gentoo/usr/lib -L. -lpytho |
67 |
n2.7 -o build/lib.linux-x86_64-2.7/crypt.so |
68 |
*** WARNING: renaming "crypt" since importing it failed: |
69 |
build/lib.linux-x86_64-2.7/crypt.so: undefined symbol: crypt |
70 |
|
71 |
Is there something that can be done? |
72 |
|
73 |
- -- |
74 |
Moritz Schlarb |
75 |
-----BEGIN PGP SIGNATURE----- |
76 |
Version: GnuPG v2.0.17 (GNU/Linux) |
77 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ |
78 |
|
79 |
iQEcBAEBAgAGBQJOffARAAoJEEXT29373YiIXXcH/RYNjAUq2fiDmeRDiujaZ6ZR |
80 |
zgMrfiXSU2Vt9EtaaQm9DRhDRY8+T0vZDzHbYFeelRjdp1ya4uM3pheud/lsFu2e |
81 |
9a0i90gOTw5ygQAyPgViOk7jQ9PIzomkpHPBI+OB2JG3s5aTvnOHQxbS2b5+c/RA |
82 |
hMuDrC8PIBfwt75l1DvoO6O0Xdw/qF+ENalwygjX3t8N4Q5EGuWHiDCFBgBiCc1C |
83 |
/cREi1IvVeZI3T98Ahv5Eq6EjDK3IXV5guMzMBwcZmaKHGEcAdxphxj/qihDLeqY |
84 |
LGSpGNvYNmk2sLhr7GDolAdDyYqCYD4FhIGPi4afMnkpfPQuIGbah8kMSkoREhc= |
85 |
=GDEx |
86 |
-----END PGP SIGNATURE----- |