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. 

>>> Installing (1 of 2) sys-devel/gcc-4.3.4
 * The current gcc config appears valid, so it will not be
 * automatically switched for you.      If you would like to
 * switch to the newly installed gcc version, do the
 * following:

 * gcc-config i686-pc-linux-gnu-4.3.4
 * source /etc/profile

 * No profile selected, unable to utilize --use-old

 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.

But now pdftk fails to build because there's no gcj command.

make[2]: Entering directory
`/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs/com/lowagie/text'
gcj -O2 -march=athlon-xp -pipe -w --encoding=UTF-8
--classpath="/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs"
-c Anchor.java -o Anchor.o
/bin/sh: gcj: command not found
make[2]: *** [Anchor.o] Error 127

I'm confused.

Mike
-- 
Michael P. Soulier <msoul...@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

Attachment: pgpHiI7NGuaYO.pgp
Description: PGP signature

Reply via email to