[TriLUG] Trouble compiling pdftk

Jason Tower jason at cerient.net
Sat Nov 25 21:50:54 EST 2006


it looks like you need the gcj package installed, presumably mandriva has a 
rpm for it.  either that or the gcj binary isn't in your path for some reason.

Steve Litt wrote:
> Hi all,
> 
> In my continuing disappointment with the LinuxCentral provided Mandriva 2007, 
> I can't compile pdftk (which compiled just fine on M2006). Here's what 
> happens:
> 
> [slitt at mylap pdftk]$ 
> [slitt at mylap pdftk]$ make -f Makefile.Generic 
> make -C ../java_libs
> make[1]: Entering directory `/home/slitt/junk/pdftk-1.12/java_libs'
> make -C "/home/slitt/junk/pdftk-1.12/java_libs/gnu_local/java/security";
> make[2]: Entering directory 
> `/home/slitt/junk/pdftk-1.12/java_libs/gnu_local/java/security'
> gcj  --encoding=UTF-8 -I"/home/slitt/junk/pdftk-1.12/java_libs" -c 
> Engine.java -o Engine.o
> /bin/sh: gcj: command not found
> make[2]: *** [Engine.o] Error 127
> make[2]: Leaving directory 
> `/home/slitt/junk/pdftk-1.12/java_libs/gnu_local/java/security'
> make[1]: *** [libgcj_local] Error 2
> make[1]: Leaving directory `/home/slitt/junk/pdftk-1.12/java_libs'
> make: *** [java_libs] Error 2
> [slitt at mylap pdftk]$ 
> 
> I've been unable to find source code for gcj, nor is there a Mandriva package 
> which installs gcj or any name like it. Anyone know where to get gcj source 
> code?
> 
> I'm gonna get broadband when I get home, and unless I find that all these 
> problems were a LinuxCentral issue, I'm movin on.
> 
> Thanks
> 
> SteveT
> 



More information about the TriLUG mailing list