gcc-java and libgcj-devel missing (needed to compile pdftk)

Issues related to applications and software problems
bananas
Posts: 3
Joined: 2014/07/23 07:06:19

gcc-java and libgcj-devel missing (needed to compile pdftk)

Post by bananas » 2014/07/23 08:17:11

Hi,

I need to install pdftk, which is currently not available from any repository AFAIK.

To do that I tried to recompile the src-rpm for CentOS 6 from http://www.pdflabs.com/docs/install-pdf ... or-centos/ and also the src-rpm from F19.
Neither worked because of missing dependencies:
  • gcc-java
    libgcj
    libgcj-devel
I assume that these packages have been replaced somehow because of the new gcc version, but I could not find any documentation related to that.

If someone could help me here (either with hints how to recompile the src-rpms by changing the spec file, or by pointing me to an installation ready pdftk rpm) I would really appreciate it!

Thanks already!

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: gcc-java and libgcj-devel missing (needed to compile pdf

Post by TrevorH » 2014/07/23 09:44:38

All those packages are deprecated and no longer shipped. You might find it worth reading the thread https://lists.fedoraproject.org/piperma ... 96367.html to find out more - I'm not entirely sure I followed all that but I do know that GCJ is gone in el7 and unlikely to reappear.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

bananas
Posts: 3
Joined: 2014/07/23 07:06:19

Re: gcc-java and libgcj-devel missing (needed to compile pdf

Post by bananas » 2014/07/23 10:58:30

Thank you for the quick answer.

So no chance for pdftk on CentOS 7? That is really bad news.

I am running out of ideas..., can somebody help me here?

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: gcc-java and libgcj-devel missing (needed to compile pdf

Post by stevemowbray » 2014/07/24 15:54:56

I asked the developer and he said they're working on a non-libgcj version.

bananas
Posts: 3
Joined: 2014/07/23 07:06:19

Re: gcc-java and libgcj-devel missing (needed to compile pdf

Post by bananas » 2014/07/25 06:07:40

That's good news. Thank you!

User avatar
n8felton
Posts: 1
Joined: 2014/11/13 22:01:19

Re: gcc-java and libgcj-devel missing (needed to compile pdf

Post by n8felton » 2014/11/13 22:08:14

Hey guys, I too am looking to use pdftk on a RHEL 7 box. Just wanted to check to see if anyone had heard any updates. Thanks!

matthewk
Posts: 1
Joined: 2014/11/14 21:53:51

Re: gcc-java and libgcj-devel missing (needed to compile pdf

Post by matthewk » 2014/11/14 22:00:22

Hi all,

on my way finding a solution for pdftk to run on centos7 i came across this topic a lot
my goal was to add pdf background (pdf file) to existing ones by commandline. it was hard to find..
i accomplisched it with the great free(for non comercial use) tool CPDF ( http://community.coherentpdf.com/)
i runs fine on CentOS7, i helped me out.

sflower
Posts: 52
Joined: 2014/11/05 06:59:49

Re: gcc-java and libgcj-devel missing (needed to compile pdf

Post by sflower » 2014/12/25 06:57:11

Please excuse the following rant - I need to subscribe to this thread in the hope pdftk comes soon to CentOS 7.

I need pdftk and hope it or a viable alternative arrives soon in CentOS 7. I am desperately trying cpdf but it seems lousy. Simple page extraction, rotation, splitting of files... nothing works as in the manual. Frustrating.

mariancelo
Posts: 2
Joined: 2015/05/26 10:06:28

Re: gcc-java and libgcj-devel missing (needed to compile pdf

Post by mariancelo » 2015/05/26 10:32:53

I was able to install pdftk (Centos 6 version) using Centos 6 libgcj library on Centos 7 minimal server.

[root]# yum install gcc gcc-c++ libXrandr gtk2 libXtst libart_lgpl
[root]# wget http://mirror.centos.org/centos/6/os/x86_64/Packages/libgcj-4.4.7-11.el6.x86_64.rpm
[root]# wget https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-2.02-1.el6.x86_64.rpm
[root]# rpm -ivh --nodeps libgcj-4.4.7-11.el6.x86_64.rpm
[root]# yum install pdftk-2.02-1.el6.x86_64.rpm
Last edited by mariancelo on 2015/05/26 11:03:25, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: gcc-java and libgcj-devel missing (needed to compile pdf

Post by TrevorH » 2015/05/26 11:02:44

This is a recipe for disaster: you should not install CentOS 6 packages on CentOS 7.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply