Install jbig2enc encoder

What I wound up doing for a successful compile was

  1. sudo dnf install leptonica leptonica-devel. Both those packages are available in the fedora repo.

  2. in the jbig2enc directory I ran ./autogen.sh and waited for it to complete.

  3. I then ran ./configure and watched the output of configure to verify that everything completed successfully.

3.5 You might wish to add a step with make clean between steps 3 and 4 to remove any files created with the failed compile effort before doing a new compile with step 4.

  1. I then ran make and watched for a successful completion.

  2. Following the completion of step 4 I ran sudo make install and the jbig2 program was installed as /usr/bin/jbig2

If you see that steps 3 or 4 do not successfully complete then going forward is not possible. The errors that caused the failure must be solved first.

1 Like