Gentoo Archives: gentoo-user

From: daid kahl <daidxor@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] building pdftk (needs gcj)
Date: Mon, 22 Feb 2010 10:06:00
Message-Id: 3ac129341002220151o14941741vbed2eb1b6a72c42c@mail.gmail.com
In Reply to: Re: [gentoo-user] building pdftk (needs gcj) by "Michael P. Soulier"
1 On 22 February 2010 12:28, Michael P. Soulier <msoulier@×××××××××××××.ca> wrote:
2 > So, I need pdftk to build some documents, so I emerge it and it tells me that
3 > I need to update my USE flags and rebuild gcc with gcj support.
4
5 > So, I do. I added gcj to my global make.conf and ran the emerge, and gcc was
6 > rebuilt.
7
8 Nope! You did NOT rebuild gcc. You installed a new version of gcc, as
9 gcc is slotted an an update to the portage tree has occurred since
10 your last install of gcc, and you did not specify to rebuild your
11 installed version of gcc with emerge =gcc(version)
12
13 > On 21/02/10 Stroller said:
14 >
15 >> It's using the old version of gcc, because you haven't told it to use
16 >> the new version.
17 >>
18 >> The output you posted specifically told you to run:
19 >>
20 >> gcc-config i686-pc-linux-gnu-4.3.4
21 >>
22 >> source /etc/profile
23 >
24 > Ok, then shouldn't emerge have done that automatically, since it seemed to
25 > know that I needed gcj and to rebuild gcc before building pdftk? What's the
26 > point in continuing or pretending that the build process here is in any way
27 > automatic?
28 >
29 > Tad misleading.
30 >
31 > Mike
32 > --
33
34 Clearly I think this is the latter case of rtfm. And by read the fine
35 manual, I mean read the emerge output you sent to me.
36
37 gcc-config is very streamlined in this sense, it comes by default in
38 Gentoo (as far as I know), and I've used plenty of machines without
39 it, and it's very annoying to me to say the least. It even told you
40 to do this. Did you want it to change you USE flags for you too?
41
42 ~daid

Replies

Subject Author
Re: [gentoo-user] building pdftk (needs gcj) daid kahl <daidxor@×××××.com>