Gentoo Archives: gentoo-user

From: "Michael P. Soulier" <msoulier@×××××××××××××.ca>
To: gentoo-user@l.g.o
Subject: [gentoo-user] building pdftk (needs gcj)
Date: Sun, 21 Feb 2010 23:06:37
Message-Id: 20100221225646.GO24169@anton.digitaltorque.ca
1 So, I need pdftk to build some documents, so I emerge it and it tells me that
2 I need to update my USE flags and rebuild gcc with gcj support.
3
4 So, I do. I added gcj to my global make.conf and ran the emerge, and gcc was
5 rebuilt.
6
7 >>> Installing (1 of 2) sys-devel/gcc-4.3.4
8 * The current gcc config appears valid, so it will not be
9 * automatically switched for you. If you would like to
10 * switch to the newly installed gcc version, do the
11 * following:
12
13 * gcc-config i686-pc-linux-gnu-4.3.4
14 * source /etc/profile
15
16 * No profile selected, unable to utilize --use-old
17
18 * If you have issues with packages unable to locate libstdc++.la,
19 * then try running 'fix_libtool_files.sh' on the old gcc versions.
20
21 But now pdftk fails to build because there's no gcj command.
22
23 make[2]: Entering directory
24 `/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs/com/lowagie/text'
25 gcj -O2 -march=athlon-xp -pipe -w --encoding=UTF-8
26 --classpath="/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs"
27 -c Anchor.java -o Anchor.o
28 /bin/sh: gcj: command not found
29 make[2]: *** [Anchor.o] Error 127
30
31 I'm confused.
32
33 Mike
34 --
35 Michael P. Soulier <msoulier@×××××××××××××.ca>
36 "Any intelligent fool can make things bigger and more complex... It takes a
37 touch of genius - and a lot of courage to move in the opposite direction."
38 --Albert Einstein

Replies

Subject Author
Re: [gentoo-user] building pdftk (needs gcj) Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] building pdftk (needs gcj) Stroller <stroller@××××××××××××××××××.uk>