public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gcc-config error / fix_libtool_files trouble
@ 2005-10-06  9:05 Christian Fischer
  2005-10-06  9:35 ` Frank Schafer
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Fischer @ 2005-10-06  9:05 UTC (permalink / raw
  To: gentoo-users

[-- Attachment #1: Type: text/plain, Size: 1623 bytes --]

Hi all.

I've some trouble with emerging dev-python/pyopengl.
I get "gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"

I've done the following:

# gcc-config -l 
 [1] i686-pc-linux-gnu-3.3.6 *
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp

# fix_libtool_files.sh 3.3 --oldarch i386-pc-linux-gnu
* Scanning libtool files for hardcoded gcc library paths...
 *   [1/6] Scanning /lib ...
 *   [2/6] Scanning /usr/lib ...
 *     FIXING: /usr/lib/libkwmf.la ...[]
[...]
*   [3/6] Scanning /usr/i386-pc-linux-gnu/lib ...
*   [4/6] Scanning /usr/kde/3.4/lib ...
FIXING: /usr/kde/3.4/lib/libkabc_ldapkio.la ...[]
[...]
*   [5/6] Scanning /usr/local/lib ...
*   [6/6] Scanning /usr/qt/3/lib ...

# env-update && source /etc/profile

But that don't help.

# emerge dev-python/pyopengl
[...]
SWIG Version 1.3.21
Copyright (c) 1995-1998
University of Utah and the Regents of the University of California
Copyright (c) 1998-2003
University of Chicago
Compiled with g++ [i686-pc-linux-gnu]
[...]
running build_py
i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 
-march=pentium3 -fomit-frame-pointer -pipe -fPIC -DGLX_PLATFORM 
-I/usr/include -I/usr/local/include -I/usr/X11R6/include 
-I/usr/lib/tk8.4/include -Isrc/gle/src -I/usr/include/python2.3 -c 
_configtest.c -o _configtest.o
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
[...]

Please can you give me some hints how to solve this problem?

Christian
-- 

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] gcc-config error / fix_libtool_files trouble
  2005-10-06  9:05 [gentoo-user] gcc-config error / fix_libtool_files trouble Christian Fischer
@ 2005-10-06  9:35 ` Frank Schafer
  2005-10-06 15:00   ` Christian Fischer
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Schafer @ 2005-10-06  9:35 UTC (permalink / raw
  To: gentoo-user

If your Python was built with i386-pc-linux-gnu-gcc, try re-emerging
Python.
Python has the compiler it was built with hard coded as the compiler to
use.

Regards
Frank


On Thu, 2005-10-06 at 11:05 +0200, Christian Fischer wrote:
> Hi all.
> 
> I've some trouble with emerging dev-python/pyopengl.
> I get "gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
> 
> I've done the following:
> 
> # gcc-config -l 
>  [1] i686-pc-linux-gnu-3.3.6 *
>  [2] i686-pc-linux-gnu-3.3.6-hardened
>  [3] i686-pc-linux-gnu-3.3.6-hardenednopie
>  [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
>  [5] i686-pc-linux-gnu-3.3.6-hardenednossp
> 
> # fix_libtool_files.sh 3.3 --oldarch i386-pc-linux-gnu
> * Scanning libtool files for hardcoded gcc library paths...
>  *   [1/6] Scanning /lib ...
>  *   [2/6] Scanning /usr/lib ...
>  *     FIXING: /usr/lib/libkwmf.la ...[]
> [...]
> *   [3/6] Scanning /usr/i386-pc-linux-gnu/lib ...
> *   [4/6] Scanning /usr/kde/3.4/lib ...
> FIXING: /usr/kde/3.4/lib/libkabc_ldapkio.la ...[]
> [...]
> *   [5/6] Scanning /usr/local/lib ...
> *   [6/6] Scanning /usr/qt/3/lib ...
> 
> # env-update && source /etc/profile
> 
> But that don't help.
> 
> # emerge dev-python/pyopengl
> [...]
> SWIG Version 1.3.21
> Copyright (c) 1995-1998
> University of Utah and the Regents of the University of California
> Copyright (c) 1998-2003
> University of Chicago
> Compiled with g++ [i686-pc-linux-gnu]
> [...]
> running build_py
> i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 
> -march=pentium3 -fomit-frame-pointer -pipe -fPIC -DGLX_PLATFORM 
> -I/usr/include -I/usr/local/include -I/usr/X11R6/include 
> -I/usr/lib/tk8.4/include -Isrc/gle/src -I/usr/include/python2.3 -c 
> _configtest.c -o _configtest.o
> gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
> [...]
> 
> Please can you give me some hints how to solve this problem?
> 
> Christian
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] gcc-config error / fix_libtool_files trouble
  2005-10-06  9:35 ` Frank Schafer
@ 2005-10-06 15:00   ` Christian Fischer
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Fischer @ 2005-10-06 15:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

Am Thursday 06 October 2005 11:35 schrieb Frank Schafer:
> If your Python was built with i386-pc-linux-gnu-gcc, try re-emerging
> Python.
> Python has the compiler it was built with hard coded as the compiler to
> use.

Well, that works, thanks for this hint.

Christian
--

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-06 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-06  9:05 [gentoo-user] gcc-config error / fix_libtool_files trouble Christian Fischer
2005-10-06  9:35 ` Frank Schafer
2005-10-06 15:00   ` Christian Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox