SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In Makefile.Generic You need to add -fPIC option into CPPFLAGS and CXXFLAGS vars, and run the make with LDFLAGS="-L/usr/lib64" envar
I forgot to mention that I did a couple extra things as well but just the gcc 4.3 patch alone worked for me. You can make use of the CFLAGS by adding a simple sed statement before or after the patches are applied and an additional patch to introduce LDFLAGS. I didn't think they were relevant.
Code:
# sed -i "s|-O2|$SLKCFLAGS|" pdftk/Makefile.Generic
Thanks for looking after pdftk in my absense, since I've been the original maintainer. I've tried to get a few to inherit ownership in the past with no success.
Turns out I'm completely out of spare time at the moment between family and work, and thus would greatly appreciate if anyone volunteered to assume ownership over my orphan slackbuilds..
Well, I'm also haven't spare time to manage of this SlackBuild, but I've been able to merge all the changes mentioned in this thread, and made a single patch file.
I also add some of my modification to support custom install prefixes, and path for packaging
Well, I'm also haven't spare time to manage of this SlackBuild, but I've been able to merge all the changes mentioned in this thread, and made a single patch file.
I also add some of my modification to support custom install prefixes, and path for packaging
Enjoy!
I wonder if Slackbuilds could be created out of patched source files. In the general slackbuild procedure, there is always a link for downloading the source and in our case, the source is going to be the patched version. So ...
Hmm... I think, that the very best way is to get the original source and apply patch by SlackBuild script.
You cannot rely on applying any changes by author of pdftk. This tool isn't mainained yet, AFAIK.
Building with patch from Martinezio now - if all works and pdftk remains fully functional I'll send an update to SBo asap to get it official. Thanks for the patience.
I'd wait for the officially sanctioned version by the SBo team though - the guys there do a terrific job and validate everything in every build carefully for errors etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.