|
View Poll Results: how do you feel about perl jam? | |||
mmmmmm it's delicious! | 8 | 57.14% | |
uhhh, i'm not gay. (sorry, ladies) | 6 | 42.86% | |
Voters: 14. You may not vote on this poll |
|
Thread Tools | Search this Thread |
02-17-2012, 09:37 AM | #31 |
Groupie
Posts: 153
Karma: 113
Join Date: Jan 2012
Location: Russia
Device: Kindle Touch
|
Thanks a lot, I'll give it a try.
|
02-18-2012, 03:53 PM | #32 |
Connoisseur
Posts: 58
Karma: 26
Join Date: Dec 2011
Device: K3G, KF2
|
Huzzah! Finally got it to work.
I don't know what I did, except use Telnet on Windows after resetting my Kindle. Other than that, I used the exact same commands I did last time. Happy to finally get it to work! Last edited by sjheiss; 02-19-2012 at 09:48 PM. |
Advert | |
|
02-19-2012, 10:03 PM | #33 |
Connoisseur
Posts: 58
Karma: 26
Join Date: Dec 2011
Device: K3G, KF2
|
What would one have to do to get a module like Fcntl to work on the Kindle?
EDIT: Nevermind, got it. EDIT: No, XSLoader fails for some reason. Code:
/mnt/us/www/cgi-bin$ ./poll.cgi [Sun Feb 19 18:28:47 2012] poll.cgi: Can't load '/opt/perl/lib/perl/auto/Fcntl/Fcntl.so' for module Fcntl: /opt/perl/lib/perl/auto/Fcntl/Fcntl.so: cannot open shared object file: No such file or directory at /opt/perl/lib/perl/XSLoader.pm line 70. [Sun Feb 19 18:28:47 2012] poll.cgi: at /opt/perl/lib/perl/Fcntl.pm line 215 [Sun Feb 19 18:28:47 2012] poll.cgi: BEGIN failed--compilation aborted at /opt/perl/lib/perl/Fcntl.pm line 216. [Sun Feb 19 18:28:47 2012] poll.cgi: Compilation failed in require at ./poll.cgi line 4. [Sun Feb 19 18:28:47 2012] poll.cgi: BEGIN failed--compilation aborted at ./poll.cgi line 4. Last edited by sjheiss; 02-19-2012 at 10:33 PM. |
10-16-2012, 08:49 AM | #34 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
@twobob: Didn't you need perl for something?
|
10-16-2012, 09:05 AM | #35 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hi Yep. spent quite a bit of time building up some supporting libraries IIRC too.
I note that much of that work has now been mirrored in the main Buildroot tree, so perl and a few other interpreters build as standard with some supporting extensions. There is a little bit of make fiddling required to make it perfect on FAT but it's doable. AFAICR it's all still installed on my 3. More people should be grabbing down buildroot and having a play IMHO. it's fun : ) |
Advert | |
|
10-16-2012, 09:08 AM | #36 | |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Quote:
|
|
11-10-2013, 10:15 PM | #37 | ||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I rebuilt this again.
expects to live in /mnt/us/extensions/perl [root@kindle root]# export PATH=$PATH:/mnt/us/extensions/perl/usr/bin [root@kindle root]# perl --version Quote:
[root@kindle root]# perl -V Quote:
Last edited by twobob; 11-10-2013 at 10:31 PM. |
||
05-13-2014, 01:11 PM | #38 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2014
Device: Kindle 3 keyboard with wifi
|
Hi twobob,
I tried your perl build on some test scripts which when run complain about missing modules such as autodie. How can I add missing modules? Maybe I need to build them. Can you give me some pointers to set up a compilation chain? Thanks! |
05-13-2014, 01:46 PM | #39 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
But since it is a complete Perl system install, I assume just using the Perl CPAN repo should do the trick - Perl will detect and compile anything that needs compiling. I.E: The same way you add modules to any other Perl installation. |
|
04-26-2017, 04:20 AM | #40 |
Wizard
Posts: 1,333
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Kindle Legacy Collections Manager on Perl
Do you think we can run this script for Collection Manager? It is declared to work on Kindle 3, but it probably can work on 4NT, DX, also (not on touch screen ones).
It is written for Linux/Mac, but since we have Perl working on Kindle, why not try it? How does it work (initially designed to be run from a PC): 1) Connect Kindle to PC and put folders with books into %kindle_root%/documents/ ; 2) Run the code: Code:
./kindle-make-collection /mnt/Kindle That would be just great if we could do that on Kindle (autorun after USB disconnect? Dreams, dreams..) Credits for the original script go to Alex Efros aka powerman from the-ebook.org. Last edited by mergen3107; 04-26-2017 at 04:24 AM. |
04-26-2017, 07:20 AM | #41 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Librarian Sync already does that.
(See what happens when you bump a three year old thread?) |
04-26-2017, 08:47 AM | #42 |
Wizard
Posts: 1,333
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Thank you! I think I was always skipping it because it does not state clearly whether it works with Legacy Kindles.
So does it work? Technically, I see that it is a KUAL extension, and I know that K4, for instance, has KUAL working. However, the methods of managing Collections are different on Legacy Kindles. For example, it was already a new one for Kindle Touch. |
04-26-2017, 09:20 AM | #43 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The thing you are looking for is the form and format of the sqlite3 database commands. The fact that one is written in Perl and one in Python does not make a difference, only the form and format of the db commands. IIRC, the only change was when Amazon dropped support for nested collections and reused that record field to indicate 'cloud' collections. Another point in favor of testing or updating our script - There is a serious shortage of maintainers here, we can not take on supporting some other site's script. If you must use that Perl script, you will have to get your help from that author/that site. Last edited by knc1; 04-26-2017 at 09:27 AM. |
|
04-26-2017, 04:18 PM | #44 |
Wizard
Posts: 1,333
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Thank you knc1!
That explains something. I'll give Librarian Sync a try soon on Kindle 4. |
Tags |
fbdev, kindle tools |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Perl and Regex | Alexander Turcic | Lounge | 3 | 01-25-2011 08:48 PM |
Any good Perl scripters out there? | Goshzilla | Workshop | 28 | 04-09-2010 03:55 PM |
perl for the DR800/DR1000? | Mr. X | iRex | 1 | 03-16-2010 08:47 AM |
Perl processing | alexxxm | Sony Reader | 3 | 11-26-2007 07:13 AM |
Any perl or python gurus? | jbenny | Workshop | 0 | 11-23-2007 04:27 PM |