1 |
If your Python was built with i386-pc-linux-gnu-gcc, try re-emerging |
2 |
Python. |
3 |
Python has the compiler it was built with hard coded as the compiler to |
4 |
use. |
5 |
|
6 |
Regards |
7 |
Frank |
8 |
|
9 |
|
10 |
On Thu, 2005-10-06 at 11:05 +0200, Christian Fischer wrote: |
11 |
> Hi all. |
12 |
> |
13 |
> I've some trouble with emerging dev-python/pyopengl. |
14 |
> I get "gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" |
15 |
> |
16 |
> I've done the following: |
17 |
> |
18 |
> # gcc-config -l |
19 |
> [1] i686-pc-linux-gnu-3.3.6 * |
20 |
> [2] i686-pc-linux-gnu-3.3.6-hardened |
21 |
> [3] i686-pc-linux-gnu-3.3.6-hardenednopie |
22 |
> [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp |
23 |
> [5] i686-pc-linux-gnu-3.3.6-hardenednossp |
24 |
> |
25 |
> # fix_libtool_files.sh 3.3 --oldarch i386-pc-linux-gnu |
26 |
> * Scanning libtool files for hardcoded gcc library paths... |
27 |
> * [1/6] Scanning /lib ... |
28 |
> * [2/6] Scanning /usr/lib ... |
29 |
> * FIXING: /usr/lib/libkwmf.la ...[] |
30 |
> [...] |
31 |
> * [3/6] Scanning /usr/i386-pc-linux-gnu/lib ... |
32 |
> * [4/6] Scanning /usr/kde/3.4/lib ... |
33 |
> FIXING: /usr/kde/3.4/lib/libkabc_ldapkio.la ...[] |
34 |
> [...] |
35 |
> * [5/6] Scanning /usr/local/lib ... |
36 |
> * [6/6] Scanning /usr/qt/3/lib ... |
37 |
> |
38 |
> # env-update && source /etc/profile |
39 |
> |
40 |
> But that don't help. |
41 |
> |
42 |
> # emerge dev-python/pyopengl |
43 |
> [...] |
44 |
> SWIG Version 1.3.21 |
45 |
> Copyright (c) 1995-1998 |
46 |
> University of Utah and the Regents of the University of California |
47 |
> Copyright (c) 1998-2003 |
48 |
> University of Chicago |
49 |
> Compiled with g++ [i686-pc-linux-gnu] |
50 |
> [...] |
51 |
> running build_py |
52 |
> i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 |
53 |
> -march=pentium3 -fomit-frame-pointer -pipe -fPIC -DGLX_PLATFORM |
54 |
> -I/usr/include -I/usr/local/include -I/usr/X11R6/include |
55 |
> -I/usr/lib/tk8.4/include -Isrc/gle/src -I/usr/include/python2.3 -c |
56 |
> _configtest.c -o _configtest.o |
57 |
> gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" |
58 |
> [...] |
59 |
> |
60 |
> Please can you give me some hints how to solve this problem? |
61 |
> |
62 |
> Christian |
63 |
-- |
64 |
gentoo-user@g.o mailing list |