|
|
#1 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,128
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
[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
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set Last edited by twobob; 08-22-2012 at 03:19 PM. Reason: BOLD |
|
|
|
|
|
#2 |
|
Horse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,019
Karma: 7087247
Join Date: Apr 2012
Device: Kindle3G+WiFi
|
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. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,128
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
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*)
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#4 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,128
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
[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.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#5 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,098
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
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).
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
#6 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,895
Karma: 2267781
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w & PW
|
@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: 5,128
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
grep -l "/usr/bin/perl" *
DAAAAAAIIIIIEEEEE!!!!!!!! @__________@ DOH! More tea!!!! Thanks all. what a wally.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set Last edited by twobob; 08-22-2012 at 07:40 PM. Reason: @__________@ |
|
|
|
|
|
#8 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,098
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
* * * * * *
Just practicing. Now if I could learn to read ...
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
#9 |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,022
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
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).
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() Last edited by geekmaster; 08-22-2012 at 05:20 PM. |
|
|
|
|
|
#10 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,128
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
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!!!
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set Last edited by twobob; 08-22-2012 at 05:38 PM. Reason: poking fun at myself |
|
|
|
|
|
#11 |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,022
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
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?
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
|
|
|
|
|
#12 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,128
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
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!
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set Last edited by twobob; 08-22-2012 at 07:47 PM. Reason: Vic20, Buildroot make voodoo |
|
|
|
|
|
#13 | |
|
Horse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,019
Karma: 7087247
Join Date: Apr 2012
Device: Kindle3G+WiFi
|
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
__________________
meh. signatures. |
|
|
|
|
|
|
#14 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,128
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
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.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#15 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,128
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
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 : )
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
![]() |
| Tags |
| fail, fat, grep, gripes, kindle3 |
| Thread Tools | Search this Thread |
|
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 | Author Self-Promotions | 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 |