From: Ash C. <ash...@gm...> - 2010-01-14 01:53:10
|
Hi, No - this is not a general solution. >From the Gumstix site, the links on this page (http://www.gumstix.net/Setup-and-Programming/cat/Build-system-overview/111.html) provide enough detail to use bitbake and understand openembedded in a rudimentary way. I tried the HelloWorld tutorial when I first had to make my own recipe. In addition, I've found the openembedded user manual (http://docs.openembedded.org/usermanual/html/) to be a useful place to get a more detailed picture of how openembedded is set up and what exactly the bitbake tool does. The bitbake code is certainly available but I've never personally looked through it to figure out a build problem - maybe others have. Google and the mailing-list are great places for sorting out bugs though ;-). Why not pocketsphinx? I was interested in adding some speech recognition to a robot I was working on as an extra, cool feature. It ended up taking a bit more time than I was willing to dedicate and it wasn't an important feature so I dropped it. The sphinx libraries did seem like a powerful tool though. -Ash On Wed, Jan 13, 2010 at 2:21 PM, wilhemina <fmp...@gm...> wrote: > > Thanks so much! It worked!! I was able to build the ipk files after removing > the config.log file with no problems. I can't help feeling that I lucked out > on this one though since I found someone who had built the package before. I > am curious as to what it takes to fully understand bitbake so as to > successfully resolve any problems that may arise with future builds without > necessarily googling such errors or hoping for someone who has performed the > same build. Is that a general solution for any such configure errors that > may arise with building other ipk files or is there a way of finding out > what the solution to the issues are outside asking? I would appreciate some > input because I am trying to fully understand the bitbake process and having > had to abandon past builds due to lack of solutions irrespective of google, > I do feel there is a lack of adequate documentation enabling anyone to fully > understand bitbake (the wiki does an adequate job but...). Does it involve > securing the bitbake source code? Is that code readily available? Does it > involve an understanding of python? I would really appreciate any help in > furthering my understanding of this. > > On another note I am also curious as to why you decided not to implement the > ipk of pocketsphinx that you built. Did you find another speech recognition > alternative for the armv7 architecture? > > Thanks again for the help. > > > Ash Charles wrote: >> >> Hi Wilhemina, >> >> I remembering getting pocketsphinx to compile but hadn't remembered >> how I did it... >> Looking back, I found this >> (http://old.nabble.com/Trouble-building-imagemagick-td20402447.html) >> post. >> Basically, do a 'bitbake pocketsphinx', then remove the config.log >> file in your build directory ( >> >> '/home/caars/oe/tmp/work/armv7a-angstrom-linux-gnueabi/pocketsphinx-0.4.1-r0/pocketsphinx-0.4.1') >> and then do a 'bitbake pocketsphinx' again -- the do_qa_configure step >> should pass on this second try. >> >> I have not checked to see if the package works yet so post back if >> this trick works for you. >> >> -Ash >> On Tue, Jan 12, 2010 at 7:27 AM, wilhemina <fmp...@gm...> wrote: >>> >>> Hello >>> I'm relatively new to bitbake and openembedded so I have been exploring >>> creating ipk files for pocketsphinx which I'm trying to run on the overo >>> gumstix. I followed the bitbake installation on the gumstix wiki and >>> overo >>> and have successfully installed bitbake. However when running the command >>> bitbake pocketsphinx I get the following errors: >>> >>> >>> $bitbake pocketsphinx >>> NOTE: Handling BitBake files: - (7991/7991) [100 %] >>> NOTE: Parsing finished. 7386 cached, 302 parsed, 303 skipped, 2 masked. >>> NOTE: Resolving any missing task queue dependencies >>> NOTE: Preparing runqueue >>> NOTE: Executing runqueue >>> NOTE: Running task 328 of 461 (ID: 6, >>> /home/caars/oe/org.openembedded.dev/recipes/sphinx-speech/pocketsphinx_0.4.1.bb, >>> do_qa_configure) >>> ERROR: This autoconf log indicates errors, it looked at host includes. >>> Rerun configure task after fixing this. The path was >>> '/home/caars/oe/tmp/work/armv7a-angstrom-linux-gnueabi/pocketsphinx-0.4.1-r0/pocketsphinx-0.4.1' >>> ERROR: Error in executing: >>> /home/caars/oe/org.openembedded.dev/recipes/sphinx-speech/pocketsphinx_0.4.1.bb >>> ERROR: Exception:<type 'exceptions.SystemExit'> Message:1 >>> ERROR: Printing the environment of the function >>> ERROR: Build of >>> /home/caars/oe/org.openembedded.dev/recipes/sphinx-speech/pocketsphinx_0.4.1.bb >>> do_qa_configure failed >>> ERROR: Task 6 >>> (/home/caars/oe/org.openembedded.dev/recipes/sphinx-speech/pocketsphinx_0.4.1.bb, >>> do_qa_configure) failed >>> NOTE: Tasks Summary: Attempted 327 tasks of which 327 didn't need to be >>> rerun and 1 failed. >>> ERROR: >>> '/home/caars/oe/org.openembedded.dev/recipes/sphinx-speech/pocketsphinx_0.4.1.bb' >>> failed >>> >>> I am currently at my wits end as it would seem to be a configuration >>> error >>> but I don't know where to go from here as I am very sure I followed the >>> gumstix wiki to the letter. I also tried bitbaking pocketsphinx_0.4.1.bb >>> but >>> I got the very same error. Any help would be appreciated. >>> Thanks! >>> -- >>> View this message in context: >>> http://old.nabble.com/bitbake-problem-tp27129269p27129269.html >>> Sent from the Gumstix mailing list archive at Nabble.com. >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.Net email is sponsored by the Verizon Developer Community >>> Take advantage of Verizon's best-in-class app development support >>> A streamlined, 14 day to market process makes app distribution fast and >>> easy >>> Join now and get one step closer to millions of Verizon customers >>> http://p.sf.net/sfu/verizon-dev2dev >>> _______________________________________________ >>> gumstix-users mailing list >>> gum...@li... >>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> ------------------------------------------------------------------------------ >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and >> easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> > > -- > View this message in context: http://old.nabble.com/bitbake-problem-tp27129269p27153061.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |