Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 27 Aug 2014, 05:25
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
pdftk for fatdog 64 bit? (Solved)
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
step

Joined: 04 May 2012
Posts: 123

PostPosted: Fri 20 Jun 2014, 05:23    Post_subject:  pdftk for fatdog 64 bit? (Solved)  

Does anyone have pdftk compiled for fatdog 64 bit or can point me in the right direction? TIA
_________________
FatDog64 631|Blue Pup 4|DebianDog+OpenMediaVault stick

Edited_times_total
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2116
Location: The Blue Marble

PostPosted: Fri 20 Jun 2014, 06:18    Post_subject:  

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, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: Fri 20 Jun 2014, 06:28    Post_subject: Re: pdftk for fatdog 64 bit?  

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_manipulation?s[]=pdftk#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
Back to top
View user's profile Send_private_message Visit_website 
jamesbond

Joined: 26 Feb 2007
Posts: 2116
Location: The Blue Marble

PostPosted: Fri 20 Jun 2014, 06:35    Post_subject:  

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, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
step

Joined: 04 May 2012
Posts: 123

PostPosted: Fri 20 Jun 2014, 11:42    Post_subject:  

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.

_________________
FatDog64 631|Blue Pup 4|DebianDog+OpenMediaVault stick
Back to top
View user's profile Send_private_message 
step

Joined: 04 May 2012
Posts: 123

PostPosted: Sun 22 Jun 2014, 12:41    Post_subject: [SOLVED] installed pet breaks fatdog PPM  

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:

# /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:

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

to
Code:

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.

Edited_times_total
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2116
Location: The Blue Marble

PostPosted: Sun 22 Jun 2014, 12:50    Post_subject:  

I'll grab Dingo's pet and get back to you.
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
step

Joined: 04 May 2012
Posts: 123

PostPosted: Sun 22 Jun 2014, 12:55    Post_subject:  

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.

_________________
FatDog64 631|Blue Pup 4|DebianDog+OpenMediaVault stick
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2116
Location: The Blue Marble

PostPosted: Sun 22 Jun 2014, 13:19    Post_subject:  

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, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0604s ][ Queries: 12 (0.0047s) ][ GZIP on ]