GCC/GCJ and pdftk

Joe Auty joe at netmusician.org
Fri Jun 5 21:30:37 UTC 2009


Hello,

I'm a little confused.

I need pdftk to compile on an amd64 system, and see in the pdftk 
Makefile the following:

 > # gcj/libgcj don't exist on these platforms
 > NOT_FOR_ARCHS= amd64 ia64 sparc64

However, I've also read in the pdftk port logs that gcj is included in 
GCC 3.4+ when WITHOUT_JAVA in the GCC Makefile is set to no or commented 
out. So, I compiled GCC with gcj support without a problem, and 
commented out the NOT_FOR_ARCHS line above to force an install of pdftk:

 > ===>   pdftk-1.41 depends on executable: gmake - found
 > ===>   pdftk-1.41 depends on shared library: gcj - not found
 > ===>    Verifying install for gcj in /usr/ports/lang/gcc42
 > ===>   Returning to build of pdftk-1.41
 > Error: shared library "gcj" does not exist

gcj does indeed exist in /usr/ports/lang/gcc42:

 > # find /usr/ports/lang/gcc42 -name "gcj"
 > /usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gnu/gcj
 > /usr/ports/lang/gcc42/work/gcc-4.2-20090325/libjava/gcj
 > /usr/ports/lang/gcc42/work/build/gcc/gcj


Any suggestions as to what I can do to build pdftk? This particular 
project will surely be much harder if I can't get pdftk to build/compile...

Thanks very much in advance!


-- 
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
joe at netmusician.org


More information about the freebsd-questions mailing list