Author Topic: Setting Up Oe, Some Ques  (Read 4191 times)

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Setting Up Oe, Some Ques
« 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.

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Setting Up Oe, Some Ques
« Reply #1 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?

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Setting Up Oe, Some Ques
« Reply #2 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
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Setting Up Oe, Some Ques
« Reply #3 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

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Setting Up Oe, Some Ques
« Reply #4 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.
« Last Edit: November 27, 2004, 05:57:24 pm by Mickeyl »
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Setting Up Oe, Some Ques
« Reply #5 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?

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Setting Up Oe, Some Ques
« Reply #6 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.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Setting Up Oe, Some Ques
« Reply #7 on: November 28, 2004, 09:05:46 am »
are there any other (mirror) sites that have the content?

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Setting Up Oe, Some Ques
« Reply #8 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.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

ronbus

  • Newbie
  • *
  • Posts: 6
    • View Profile
Setting Up Oe, Some Ques
« Reply #9 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
----
SL5500
3.5.3 OPIE ROM
1 GB/256 MB Lexar SD
1 GB Kingston/64 MB Lexar CF
DLink 802.11b CF

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Setting Up Oe, Some Ques
« Reply #10 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.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Setting Up Oe, Some Ques
« Reply #11 on: December 19, 2004, 05:36:25 am »
bk is bitkeeper.

You need to install bitkeeper.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

radioz

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Setting Up Oe, Some Ques
« Reply #12 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
5600 PXA-255
Hentges OZ 3.5.4.2
PQI 1G SD
PQI 256M SD
Socket LP 10/100 Ethernet
Ambicom WL1100C Wifi

Teletubbie

  • Sr. Member
  • ****
  • Posts: 252
    • View Profile
    • http://
Setting Up Oe, Some Ques
« Reply #13 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
SL-5500G
OZ 3.3.6-pre1
Opie 1.1.4