Cannot build pdftk for F9

Paul Smith phhs80 at gmail.com
Mon May 26 10:02:36 UTC 2008


Dear All,

I am trying to build pdktk for F9 from the source, but getting the
following errors:

$ make -f Makefile.RedHat
make -C ../java_libs
make[1]: Entering directory `/home/psmith/Desktop/pdftk-1.41/java_libs'
make -C "/home/psmith/Desktop/pdftk-1.41/java_libs/gnu_local/java/security";
make[2]: Entering directory
`/home/psmith/Desktop/pdftk-1.41/java_libs/gnu_local/java/security'
gcjh --classpath="." Engine;
rm Engine.class
make[2]: Leaving directory
`/home/psmith/Desktop/pdftk-1.41/java_libs/gnu_local/java/security'
make -C "/home/psmith/Desktop/pdftk-1.41/java_libs/gnu_local/java/security/provider";
make[2]: Entering directory
`/home/psmith/Desktop/pdftk-1.41/java_libs/gnu_local/java/security/provider'
gcjh --classpath="." MD5;
Exception in thread "main" java.io.IOException: can't find class file
java_local/security/MessageDigest.class in
java.net.URLClassLoader{urls=[file:/home/psmith/Desktop/pdftk-1.41/java_libs/gnu_local/java/security/provider/./,file:/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre/lib/rt.jar],
parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}
   at gnu.classpath.tools.javah.Main.getClass(libgcj-tools.so.9)
   at gnu.classpath.tools.javah.ClassWrapper.linkSupers(libgcj-tools.so.9)
   at gnu.classpath.tools.javah.ClassWrapper.printFully(libgcj-tools.so.9)
   at gnu.classpath.tools.javah.CniIncludePrinter.printClass(libgcj-tools.so.9)
   at gnu.classpath.tools.javah.Main.writeHeaders(libgcj-tools.so.9)
   at gnu.classpath.tools.javah.Main.run(libgcj-tools.so.9)
   at gnu.classpath.tools.javah.GcjhMain.main(libgcj-tools.so.9)
make[2]: *** [MD5.h] Error 1
make[2]: Leaving directory
`/home/psmith/Desktop/pdftk-1.41/java_libs/gnu_local/java/security/provider'
make[1]: *** [libgcj_local] Error 2
make[1]: Leaving directory `/home/psmith/Desktop/pdftk-1.41/java_libs'
make: *** [java_libs] Error 2
$

Any ideas?

Thanks in advance,

Paul




More information about the fedora-list mailing list