Thanks guys, I got through that error by adding --enable-abstract-sockets option to my configure.<br><br>I got the error,<br>checking for XML_ParserCreate_MM in -lexpat... no<br>configure: error: Could not find expat.h, check config.log for failed attempts<br>
<br>I cross compiled expat2.0.1 for ARM, but some how I am not able to compile dbus with expat and get through this error.<br><br>this is how I compile dbus now..<br><br>./configure --prefix=/programs/arm-dbus --host=i686-linux -target=arm-linux-gnu --enable-abstract-sockets --includedir=/programs/arm-expat/include --libdir=/programs/arm-expat/lib<br>
<br>tried doing...<br>env CPPFLAGS=-I/programs/arm-expat/include LIBS=-lexpat LDFLAGS=-s<br>before configure.<br><br>but still the same error.<br><br>At this link... <br><a href="http://lists.freedesktop.org/archives/dbus/2006-December/006778.html">http://lists.freedesktop.org/archives/dbus/2006-December/006778.html</a><br>
John Palmieri says -devel package. Whats does he mean?<br><br><br><br><div class="gmail_quote">On Mon, Oct 5, 2009 at 6:37 AM, Schmottlach, Glenn <span dir="ltr">&lt;<a href="mailto:glenn.schmottlach@harman.com">glenn.schmottlach@harman.com</a>&gt;</span> 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 link="blue" vlink="purple" lang="EN-US">

<div>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">You might try explicitly defining:</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">ac_cv_have_abstract_sockets=yes</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">in the environment prior to running “configure”.
This *<b><span style="font-weight: bold;">should</span></b>* tell “configure”
to assume that abstract sockets exists so that it won’t bother trying to
build/run the test program.  So your command line might look like this:</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">ac_cv_have_abstract_sockets=yes ./configure --prefix=/programs/arm-dbus
--host=i686-linux -target=arm-linux-gnu ARCH=ARM
CROSS_COMPILE=/programs/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-</span></font><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"></span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<div style="text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:dbus-bounces@lists.freedesktop.org" target="_blank">dbus-bounces@lists.freedesktop.org</a> [mailto:<a href="mailto:dbus-bounces@lists.freedesktop.org" target="_blank">dbus-bounces@lists.freedesktop.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>pan son<br>

<b><span style="font-weight: bold;">Sent:</span></b> Friday, October 02, 2009
7:07 PM<div class="im"><br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:dbus@lists.freedesktop.org" target="_blank">dbus@lists.freedesktop.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Cross compiling dbus for
ARM</div></span></font></p>

</div>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Hi I am trying to cross compile dbus 1.2.8 for ARM and this is how I
run configure...<div><div></div><div class="h5"><br>
<br>
./configure --prefix=/programs/arm-dbus --host=i686-linux -target=arm-linux-gnu
ARCH=ARM CROSS_COMPILE=/programs/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-<br>
<br>
My compilation stops at...<br>
&quot;checking abstract socket namespace... configure: error: in `/programs/src/dbus-1.2.8&#39;:<br>
configure: error: cannot run test program while cross compiling<br>
See `config.log&#39; for more details.&quot;<br>
<br>
How do I disable test program check while cross compiling?<br>
<br>
Many thanks,<br>
Vink</div></div></span></font></p>

</div>

</div>


</blockquote></div><br>