pdftk for fatdog 64 bit? (Solved)

Word processors, spreadsheets, presentations, translation, etc.
Post Reply
Message
Author
step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

pdftk for fatdog 64 bit? (Solved)

#1 Post by step »

Does anyone have pdftk compiled for fatdog 64 bit or can point me in the right direction? TIA
Last edited by step on Sun 22 Jun 2014, 16:56, edited 3 times in total.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#2 Post by jamesbond »

I compiled pdftk long time ago in Fatdog 521. Command-line only. I can pack it for you if you're interested (tarball only - please convert it to pet yourself).

Compiling pdftk on Fatdog was complicated because its gcj compiler wasn't configured properly, you need to hack it a little bit. But if once you've got the gcj going, the rest is rather standard.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

Re: pdftk for fatdog 64 bit?

#3 Post by Dingo »

step wrote:Does anyone have pdftk compiled for fatdog 64 bit or can point me in the right direction? TIA
do you need a 64 bit version?

otherwise you can try if this build I made in Puppy 3.01
http://dokupuppylinux.info/programs:pdf ... #pdftk_202

is working on fatdog
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#4 Post by jamesbond »

Dingo, glad to see you still around, mate. Cheers.

I reckon for pdftk, 64 or 32-bit doesn't make any difference as long as it works (and you're not trying to process gigabyte-sized PDFs).
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#5 Post by step »

So I installed Dingo's pets on FD64 - thanks! - and was able to extract pdf pages. The only glitch is this warning message

WARNING: Error loading security provider gnu.javax.security.auth.callback.GnuCallbacks: java.lang.ClassNotFoundException: gnu.javax.security.auth.callback.GnuCallbacks not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}

I'm not sure what java has to do with it? edit: googled libgcj, got it, it's the GNU java compiler

Then for fun I tried wine pdftk.exe but it stopped with an
Exception in thread "LibgcjInternalFinalizerThread" err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x65f0a4

@jamesbond, I'm happy with Dingo's pet, thanks for your offer.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

[SOLVED] installed pet breaks fatdog PPM

#6 Post by step »

Now when I start FD64's package manager with Dingo's .pet already installed the PPM shows and error dialog and exits. So I can't manage pets anymore. Dingo's libgcj dependency pet is missing some info that PPM expects to see. Here's the error text in the dialog window

GTK-server Error!
ERROR: No value entered where "gtk_tree_store_set" expects one!

and the tail of some debugging outout.

Code: Select all

# /bin/dash -x /usr/sbin/fatdog-package-manager.sh
...
+ read GTK
+ gtk gtk_tree_store_set 15459568 16188416 "" 1 "" 2 "" 3 "" 6 "libgcj.so.7.pet" 5 "" -1
+ /bin/echo gtk_tree_store_set 15459568 16188416 "" 1 "" 2 "" 3 "" 6 "libgcj.so.7.pet" 5 "" -1
EDIT:

To fix this issue edit ~/.packages/usr/installed packages and change line

Code: Select all

libgcj.so.7|||||||libgcj.so.7.pet|||
to

Code: Select all

libgcj.so.7|libgcj|7|||||libgcj.so.7.pet|||
This will keep FD64's PPM script from breaking. There might be more proper ways to fix this issue, this one just came quickly and it works.
Last edited by step on Sun 22 Jun 2014, 16:56, edited 2 times in total.

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#7 Post by jamesbond »

I'll grab Dingo's pet and get back to you.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

step
Posts: 1349
Joined: Fri 04 May 2012, 11:20

#8 Post by step »

jamesbond wrote:I'll grab Dingo's pet and get back to you.
Wait! See my edit above - issue fixed. Though you might still want to trap this error case in the PPM script so that the script can keep going.
[url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Fatdog64-810[/url]|[url=http://goo.gl/hqZtiB]+Packages[/url]|[url=http://goo.gl/6dbEzT]Kodi[/url]|[url=http://goo.gl/JQC4Vz]gtkmenuplus[/url]

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#9 Post by jamesbond »

Thanks for the update, step. This kind of problem plagued the early versions of FPM - but I thought I have fixed all of them, so I was surprised to see this happening again. Anyway, I took a look that pdftk/libgcj pets and found that their "pet.specs" file doesn't conform to the known formats (probably a format recognised by dotpups or older packages). If 631 is still continuing (or if we decide to use FPM again in the future), this will get fixed. But since in FD7 we will move to a totally brand new package manager (gslapt), I'll leave this as is. Cheers.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

Post Reply