Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-22-2012, 03:18 PM   #1
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
Thumbs down Grep Gripes on FAT Fail. Busted or what?

um. now I'm no expert but grep should not just hang...

[root@kindle bin]# strace grep -l "/usr/bin/perl"

Spoiler:
Code:
execve("/bin/grep", ["grep", "-l", "/usr/bin/perl"], [/* 33 vars */]) = 0
brk(0)                                  = 0x7e000
uname({sys="Linux", node="kindle", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001b000
open("/mnt/us/usr/lib/libz.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\354\27\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=143358, ...}) = 0
mmap2(NULL, 162384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40025000
mprotect(0x40045000, 28672, PROT_NONE)  = 0
mmap2(0x4004c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f) = 0x4004c000
close(3)                                = 0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v6l/fast-mult/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v6l/fast-mult/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v6l/fast-mult/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v6l/fast-mult", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v6l/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v6l/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/v6l/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v6l", 0xbed45f50)  = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/fast-mult/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/fast-mult/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/fast-mult/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/fast-mult", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbed45f50)      = -1 ENOENT (No such file or directory)
open("/usr/lib/v6l/fast-mult/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v6l/fast-mult/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/usr/lib/v6l/fast-mult/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v6l/fast-mult", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/usr/lib/v6l/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v6l/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/usr/lib/v6l/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v6l", 0xbed45f50)      = -1 ENOENT (No such file or directory)
open("/usr/lib/fast-mult/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/fast-mult/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/usr/lib/fast-mult/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/fast-mult", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/usr/lib/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/half", 0xbed45f50)     = -1 ENOENT (No such file or directory)
open("/usr/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=7168, ...}) = 0
open("/lib/tls/v6l/fast-mult/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v6l/fast-mult/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/lib/tls/v6l/fast-mult/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v6l/fast-mult", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/lib/tls/v6l/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v6l/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/lib/tls/v6l/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v6l", 0xbed45f50)      = -1 ENOENT (No such file or directory)
open("/lib/tls/fast-mult/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/fast-mult/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/lib/tls/fast-mult/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/fast-mult", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/lib/tls/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/half", 0xbed45f50)     = -1 ENOENT (No such file or directory)
open("/lib/tls/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbed45f50)          = -1 ENOENT (No such file or directory)
open("/lib/v6l/fast-mult/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v6l/fast-mult/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/lib/v6l/fast-mult/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v6l/fast-mult", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/lib/v6l/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v6l/half", 0xbed45f50)     = -1 ENOENT (No such file or directory)
open("/lib/v6l/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v6l", 0xbed45f50)          = -1 ENOENT (No such file or directory)
open("/lib/fast-mult/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/fast-mult/half", 0xbed45f50) = -1 ENOENT (No such file or directory)
open("/lib/fast-mult/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/fast-mult", 0xbed45f50)    = -1 ENOENT (No such file or directory)
open("/lib/half/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/half", 0xbed45f50)         = -1 ENOENT (No such file or directory)
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\20\7\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=26525, ...}) = 0
mmap2(NULL, 213304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4004d000
mprotect(0x40052000, 28672, PROT_NONE)  = 0
mmap2(0x40059000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0x40059000
mmap2(0x4005b000, 155960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4005b000
close(3)                                = 0
open("/usr/lib/libm.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0`2\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=496558, ...}) = 0
mmap2(NULL, 475320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40082000
mprotect(0x400ee000, 28672, PROT_NONE)  = 0
mmap2(0x400f5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6b) = 0x400f5000
close(3)                                = 0
open("/usr/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0L\"\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=42348, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001c000
mmap2(NULL, 72588, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x400f7000
mprotect(0x40101000, 28672, PROT_NONE)  = 0
mmap2(0x40108000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9) = 0x40108000
close(3)                                = 0
open("/usr/lib/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\250J\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1348230, ...}) = 0
mmap2(NULL, 1135004, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40109000
mprotect(0x40212000, 28672, PROT_NONE)  = 0
mmap2(0x40219000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x108) = 0x40219000
mmap2(0x4021c000, 8604, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4021c000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
set_tls(0x4001ced0, 0x4001ced0, 0x40024058, 0x4001d5a8, 0x40) = 0
mprotect(0x40219000, 8192, PROT_READ)   = 0
mprotect(0x400f5000, 4096, PROT_READ)   = 0
mprotect(0x40059000, 4096, PROT_READ)   = 0
getuid32()                              = 0
brk(0)                                  = 0x7e000
brk(0x9f000)                            = 0x9f000
fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
read(0,


and then it hangs. forever...

htop has it at 0 cpu... 0.2 mem so it doesn't bomb. just hangs ???

anyone ACTUALLY used the kindles grep - or am I making a new one - that works? Thanks

Last edited by twobob; 08-22-2012 at 03:19 PM. Reason: BOLD
twobob is offline   Reply With Quote
Old 08-22-2012, 03:24 PM   #2
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
I have not used it, but I will go try it.
EDIT: It works for me, but I only tried it on a small file.
qlob is offline   Reply With Quote
Old 08-22-2012, 03:24 PM   #3
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
hmm...

find . -type f | xargs grep -l "/usr/bin/perl"

does stuff... er... confuzzled now.

Am I just being stupid?

ah well. I'll use that. thanks anyway

(xargs! - *shudder*)
twobob is offline   Reply With Quote
Old 08-22-2012, 03:25 PM   #4
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
[root@kindle bin]# find . -type f | xargs grep -l "/usr/bin/perl"
./intltool-extract
./intltool-merge
./intltool-update
./intltool-prepare
[root@kindle bin]#

Happy days.
twobob is offline   Reply With Quote
Old 08-22-2012, 03:26 PM   #5
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Try:
strace -fF ....
Post the result.

The above just looks like it did not trace into the segfault message.

You will also notice that whatever is being traced, is built with multi-arch/multi-lib support (we don't really need that, there is only one K3 arch).
knc1 is offline   Reply With Quote
Old 08-22-2012, 03:29 PM   #6
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@twobob: Perfectly normal. You need to ask grep to find something *somewhere*. Right now it's defaulting to reading stdin. Since there's nothing to match there, it hangs until something interesting happens in stdin .

EDIT: Hence why it works when you pipe something to it .

Last edited by NiLuJe; 08-22-2012 at 03:44 PM.
NiLuJe is offline   Reply With Quote
Old 08-22-2012, 03:33 PM   #7
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
grep -l "/usr/bin/perl" *

DAAAAAAIIIIIEEEEE!!!!!!!! @__________@ DOH!

More tea!!!!

Thanks all. what a wally.

Last edited by twobob; 08-22-2012 at 07:40 PM. Reason: @__________@
twobob is offline   Reply With Quote
Old 08-22-2012, 03:36 PM   #8
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
* * * * * *
Just practicing. Now if I could learn to read ...
knc1 is offline   Reply With Quote
Old 08-22-2012, 05:16 PM   #9
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Sadly, it takes me awhile to figure out why it is taking so long when I do that (but usually no more that 15 seconds or so).

Last edited by geekmaster; 08-22-2012 at 05:20 PM.
geekmaster is offline   Reply With Quote
Old 08-22-2012, 05:37 PM   #10
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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 know, what a doof.

it was the first time I had run it on the device after installing 1.3 Gb of various software

I was a bit concerned I had blown it's mind. As it turns out it was my mind that needed looking at.

I can see the headlines now: "Human in brain fail shocker!"


BUSTED OR WHAT!!!

Last edited by twobob; 08-22-2012 at 05:38 PM. Reason: poking fun at myself
twobob is offline   Reply With Quote
Old 08-22-2012, 05:43 PM   #11
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by twobob View Post
...
BUSTED OR WHAT!!!
At least the replies you got were more helpful that a simple RTFM, or "grep --help". Can you imagine what would happen if a noob had that problem here?
geekmaster is offline   Reply With Quote
Old 08-22-2012, 07:28 PM   #12
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
It's true, note to self - do not poke noobs, poke, ouch! note to self - do not poke noobs, poke, ouch! note to self - do not poke noobs, poke, ouch! note to self - do not poke noobs, poke, ouch! note to self - do not poke noobs, poke, ouch!



EDIT: For some reason this remind me of an old Vic20 Program...

Poke 36529,blah. The color register if my befeebled mind still serves, Zomg, someone tell me why I can remember the poke registers for a 20 year old machine and can't remember how to use Grep.

Ah well. Back to finding errors in Perl. One file at a time. it's only been 6 hours no doubt my homebrew perl will soon be powerful enough to build yum. Better be I'm getting bored

If I have to run make microperl-reconfigure one more time I may go insane.
on the bright side it takes 1 min as opposed to 90 mins. Thank you Buildroot!

Last edited by twobob; 08-22-2012 at 07:47 PM. Reason: Vic20, Buildroot make voodoo
twobob is offline   Reply With Quote
Old 08-22-2012, 08:01 PM   #13
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
Quote:
Originally Posted by twobob View Post
.......
Ah well. Back to finding errors in Perl. One file at a time. it's only been 6 hours no doubt my homebrew perl will soon be powerful enough to build yum. Better be I'm getting bored
.......
(Shameless "noob" (I still think I am one) plugging in here:

Isn't YUM written in python? Or am I just confused as to what microperl does?

EDIT: It's probably the latter as I just checked, and the wiki says it's written in Python.
http://en.wikipedia.org/wiki/Yellowd...ater,_Modified
qlob is offline   Reply With Quote
Old 08-22-2012, 09:10 PM   #14
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
yepo.

[root@kindle yum]# make
for d in rpmUtils yum yum-cron etc docs po; do make PYTHON=python -C $d; [ $? = 0 ] || exit 1 ; done
make[1]: Entering directory `/mnt/us/src/yum/rpmUtils'
echo "Nothing to do"
Nothing to do
make[1]: Leaving directory `/mnt/us/src/yum/rpmUtils'
make[1]: Entering directory `/mnt/us/src/yum/yum'
echo "Nothing to do"
Nothing to do
make[1]: Leaving directory `/mnt/us/src/yum/yum'
make[1]: Entering directory `/mnt/us/src/yum/yum-cron'
echo "Nothing to do"
Nothing to do
make[1]: Leaving directory `/mnt/us/src/yum/yum-cron'
make[1]: Entering directory `/mnt/us/src/yum/etc'
echo "Nothing to do"
Nothing to do
make[1]: Leaving directory `/mnt/us/src/yum/etc'
make[1]: Entering directory `/mnt/us/src/yum/docs'
echo "Nothing to do"
Nothing to do
make[1]: Leaving directory `/mnt/us/src/yum/docs'
make[1]: Entering directory `/mnt/us/src/yum/po'
intltool-update --gettext-package=yum --pot
Use of uninitialized value $DynaLoader::dlsrc in string eq at /mnt/us/usr/lib/perl5/5.12.4/DynaLoader.pm line 64.
Use of uninitialized value in split at /mnt/us/usr/lib/perl5/5.12.4/DynaLoader.pm line 68.
Use of uninitialized value $DynaLoader::dlsrc in string eq at /mnt/us/usr/lib/perl5/5.12.4/DynaLoader.pm line 64.
Use of uninitialized value in split at /mnt/us/usr/lib/perl5/5.12.4/DynaLoader.pm line 68.
Can't load module Encode, dynamic loading not available in this perl.
(You may need to build a new perl executable which either supports
dynamic loading or has the Encode module statically linked into it.)
at /mnt/us/bin/intltool-extract line 944
Compilation failed in require at /mnt/us/bin/intltool-extract line 944.
BEGIN failed--compilation aborted at /mnt/us/bin/intltool-extract line 944.

*** The intltool-extract script wasn't found!
*** Without it, intltool-update can not generate files.
msgfmt -o bn_IN.mo bn_IN.po -c
make[1]: msgfmt: Command not found
make[1]: *** [bn_IN.mo] Error 127
make[1]: Leaving directory `/mnt/us/src/yum/po'
make: *** [subdirs] Error 1

but it needs perl to make

right.... err why?

sad.
twobob is offline   Reply With Quote
Old 08-22-2012, 09:22 PM   #15
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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
For the record I burned 6 ish hours getting to that point.

I'll look at the Perl Makefile tomorrow.
MUST DO SOMETHING MORE EXCITING FOR A WHILE, serious boredom overload.

Samba it is : )
twobob is offline   Reply With Quote
Reply

Tags
fail, fat, grep, gripes, kindle3


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum Flavor, Minimum Fat: 61 Recipes Low In Fat & Calories (Free 25-26th Aug) Mia Grace Self-Promotions by Authors and Publishers 0 08-20-2012 01:03 PM
Update (Installation) gripes Starko Calibre 12 05-29-2011 03:40 PM
Another Grep Question Fabe Sigil 4 12-13-2010 04:51 PM
Kindle 3 gripes Kumabjorn Amazon Kindle 143 09-09-2010 01:14 PM
Received IT and some gripes/whines Fitzwaryn Sony Reader 5 10-09-2006 11:56 AM


All times are GMT -4. The time now is 11:20 PM.


MobileRead.com is a privately owned, operated and funded community.