On 22 February 2010 12:28, Michael P. Soulier <msoul...@digitaltorque.ca> wrote:
> So, I need pdftk to build some documents, so I emerge it and it tells me that
> I need to update my USE flags and rebuild gcc with gcj support.

> So, I do. I added gcj to my global make.conf and ran the emerge, and gcc was
> rebuilt.

Nope!  You did NOT rebuild gcc. You installed a new version of gcc, as
gcc is slotted an an update to the portage tree has occurred since
your last install of gcc, and you did not specify to rebuild your
installed version of gcc with emerge =gcc(version)

> On 21/02/10 Stroller said:
>
>> It's using the old version of gcc, because you haven't told it to use
>> the new version.
>>
>> The output you posted specifically told you to run:
>>
>>       gcc-config i686-pc-linux-gnu-4.3.4
>>
>>       source /etc/profile
>
> Ok, then shouldn't emerge have done that automatically, since it seemed to
> know that I needed gcj and to rebuild gcc before building pdftk? What's the
> point in continuing or pretending that the build process here is in any way
> automatic?
>
> Tad misleading.
>
> Mike
> --

Clearly I think this is the latter case of rtfm.  And by read the fine
manual, I mean read the emerge output you sent to me.

gcc-config is very streamlined in this sense, it comes by default in
Gentoo (as far as I know), and I've used plenty of machines without
it, and it's very annoying to me to say the least.  It even told you
to do this.  Did you want it to change you USE flags for you too?

~daid

Reply via email to