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

Issues related to applications and software problems
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 11:14:17

TrevorH wrote:This is a recipe for disaster: you should not install CentOS 6 packages on CentOS 7.
Maybe I am wrong, but in my opinion, installing one package from CentOS 6 which is deprecated and no longer shipped in CentOS 7, will do no harm to the system at all. The only problem that could come into play in this concrete situation is that pdftk will not work properly.

But I aggre that in general installing packages from previous version can mess up the system.

User avatar
TrevorH
Site Admin
Posts: 33202
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:18:58

Since you had to use rpm -ivh --nodeps libgcj-4.4.7-11.el6.x86_64.rpm to make it install, that breaks yum check so now your rpm database is inconsistent and you will get errors and warnings all the time. This will also cause errors on future yum updates etc.
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

User avatar
bluegroper
Posts: 266
Joined: 2005/09/07 23:04:21
Location: .au

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

Post by bluegroper » 2015/11/24 02:40:01

+1 Hoping for pdftk package for CentOS 7.
This is a possible dealbreaker, may need to revert to C6.
I'm not a complete idiot. There's still a few pieces missing.

User avatar
bluegroper
Posts: 266
Joined: 2005/09/07 23:04:21
Location: .au

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

Post by bluegroper » 2016/02/02 00:36:52

Has anybuddy else tried this already ??
https://copr.fedorainfracloud.org/coprs/robert/pdftk/
I'm not a complete idiot. There's still a few pieces missing.

Mystic
Posts: 14
Joined: 2016/04/24 01:59:26

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

Post by Mystic » 2016/04/24 02:02:35

TrevorH wrote:Since you had to use rpm -ivh --nodeps libgcj-4.4.7-11.el6.x86_64.rpm to make it install, that breaks yum check so now your rpm database is inconsistent and you will get errors and warnings all the time. This will also cause errors on future yum updates etc.
Will you only get a warning on this one package that is out of date?

I'm in a similar situation as others, where I might have to install a separate older instance of CentOS or another OS simply because I have an app that relies on pdftk and I cannot find any work around. I will put up with error messages, even though I don't want to, in order to get that program to work. Please advise. Is there anybody we can pay to make it CentOS7 compatible?

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

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

Post by TrevorH » 2016/04/24 10:26:54

You will get a bbig fat warning every time you run yum complaining that its database is corrupt.

I looked at the pdftk web site again and there is now no mention of linux support on the pdftk web page. It says you can download versions for multiple copies of windows, no mention of any linux distro at all. If you then hunt around you can find a link to a page that lets you download it for CentOS 5 or 6 but still no 7 and the version of the source they make available is still requiring the deprecated gcj packages. The SRPM that they have there (that requires gcj) is dated January 2014 so there's been no movement on this in over 2 years.

I think it's time to find a different product - yum list \*pdf\* might help to find one...
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

User avatar
Nux
Posts: 37
Joined: 2013/11/08 12:37:05
Location: Delta Quadrant

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

Post by Nux » 2016/06/30 17:04:07

bluegroper wrote:Has anybuddy else tried this already ??
https://copr.fedorainfracloud.org/coprs/robert/pdftk/
Yes, works. I've put it all in a repo

Code: Select all

yum-config-manager --add-repo=http://li.nux.ro/download/nux//tmp/pdftk/
yum --nogpgcheck install pdftk
--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

frisket
Posts: 1
Joined: 2016/08/11 13:52:56

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

Post by frisket » 2016/08/12 10:24:05

Quite so, but given the circumstances I am prepared to take that risk. I have tested it in our CentOS7 test environment for the specific tasks we need pdftk for and it causes no errors.

User avatar
bluegroper
Posts: 266
Joined: 2005/09/07 23:04:21
Location: .au

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

Post by bluegroper » 2016/08/18 07:43:58

Thanks nux. Works well so far.
I'm not a complete idiot. There's still a few pieces missing.

ewheelerinc
Posts: 4
Joined: 2016/08/18 22:50:58

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

Post by ewheelerinc » 2016/08/18 23:08:30

I found this while looking for a solution as well. It turns out that libgcj.so.10* from el6 is compatible with el7. The simplest solution might be to copy that library and install. Of course that will break yum check as noted earlier.

We wrote a single package RPM with no external dependencies nor repositories and have made it available for both i686 and x86_64:

https://www.globallinuxsecurity.pro/pdf ... -centos-7/

Just run the `yum localinstall` for your arch and you're in business!

--
Eric Wheeler

Post Reply