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

2005-06-12 Thread Peter Gordon
On Sun, 2005-06-12 at 07:39 +, 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: [EMAIL PROTECTED]
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
Description: This is a digitally signed message part


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

2005-06-12 Thread askar ...
 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...

askar

-- 
gentoo-user@gentoo.org mailing list



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

2005-06-12 Thread Zac Medico
askar ... wrote:
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...
 
 askar
 

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
-- 
gentoo-user@gentoo.org mailing list



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

2005-06-12 Thread Zac Medico
Zac Medico wrote:
 askar ... wrote:
 
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...

askar

 
 
 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
 

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.

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



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

2005-06-12 Thread askar ...
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
 
 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.
 
 Zac

-- 
gentoo-user@gentoo.org mailing list



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

2005-06-12 Thread Zac Medico
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

askar ... wrote:
 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
  
 
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.

Zac
 
 

-- 
gentoo-user@gentoo.org mailing list