<br><br><div class="gmail_quote">On Wed, May 28, 2008 at 9:34 PM, John Lee <<a href="mailto:john_lee@openmoko.com">john_lee@openmoko.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sun, May 25, 2008 at 04:19:37PM -0700, Pranav Desai wrote:<br>
><br>
> I am still having trouble building openmoko-dialer2 with the toolchain. I<br>
> can build openmoko-sample2 just fine.<br>
><br>
> The toolchain seems to be missing libpulse. Initially, om-conf<br>
> openmok-dialer2 gave both libebook and libpulse as missing. I found that<br>
> libebook is present in the toolchain, but was missing the .pc file. After<br>
> adding that it went ahead and only complained about libpulse.<br>
><br>
> So I started building pulseaudio-0.9.10 with the toolchain. After resolving<br>
> some dependencies like liboil and libsndfile, I was able to build libpulse.<br>
> But now I stuck at libjana.<br>
><br>
> checking pkg-config is at least version <a href="http://0.9.0." target="_blank">0.9.0.</a>.. yes<br>
> checking for DIALER... yes<br>
> checking for JANA... configure: error: Package requirements (libjana<br>
> libjana-ecal libjana-gtk) were not met:<br>
><br>
> No package 'libjana' found<br>
> No package 'libjana-ecal' found<br>
> No package 'libjana-gtk' found<br>
><br>
> Any ideas, suggestions or can anyone provide with the required libraries ?<br>
><br>
> Thanks<br>
><br>
> -- Pranav<br>
<br>
</div>libjana isn't packaged in toolchain by default. the default<br>
compopents are:<br>
<br>
libmokogsmd2, mokoui2, mokopanelui2, mokojournal2 and dependencies.<br>
<br>
we cannot package everything or it's going to be a huge toolchain.<br>
however, there are 2 interesting aliases in environment-setup:<br>
</blockquote><div><br>I understand, and you don't have to include all the libraries, but atleast the prerequisite for building a standard openmoko app should be included.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
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'<br>
<br>
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'<br>
<br>
which means by opkg-target we can add the packages we need into the<br>
toolchain directory.<br>
<br>
at the moment the content of<br>
<br>
/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/etc/opkg.conf<br>
<br>
is incorrectly pointed to local directories in build host. if we<br>
replace it by the corresponding URIs such as<br>
<br>
<a href="http://buildhost.openmoko.org/daily-feed/" target="_blank">http://buildhost.openmoko.org/daily-feed/</a><br>
<a href="http://buildhost.openmoko.org/daily-feed/all" target="_blank">http://buildhost.openmoko.org/daily-feed/all</a><br>
<a href="http://buildhost.openmoko.org/daily-feed/armv4t" target="_blank">http://buildhost.openmoko.org/daily-feed/armv4t</a><br>
<a href="http://buildhost.openmoko.org/daily-feed/neo1973" target="_blank">http://buildhost.openmoko.org/daily-feed/neo1973</a><br>
<a href="http://buildhost.openmoko.org/daily-feed/om-gta01" target="_blank">http://buildhost.openmoko.org/daily-feed/om-gta01</a><br>
<br>
then _theoretically_ we can just do<br>
<br>
opkg-target update<br>
opkg-target install libjana-dev<br>
<br>
I haven't tried this approach before because OE suits me just fine.<br>
however, for those who just want to make apps I think it's an right way<br>
to start.<br>
<br>
<br>
Regards,<br>
<font color="#888888">John<br>
</font></blockquote></div><br>