OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => OpenZaurus/Opie/Qtopia => Topic started by: ninsei on November 27, 2004, 09:53:29 am

Title: Setting Up Oe, Some Ques
Post by: ninsei on November 27, 2004, 09:53:29 am
Hi.  My goal is just to be able to compile generic ar/QT/QPE pkgs for my poodle running OZ 3.5.1.  got oe and packages using bitkeeper.  edited the local.conf.  now what?  didnt do any oebuild or oemake yet cause i dont know what to make.  i know i would have to create a .oe file for whatever src i wnat to compile but i imaging the main thing i need is the gcc 3.4.2 toolchain.  the doc seems to assume i have that set up already, i dont.  any help on next steps is appreciated.
Title: Setting Up Oe, Some Ques
Post by: ninsei on November 27, 2004, 10:21:32 am
for example:

[root@panic packages]# oebuild do_build patcher/patcher-native_20040913.oe
ERROR: InvalidTask event exception, aborting

what am i doing wrong?
Title: Setting Up Oe, Some Ques
Post by: Mickeyl on November 27, 2004, 11:13:28 am
Two mistakes:

1.) Syntax is oebuild [task] <file>, whereas task is optional and one of {fetch,unpack,patch,compile,etc.} - see oebuild -h

2.) better use oemake <provider>, i.e. oemake opie-wellenreiter, which takes care about building all necessary dependencies - see oemake -h
Title: Setting Up Oe, Some Ques
Post by: ninsei on November 27, 2004, 03:32:18 pm
dont mean to keep bothering folks with my little probs (if there's another list i could post this stuff to lemme know).  using oemake i get:

[root@panic packages]# cd patcher
[root@panic patcher]# oemake -v patcher
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
NOTE: Not using a cache. Set CACHE = <directory> to enable.
NOTE: Parsing finished. 0 cached, 2 parsed, 0 skipped, 0 masked.
NOTE: Building provider hash: [####################] (100%)
NOTE: current path: patcher (patcher)
NOTE: dependencies for patcher are:
NOTE: The included, default OE base.oeclass does not define a useful default task.
NOTE: Try running the 'listtasks' task against a .oe to see what tasks are defined.
Build statistics:
  Attempted builds: 1
Title: Setting Up Oe, Some Ques
Post by: Mickeyl on November 27, 2004, 05:56:20 pm
OEPATH wrong. It must be <pathToBuildDirectory>:<pathToPackages>:<pathToOE>, e.g.

OEPATH=/local/pkg/build;/local/pkg/packages;/local/pkg/oe

OEPATH is like PATH, i.e. it reads the first *.conf file it finds. The oe.conf in oe is a minimal conf not suitable for building OZ and friends, which is why we need to make it pick up the oe.conf below packages.
Title: Setting Up Oe, Some Ques
Post by: ninsei on November 27, 2004, 07:24:22 pm
thx.  getting closer.  oemake patcher gives:
.
.
.
NOTE: Fetch cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=ipkg-utils
cvs [checkout aborted]: unrecognized auth response from cvs.handhelds.org: cvs: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
NOTE: Task failed: Fetch failed: ipkg-utils
ERROR: package ipkg-utils-native-1.6cvs20041127-r3: task do_fetch failed
ERROR: TaskFailed event exception, aborting
ERROR: package ipkg-utils-native: build failed
ERROR: Build of patcher failed

maybe that's a handhelds.org thing.  just tried patcher to see if it built.  i really what to build the gcc cross that i would need to build a stansard zaurus app (i.e. roadmap).  which "packages" would i need to compile just something like that?
Title: Setting Up Oe, Some Ques
Post by: Mickeyl on November 27, 2004, 08:32:55 pm
At the moment I'm afraid you can't compile anything because everything needs hh.org to be up. Anoncvs is very near to operating again - probably just a matter of hours now. To see what packages (theoretically) need to be compiled to satisfy a dependency you can use oemake -nv <package>. It then lists what it would do - kind of a dry-run.
Title: Setting Up Oe, Some Ques
Post by: ninsei on November 28, 2004, 09:05:46 am
are there any other (mirror) sites that have the content?
Title: Setting Up Oe, Some Ques
Post by: Mickeyl on November 28, 2004, 01:59:43 pm
Unfortunately not atm., with hh.org being up again (hopefully) soon, we will start a mirror to prevent things like this happen in the future.
Title: Setting Up Oe, Some Ques
Post by: ronbus on December 16, 2004, 08:00:24 pm
Not to bring up a 2+ week old thread (well, actually I do) but, has a mirror been setup for hh.org's cvs?  This is my first attempt to build OZ from OE and it's dying when attempting to checkout ipkg-utils-native-1.6cvs20041216-r3.

Thanks,
-Ron
Title: Setting Up Oe, Some Ques
Post by: adf on December 19, 2004, 02:08:00 am
not to sound to incredibly dense, but how do I get past this bit?
bk clone bk://openembedded.bkbits.net/openembedded
bash: bk: command not found

I installes subversion.
I installed the openembedded .deb of necessary files.
However obvious this might be, I am making no headway.
Title: Setting Up Oe, Some Ques
Post by: lardman on December 19, 2004, 05:36:25 am
bk is bitkeeper.

You need to install bitkeeper.


Si
Title: Setting Up Oe, Some Ques
Post by: radioz on December 19, 2004, 05:14:27 pm
Sorry to butt in, but I'm playing along here with my first attempt at compiling oz for Poodle.

I've successfully built a good portion of the distribution but it is failing with the following error:

~/bitbake/bin/bitbake opie-image
<snip>
NOTE: package ipkg-native: build started
NOTE: package ipkg-native-0.99.130-r1: task do_fetch started
NOTE: Fetch cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=familiar/dist/ipkg;tag=V0-99-130
cvs [checkout aborted]: connect to cvs.handhelds.org(192.58.209.90):2401 failed: Connection refused
NOTE: Task failed: Fetch failed: familiar/dist/ipkg
ERROR: package ipkg-native-0.99.130-r1: task do_fetch failed
ERROR: TaskFailed event exception, aborting
ERROR: package ipkg-native: build failed
ERROR: Build of opie-image failed

Should bb be trying to fetch ipkg-native from the familiar distribution? Or have I done something wrong?

Thanks for any pointers.

radioz
Title: Setting Up Oe, Some Ques
Post by: Teletubbie on December 19, 2004, 05:28:36 pm
Hi Radioz,
you didnt anything wrong. There are a lot of people waiting for handhelds.org CVS comming back online.
Cheers,
Sam