![]() |
#1 |
( ͡° ͜ʖ ͡°){ʇ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
|
![]()
um. now I'm no expert but grep should not just hang...
[root@kindle bin]# strace grep -l "/usr/bin/perl" Spoiler:
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 |
![]() |
![]() |
![]() |
#2 |
Official Lurker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#3 |
( ͡° ͜ʖ ͡°){ʇ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
|
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*) |
![]() |
![]() |
![]() |
#4 |
( ͡° ͜ʖ ͡°){ʇ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
|
[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. |
![]() |
![]() |
![]() |
#5 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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). |
![]() |
![]() |
![]() |
#6 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
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. |
![]() |
![]() |
![]() |
#7 |
( ͡° ͜ʖ ͡°){ʇ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
|
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: @__________@ |
![]() |
![]() |
![]() |
#8 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 ... |
![]() |
![]() |
![]() |
#9 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#10 |
( ͡° ͜ʖ ͡°){ʇ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 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 |
![]() |
![]() |
![]() |
#11 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
![]() |
![]() |
![]() |
#12 |
( ͡° ͜ʖ ͡°){ʇ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
|
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 |
![]() |
![]() |
![]() |
#13 | |
Official Lurker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Quote:
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 |
|
![]() |
![]() |
![]() |
#14 |
( ͡° ͜ʖ ͡°){ʇ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
|
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. |
![]() |
![]() |
![]() |
#15 |
( ͡° ͜ʖ ͡°){ʇ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
|
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 : ) |
![]() |
![]() |
![]() |
Tags |
fail, fat, grep, gripes, kindle3 |
|
![]() |
||||
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 |