[Slackbuilds-users] pdftk-1.12 from SBo fails on -current

Halim Issa yallaone at gmail.com
Thu May 31 09:17:54 UTC 2007


Seems like I'm in a little bit over my head in trying to get my old 
pdftk.Slackbuild to compile (and run) on -current.

The complete build has been on the web for a while and works fine on 11.0, but 
fails to build and run since the major changes.

Does anyone have any insight on how to fix this? Or recommendations for a 
slightly more up-to-date replacement that is capable of working with PDFs 
version 1.6 (Adobe 7.0+) as well?

Thanks in advance - I guess I should've been able to fix this as the original 
SlackBuild author, but I don't speak Java and don't even know where to start 
troubleshooting..

It fails with this message:

gcj  --encoding=UTF-8 -I"/tmp/SBo/pdftk-1.12/java_libs" -c PngImage.java -o 
PngImage.o
PngImage.java: In class 'com.lowagie.text.pdf.codec.PngImage':
PngImage.java: In method 'com.lowagie.text.pdf.codec.PngImage.getImage()':
PngImage.java:568: error: Class 'ImgRaw' not found in type declaration.
                img = new ImgRaw(width, height, components, bpc, 
idat.toByteArray());
                             ^
1 error
make[2]: *** [PngImage.o] Error 1
make[2]: Leaving directory 
`/tmp/SBo/pdftk-1.12/java_libs/com/lowagie/text/pdf/codec'
make[1]: *** [itext] Error 2
make[1]: Leaving directory `/tmp/SBo/pdftk-1.12/java_libs'
make: *** [java_libs] Error 2



More information about the Slackbuilds-users mailing list