Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"

173 views
Skip to first unread message

askar ...

unread,
Jun 12, 2005, 3:50:04 AM6/12/05
to
Hello!

Trying to compile groff-1.19.1-r2 I had the error:
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make: *** [xditview.o] Error 1

In my make.conf file I have CHOST="i686-pc-linux-gnu".

I see this is one of the often occured promblems, when system
reference to i386 instead i686...

Can anybody tell how to solve this problem?

Thanks.

askar

--
gento...@gentoo.org mailing list

Ted Ozolins

unread,
Jun 12, 2005, 4:00:13 AM6/12/05
to
askar ... wrote:

Try:

gcc-config i686-pc-linux-gnu-3.3.5-20050130

--
Ted Ozolins(VE7TVO)
Westbank, B. C

--
gento...@gentoo.org mailing list

Peter Gordon

unread,
Jun 12, 2005, 4:00:12 AM6/12/05
to
On Sun, 2005-06-12 at 07:39 +0000, askar ... wrote:
> gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
> make: *** [xditview.o] Error 1
>
> In my make.conf file I have CHOST="i686-pc-linux-gnu".
>
> I see this is one of the often occured promblems, when system
> reference to i386 instead i686...

Try running `gcc-config i686-pc-linux-gnu-<version> &&
source /etc/profile`.
--
() The ASCII Ribbon Campaign - against HTML Email,
/\ vCards, and proprietary formats.
---------------------------------------------------
Peter A. Gordon (codergeek42)
E-Mail: ad...@ramshacklestudios.com
GPG Public Key ID: 0x87C59026
GPG Public Key Fingerprint:
A5E9 EA8E 146B 4B44 E26A 385B 278C 74CC 87C5 9026
Encrypted and/or Signed correspondence preferred.
GPG Public Key available upon request or from
pgp.mit.edu's public key server.
----------------------------------------------------

signature.asc

askar ...

unread,
Jun 12, 2005, 4:20:05 AM6/12/05
to
> >Trying to compile groff-1.19.1-r2 I had the error:
> >gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
> >make: *** [xditview.o] Error 1
> >
> >In my make.conf file I have CHOST="i686-pc-linux-gnu".
> >
> >I see this is one of the often occured promblems, when system
> >reference to i386 instead i686...
> Try:
>
> gcc-config i686-pc-linux-gnu-3.3.5-20050130
>
My gcc version is 3.3.5.
when I run:
# gcc-config i686-pc-linux-gnu-3.3.5-20050130
it gives me error:
* /usr/bin/gcc-config: Could not locate
'i686-pc-linux-gnu-3.3.5-20050130' in '/etc/env.d/gcc/'!
What does the "20050130" mean? Portage version?

When I tried:
#gcc-config i686-pc-linux-gnu-3.3.5
it gives me no error.
But the error I wrote in 1st mail still remains...

Zac Medico

unread,
Jun 12, 2005, 4:40:09 AM6/12/05
to

I was looking at a similar one earlier with python-fchksum. After some searching I found this page:
http://forums.gentoo.org/viewtopic-t-230783.html

It mentions both the python-fchksum and groff errors. The python-fchksum was solved by edditing the CC variable in /usr/lib/python2.3/config/Makefile and the groff error was solved by remerging xorg-x11. I'm guessing but maybe you can edit /usr/lib/X11/config/host.def to fix this one. Does it say #define CcCmd i386-pc-linux-gnu-gcc in there?

Zac
--
gento...@gentoo.org mailing list

Zac Medico

unread,
Jun 12, 2005, 6:10:04 AM6/12/05
to

I was curious if I could reproduce your problem so I edited /usr/lib/X11/config/host.def and changed it to #define CcCmd i386-pc-linux-gnu-gcc. Sure enough, I got the same error. You can try editing that file if you don't want to recomplile xorg-xll.

askar ...

unread,
Jun 12, 2005, 6:30:10 AM6/12/05
to
Thank you, Zac!

I recompiled xorg-x11 and the compilation groff were successful.
Next time I will take into account your advice concerning
/usr/lib/X11/config/host.def.

askar

Zac Medico

unread,
Jun 12, 2005, 6:30:11 AM6/12/05
to
Your're welcome. I supposed you could have grepped all the files on your system for i386-pc-linux-gnu-gcc but that wouldn't have been a very efficient way to go about it. ;-)

Zac

0 new messages