Hi,

Am Montag, den 14.07.2008, 21:11 -0700 schrieb Jim Morris:
> Ok good luck with toolchain, I tried and found a bunch of libs were 
> missing... I'll try again later.

You can get opkg to work in the toolchain to install missing libs. The
steps were roughly:

Get
$ wget 
http://buildhost.openmoko.org/daily-feed/i686-armv4t-sdk/opkg-sdk_0.1.4+svnr4491-r1_i686-armv4t-sdk.ipk

„Install“ it:
$ dpkg -X opkg-sdk_0.1.4+svnr4491-r1_i686-armv4t-sdk.ipk /

Do some hackish workaround
$ mkdir /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi//opkg/opkg -p

Fix the feed file:
$ cat /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/etc/opkg.conf 
src oe http://buildhost.openmoko.org/daily-feed
arch all 1
src oe-all http://buildhost.openmoko.org/daily-feed/all
arch any 6
arch noarch 11
arch arm 16
arch armv4t 21
src oe-armv4t http://buildhost.openmoko.org/daily-feed/armv4t
arch neo1973 31
src oe-neo1973 http://buildhost.openmoko.org/daily-feed/neo1973
arch om-gta02 36
src oe-om-gta02 http://buildhost.openmoko.org/daily-feed/om-gta02

Install what you need 
$ . /usr/local/openmoko/arm/setup-env
$ opkg-target install libjana-dev

Then I could successfully use om-conf and om-make-ipkg for packages like
openmoko-messages2, as found in SVN.

I had a problem with the newest gtk files, for some reason libtool tried
to link them form /usr/lib/ instead those found in /usr/local/openmoko.
My work around was:
$ sed -i 's/installed=yes/installed=no/' 
/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib/*la


Maybe this is all very wrong and I’m just lucky that it worked, in this
case, please correct me.

Greetings,
Joachim

-- 
Joachim Breitner
  e-Mail: [EMAIL PROTECTED]
  Homepage: http://www.joachim-breitner.de
  ICQ#: 74513189
  Jabber-ID: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to