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