Now i login as a user. I exported following paths export OEBASE=/home/development/em-x270/stuff export PATH=$OEBASE/bitbake/bin:$PATH export BBPATH=$OEBASE/build:$OEBASE/openembedded export BB_ENV_EXTRAWHITE="OEBASE"
and set CACHE variable in usr/share/bitbake/conf/bitbake.conf as CACHE = "/home/development/em-x270/stuff/build/tmp" when i compile "bitbake linphone" i get following error [vi...@primary build]$ bitbake linphone Traceback (most recent call last): File "/home/development/em-x270/stuff/bitbake/bin/bitbake", line 143, in <module> main() File "/home/development/em-x270/stuff/bitbake/bin/bitbake", line 123, in main cooker.parseConfiguration() File "/home/development/em-x270/stuff/bitbake/lib/bb/cooker.py", line 68, in parseConfiguration self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) ) File "/home/development/em-x270/stuff/bitbake/lib/bb/cooker.py", line 402, in parseConfigurationFile bb.fetch.fetcher_init(self.configuration.data) File "/home/development/em-x270/stuff/bitbake/lib/bb/fetch/__init__.py", line 93, in fetcher_init pd = persist_data.PersistData(d) File "/home/development/em-x270/stuff/bitbake/lib/bb/persist_data.py", line 52, in __init__ bb.mkdirhier(self.cachedir) File "/home/development/em-x270/stuff/bitbake/lib/bb/__init__.py", line 138, in mkdirhier if e.errno != 17: raise e *OSError: [Errno 13] Permission denied: '/home/development/em-x270/stuff/build/tmp' with regards vivek tambakad * On Tue, Dec 1, 2009 at 4:30 PM, < openembedded-devel-requ...@lists.openembedded.org> wrote: > Send Openembedded-devel mailing list submissions to > openembedded-devel@lists.openembedded.org > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > > or, via email, send a message with subject or body 'help' to > openembedded-devel-requ...@lists.openembedded.org > > You can reach the person managing the list at > openembedded-devel-ow...@lists.openembedded.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Openembedded-devel digest..." > > > Today's Topics: > > 1. Re: Error while running bibake (Frans Meulenbroeks) > 2. Re: Error while running bibake (Marcin Juszkiewicz) > 3. Re: Error while running bibake (Dr. Michael Lauer) > 4. Re: Error while running bibake (Graeme Gregory) > 5. Re: Error while running bibake (Robert P. J. Day) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 1 Dec 2009 11:29:46 +0100 > From: Frans Meulenbroeks <fransmeulenbro...@gmail.com> > Subject: Re: [oe] Error while running bibake > To: openembedded-devel@lists.openembedded.org > Message-ID: > <ac9c93b10912010229g2b53c52fw671178a33c644...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > 2009/12/1 vivek tambakad <vivektamba...@gmail.com>: > > hi > > I want cross compile linphone for compulab EM-x270 board.when i try > > ? sudo bitbake -b > > /home/development/em-x270/stuff/openembedded/recipes/linphone/ > > linphone_3.1.0.bb > > ? ?then i will get the following error > > ? *bb.parse.ParseError: Could not inherit file classes/autotools.bbclass > > * > > ? ?pleasse guide me in compiling linphone for compulab board. > > first remark: > there is no need to run bitbake as root. > > 2nd thing you could check is if the file exists in your tree and if so > if your path is set properly. > > FM > > > > ------------------------------ > > Message: 2 > Date: Tue, 1 Dec 2009 11:35:07 +0100 > From: Marcin Juszkiewicz <mar...@juszkiewicz.com.pl> > Subject: Re: [oe] Error while running bibake > To: openembedded-devel@lists.openembedded.org > Message-ID: <200912011135.08560.mar...@juszkiewicz.com.pl> > Content-Type: Text/Plain; charset="utf-8" > > Dnia wtorek, 1 grudnia 2009 o 11:29:46 Frans Meulenbroeks napisa?(a): > > 2009/12/1 vivek tambakad <vivektamba...@gmail.com>: > > > hi > > > I want cross compile linphone for compulab EM-x270 board.when i try > > > sudo bitbake -b > > > /home/development/em-x270/stuff/openembedded/recipes/linphone/ > > > linphone_3.1.0.bb > > > then i will get the following error > > > *bb.parse.ParseError: Could not inherit file > classes/autotools.bbclass > > > * > > > pleasse guide me in compiling linphone for compulab board. > > > > first remark: > > there is no need to run bitbake as root. > > > > 2nd thing you could check is if the file exists in your tree and if so > > if your path is set properly. > > 3rd: do not use "bitbake -b" command but "bitbake" because "-b" expands to > "--be-not-nice-to-me-and-do-not-build-dependencies". > > Regards, > -- > JID: h...@jabber.org > Website: http://marcin.juszkiewicz.com.pl/ > LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz > > > > > > ------------------------------ > > Message: 3 > Date: Tue, 1 Dec 2009 11:36:11 +0100 > From: "Dr. Michael Lauer" <mic...@vanille-media.de> > Subject: Re: [oe] Error while running bibake > To: openembedded-devel@lists.openembedded.org > Message-ID: <f99b6dbe-77ca-4cc6-8a46-d8a090808...@vanille-media.de> > Content-Type: text/plain; charset=us-ascii > > > Am 01.12.2009 um 11:29 schrieb Frans Meulenbroeks: > > > 2009/12/1 vivek tambakad <vivektamba...@gmail.com>: > >> hi > >> I want cross compile linphone for compulab EM-x270 board.when i try > >> sudo bitbake -b > >> /home/development/em-x270/stuff/openembedded/recipes/linphone/ > >> linphone_3.1.0.bb > >> then i will get the following error > >> *bb.parse.ParseError: Could not inherit file classes/autotools.bbclass > >> * > >> pleasse guide me in compiling linphone for compulab board. > > > > first remark: > > there is no need to run bitbake as root. > > > > 2nd thing you could check is if the file exists in your tree and if so > > if your path is set properly. > > More remarks: > > 1. Don't use -b unless you really know what you are doing, better use > 'bitbake linphone'. > 2. Check whether BBPATH is correctly set (pointing to your conf files). > > :M: > > > ------------------------------ > > Message: 4 > Date: Tue, 1 Dec 2009 10:39:17 +0000 > From: Graeme Gregory <d...@xora.org.uk> > Subject: Re: [oe] Error while running bibake > To: openembedded-devel@lists.openembedded.org > Message-ID: <20091201103917.gc4...@xora.vm.bytemark.co.uk> > Content-Type: text/plain; charset=iso-8859-1 > > On Tue, Dec 01, 2009 at 11:29:46AM +0100, Frans Meulenbroeks wrote: > > 2009/12/1 vivek tambakad <vivektamba...@gmail.com>: > > > hi > > > I want cross compile linphone for compulab EM-x270 board.when i try > > > ? sudo bitbake -b > > > /home/development/em-x270/stuff/openembedded/recipes/linphone/ > > > linphone_3.1.0.bb > > > ? ?then i will get the following error > > > ? *bb.parse.ParseError: Could not inherit file > classes/autotools.bbclass > > > * > > > ? ?pleasse guide me in compiling linphone for compulab board. > > > > first remark: > > there is no need to run bitbake as root. > > > Rephrase that. > > DONT RUN BITBAKE AS ROOT!!!!!!!!! > > That way will only lead to your host machine having bits of its filesystem > replaced/deleted. OE relies on sandboxing the build as a non priviledged > user. > > Graeme > > > > > ------------------------------ > > Message: 5 > Date: Tue, 1 Dec 2009 05:45:36 -0500 (EST) > From: "Robert P. J. Day" <rpj...@crashcourse.ca> > Subject: Re: [oe] Error while running bibake > To: openembedded-devel@lists.openembedded.org > Message-ID: <alpine.lfd.2.00.0912010544560.8...@localhost> > Content-Type: text/plain; charset="iso-8859-1" > > On Tue, 1 Dec 2009, Graeme Gregory wrote: > > > On Tue, Dec 01, 2009 at 11:29:46AM +0100, Frans Meulenbroeks wrote: > > > 2009/12/1 vivek tambakad <vivektamba...@gmail.com>: > > > > hi > > > > I want cross compile linphone for compulab EM-x270 board.when i try > > > > ? sudo bitbake -b > > > > /home/development/em-x270/stuff/openembedded/recipes/linphone/ > > > > linphone_3.1.0.bb > > > > ? ?then i will get the following error > > > > ? *bb.parse.ParseError: Could not inherit file > classes/autotools.bbclass > > > > * > > > > ? ?pleasse guide me in compiling linphone for compulab board. > > > > > > first remark: > > > there is no need to run bitbake as root. > > > > > Rephrase that. > > > > DONT RUN BITBAKE AS ROOT!!!!!!!!! > > > > That way will only lead to your host machine having bits of its > > filesystem replaced/deleted. OE relies on sandboxing the build as a > > non priviledged user. > > if you feel that strongly about it, why not just have bitbake refuse > to run as root? seems like a simple solution. > > rday > -- > > ======================================================================== > Robert P. J. Day Waterloo, Ontario, CANADA > > Linux Consulting, Training and Kernel Pedantry. > > Web page: http://crashcourse.ca > Twitter: http://twitter.com/rpjday > ======================================================================== > > ------------------------------ > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > > > End of Openembedded-devel Digest, Vol 41, Issue 2 > ************************************************* > _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel