Il giorno gio, 18/02/2016 alle 17.34 +0100, Yamaban ha
scritto:> On Thu, 18 Feb 2016 16:07, Dario Lesca wrote:
>
> > Hi, I must migrate a Centos5 server on Centos7
> >
> > On server Centos5 there is a shell procedure witch add to PDF a
> > timestamp like this example:
> >
> > http://i.stack.imgur.com/OBsqX.png
> >
> > with this command:
> > $ pdftk input.pdf stamp overlay.pdf output stamped.pdf
> >
> > Into Centos7 pdftk it is no longer allowed
> >
> > Someone knows some other command to replace it or other ways to do
> > this?
> >
> > Or how I can install pdftk on Centos7.
> >
> > Many thanks for your help.
>
> Original code is located here:
> ? https://www.pdflabs.com/docs/install-pdftk-on-redhat-or-centos/
>
> including recipe to compile from source.
>
> ATM there is no "ready to install" package directly for Centos 7,
> but try the Centos /RHEL 6 package from there before
> doing the full build circus (requires installed libgcj).
For this solution it's necessary to break some dependency:
# rpm -ivh??./libgcj-4.4.7-16.el6.x86_64.rpm ./pdftk-2.02-1.el6.x86_64.rpm?
avvertimento: ./libgcj-4.4.7-16.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, ID
chiave c105b9de: NOKEY
errore: Dipendenze fallite:
????????libgmp.so.3()(64bit) necessario a libgcj-4.4.7-16.el6.x86_64
# rpm -qf /usr/lib64/libgmp.so.10
gmp-6.0.0-12.el7_1.x86_64
I have adding --nodeps and it's able to install it.
If there are not other solution, I will use this method
Thanks
--?
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)