Meta Toolchain Release (2008 May)
John Lee
john_lee at openmoko.com
Thu May 29 06:34:40 CEST 2008
On Sun, May 25, 2008 at 04:19:37PM -0700, Pranav Desai wrote:
>
> I am still having trouble building openmoko-dialer2 with the toolchain. I
> can build openmoko-sample2 just fine.
>
> The toolchain seems to be missing libpulse. Initially, om-conf
> openmok-dialer2 gave both libebook and libpulse as missing. I found that
> libebook is present in the toolchain, but was missing the .pc file. After
> adding that it went ahead and only complained about libpulse.
>
> So I started building pulseaudio-0.9.10 with the toolchain. After resolving
> some dependencies like liboil and libsndfile, I was able to build libpulse.
> But now I stuck at libjana.
>
> checking pkg-config is at least version 0.9.0... yes
> checking for DIALER... yes
> checking for JANA... configure: error: Package requirements (libjana
> libjana-ecal libjana-gtk) were not met:
>
> No package 'libjana' found
> No package 'libjana-ecal' found
> No package 'libjana-gtk' found
>
> Any ideas, suggestions or can anyone provide with the required libraries ?
>
> Thanks
>
> -- Pranav
libjana isn't packaged in toolchain by default. the default
compopents are:
libmokogsmd2, mokoui2, mokopanelui2, mokojournal2 and dependencies.
we cannot package everything or it's going to be a huge toolchain.
however, there are 2 interesting aliases in environment-setup:
alias opkg='LD_LIBRARY_PATH=/usr/local/openmoko/arm/lib /usr/local/openmoko/arm/bin/opkg-cl -f /usr/local/openmoko/arm/etc/opkg-sdk.conf -o /usr/local/openmoko/arm'
alias opkg-target='LD_LIBRARY_PATH=/usr/local/openmoko/arm/lib /usr/local/openmoko/arm/bin/opkg-cl -f /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/etc/opkg.conf -o /usr/local/openmoko/arm/arm-angstrom-linux-gnueabi'
which means by opkg-target we can add the packages we need into the
toolchain directory.
at the moment the content of
/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/etc/opkg.conf
is incorrectly pointed to local directories in build host. if we
replace it by the corresponding URIs such as
http://buildhost.openmoko.org/daily-feed/
http://buildhost.openmoko.org/daily-feed/all
http://buildhost.openmoko.org/daily-feed/armv4t
http://buildhost.openmoko.org/daily-feed/neo1973
http://buildhost.openmoko.org/daily-feed/om-gta01
then _theoretically_ we can just do
opkg-target update
opkg-target install libjana-dev
I haven't tried this approach before because OE suits me just fine.
however, for those who just want to make apps I think it's an right way
to start.
Regards,
John
More information about the openmoko-devel
mailing list