Skip to content
Advertisement

Where is the program or package gcjh?

I’m having trouble similar to Unable to build pdftk from source on fedora machine, but I’m having it on Ubuntu 13.04.

I’ve install gcc-gcj, which provides gcj-4.8.

I opened Makefile.Debian, and modified it as follows. So it finds the proper version of some of the GCC build tools:

export VERSUFF ?=-4.6

Next, I tried to make:

$ VERSUFF="-4.8"; make -f Makefile.Debian     
make -f Makefile -iC /home/jwalton/pdftk-2.02-dist/pdftk/../java all
...
make[1]: Entering directory `/home/jwalton/pdftk-2.02-dist/java'
gcjh-4.8 -force --classpath="/usr/share/java/libgcj-4.8.jar:/home/jwalton/pdftk-2.02-dist/java:."
    pdftk/com/lowagie/text/Anchor
/bin/sh: 1: gcjh-4.8: not found
...
gcjh-4.8 -force --classpath="/usr/share/java/libgcj-4.8.jar:/home/jwalton/pdftk-2.02-dist/java:."
    pdftk/org/bouncycastle/crypto/engines/AESFastEngine
/bin/sh: 1: gcjh-4.8: not found

Though I have installed gcc-gcj, it appears I don’t have gcjh:

$ find /usr/bin -name gcjh
$ find /usr/local/bin -name gcjh
$

There is no gcc-java or gcc-gcjh packages:

$ apt-cache pkgnames | grep -i gcc-java
$ apt-cache pkgnames | grep -i gcc-gcjh
$ apt-cache pkgnames | grep -i gcjh
$

What is gcjh, and where can I find it for Ubuntu 13?

Advertisement

Answer

Use http://packages.ubuntu.com/ to search, and I get http://packages.ubuntu.com/search?searchon=contents&keywords=gcjh&mode=exactfilename&suite=saucy&arch=any suggesting that the answer is gcj-jdk.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement