Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] building pdftk (needs gcj)
Date: Mon, 22 Feb 2010 00:03:17
Message-Id: 201002220109.27472.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] building pdftk (needs gcj) by "Michael P. Soulier"
1 On Monday 22 February 2010 00:56:47 Michael P. Soulier wrote:
2 > So, I need pdftk to build some documents, so I emerge it and it tells me
3 > that 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
6 > was rebuilt.
7 >
8 > >>> Installing (1 of 2) sys-devel/gcc-4.3.4
9 >
10 > * The current gcc config appears valid, so it will not be
11 > * automatically switched for you. If you would like to
12 > * switch to the newly installed gcc version, do the
13 > * following:
14 >
15 > * gcc-config i686-pc-linux-gnu-4.3.4
16 > * source /etc/profile
17
18 ^^^^^^^^^^^^^^^^^^^^^
19
20 Did you do this?
21
22
23 >
24 > * No profile selected, unable to utilize --use-old
25 >
26 > * If you have issues with packages unable to locate libstdc++.la,
27 > * then try running 'fix_libtool_files.sh' on the old gcc versions.
28 >
29 > But now pdftk fails to build because there's no gcj command.
30 >
31 > make[2]: Entering directory
32 > `/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs/com/lowa
33 > gie/text' gcj -O2 -march=athlon-xp -pipe -w --encoding=UTF-8
34 > --classpath="/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_l
35 > ibs" -c Anchor.java -o Anchor.o
36 > /bin/sh: gcj: command not found
37 > make[2]: *** [Anchor.o] Error 127
38 >
39 > I'm confused.
40 >
41 > Mike
42
43 --
44 alan dot mckinnon at gmail dot com