On Monday 22 February 2010 00:56:47 Michael P. Soulier 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. > > >>> 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
^^^^^^^^^^^^^^^^^^^^^ Did you do this? > > * 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/lowa > gie/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_l > ibs" -c Anchor.java -o Anchor.o > /bin/sh: gcj: command not found > make[2]: *** [Anchor.o] Error 127 > > I'm confused. > > Mike -- alan dot mckinnon at gmail dot com

