<br><br><div class="gmail_quote">On Wed, May 28, 2008 at 9:34 PM, John Lee &lt;<a href="mailto:john_lee@openmoko.com">john_lee@openmoko.com</a>&gt; 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>
&gt;<br>
&gt; I am still having trouble building openmoko-dialer2 with the toolchain. I<br>
&gt; can build openmoko-sample2 just fine.<br>
&gt;<br>
&gt; The toolchain seems to be missing libpulse. Initially, om-conf<br>
&gt; openmok-dialer2 gave both libebook and libpulse as missing. I found that<br>
&gt; libebook is present in the toolchain, but was missing the .pc file. After<br>
&gt; adding that it went ahead and only complained about libpulse.<br>
&gt;<br>
&gt; So I started building pulseaudio-0.9.10 with the toolchain. After resolving<br>
&gt; some dependencies like liboil and libsndfile, I was able to build libpulse.<br>
&gt; But now I stuck at libjana.<br>
&gt;<br>
&gt; checking pkg-config is at least version <a href="http://0.9.0." target="_blank">0.9.0.</a>.. yes<br>
&gt; checking for DIALER... yes<br>
&gt; checking for JANA... configure: error: Package requirements (libjana<br>
&gt; libjana-ecal libjana-gtk) were not met:<br>
&gt;<br>
&gt; No package &#39;libjana&#39; found<br>
&gt; No package &#39;libjana-ecal&#39; found<br>
&gt; No package &#39;libjana-gtk&#39; found<br>
&gt;<br>
&gt; Any ideas, suggestions or can anyone provide with the required libraries ?<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; -- Pranav<br>
<br>
</div>libjana isn&#39;t packaged in toolchain by default. &nbsp;the default<br>
compopents are:<br>
<br>
libmokogsmd2, mokoui2, mokopanelui2, mokojournal2 and dependencies.<br>
<br>
we cannot package everything or it&#39;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&#39;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=&#39;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&#39;<br>
<br>
alias opkg-target=&#39;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&#39;<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. &nbsp;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&#39;t tried this approach before because OE suits me just fine.<br>
however, for those who just want to make apps I think it&#39;s an right way<br>
to start.<br>
<br>
<br>
Regards,<br>
<font color="#888888">John<br>
</font></blockquote></div><br>