Difference between revisions of "Talk:Getting started with OE-Classic"

From Openembedded.org
Jump to: navigation, search
(New page: when i try to generate a single package I got the error: sqlite3.OperationalError: unable to open database file Why could be the reason for this error? Phyton incorrectly installed? Tha...)
 
m (moved Talk:Getting started to Talk:Getting started with OE-Classic: Move out of the way so that OE-Core info can be put in its place)
 
(21 intermediate revisions by 14 users not shown)
Line 1: Line 1:
when i try to generate a single package I got the error:
+
=Changing distro/machine=
 +
* is it safe to change distro on the same oe tree? or mixed staged packages my produce unpredictible results?
  
sqlite3.OperationalError: unable to open database file
+
It is not recommended as results can be disaster. Each distro can define other versions of each of libraries so in the end resulting packages are not what distro wants.
  
Why could be the reason for this error? Phyton incorrectly installed?
+
* on angstrom build guide you can read that changing machine/libs is safe for *Angstrom*, is it safe for other distro too?
  
Thanks in advance!!
+
It is safe for any distro.
  
: Did you follow the intructions on this page? I think you are missing the monotone database. --[[User:Laibsch|Laibsch]] 11:16, 28 September 2008 (UTC)
+
=About The building time needed=
 +
* I have several tries on building the very basic targets (bitbake nano/helloworld/task-base), every time it cannot complete in almost a whole night, on a Intel-3.2G-CPU/512M-Memory machine, so who can tell an approximate building time needed? On Day or one week? Thank you.
 +
 
 +
It depends on machine speed and amount of memory. On quad core Intel 2.4GHz with 4GB ram I am able to do console-image in 2-3 hours. But that can be also result of ccache being used with quite big storage used for caching. Build time can be longer for first build due to time required to fetch all sources so keep your DL_DIR outside of TMPDIR so next builds will use already fetched sources. You can also enable parallel make and use more BitBake threads to speed up build time ([http://marcin.juszkiewicz.com.pl/2008/04/07/speeding-up-bitbake-builds/ info how to do it ]).
 +
 
 +
= Bitbake GIT=
 +
* The addition of the command to clone the bitbake tool will save time. The bitbake project homepage still list only the SVN repository. I have lost time to realize that bitbake repository is now in the openembedded site. Please add this somewere:
 +
<pre>
 +
git clone git://git.openembedded.net/bitbake
 +
</pre>

Latest revision as of 14:55, 7 November 2012

Changing distro/machine

  • is it safe to change distro on the same oe tree? or mixed staged packages my produce unpredictible results?

It is not recommended as results can be disaster. Each distro can define other versions of each of libraries so in the end resulting packages are not what distro wants.

  • on angstrom build guide you can read that changing machine/libs is safe for *Angstrom*, is it safe for other distro too?

It is safe for any distro.

About The building time needed

  • I have several tries on building the very basic targets (bitbake nano/helloworld/task-base), every time it cannot complete in almost a whole night, on a Intel-3.2G-CPU/512M-Memory machine, so who can tell an approximate building time needed? On Day or one week? Thank you.

It depends on machine speed and amount of memory. On quad core Intel 2.4GHz with 4GB ram I am able to do console-image in 2-3 hours. But that can be also result of ccache being used with quite big storage used for caching. Build time can be longer for first build due to time required to fetch all sources so keep your DL_DIR outside of TMPDIR so next builds will use already fetched sources. You can also enable parallel make and use more BitBake threads to speed up build time (info how to do it ).

Bitbake GIT

  • The addition of the command to clone the bitbake tool will save time. The bitbake project homepage still list only the SVN repository. I have lost time to realize that bitbake repository is now in the openembedded site. Please add this somewere:
git clone git://git.openembedded.net/bitbake