problem with bluez-utils 3.4 and dbus

Li, Lea lea.li at intel.com
Wed Aug 30 02:16:51 PDT 2006


Sure, though it's ugly. Anyway, it does work. :P
Apply the following patch to configure file (D-Bus 0.92).

--- configure.old	2006-08-19 03:32:01.000000000 +0800
+++ configure	2006-08-30 17:04:06.545053840 +0800
@@ -23195,11 +23195,14 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   if test "$cross_compiling" = yes; then
-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
-See \`config.log' for more details." >&5
-echo "$as_me: error: cannot run test program while cross compiling
-See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
+  echo "$as_me:$LINENO: Skip checking for posix getpwnam_r... when cross compiling." >&5
+  echo $ECHO_N "Skip checking for posix getpwnam_r... when cross compiling. $ECHO_C" >&6
+  ac_cv_func_posix_getpwnam_r=no
+#  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+#See \`config.log' for more details." >&5
+#echo "$as_me: error: cannot run test program while cross compiling
+#See \`config.log' for more details." >&2;}
+#   { (exit 1); exit 1; }; }
 else
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
@@ -23939,11 +23942,14 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 if test "$cross_compiling" = yes; then
-  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
-See \`config.log' for more details." >&5
-echo "$as_me: error: cannot run test program while cross compiling
-See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
+  echo "$as_me:$LINENO: Skip checking for abstract socket namespace... when cross compiling." >&5
+  echo $ECHO_N "Skip checking for abstract socket namespace... when cross compiling. $ECHO_C" >&6
+  have_abstract_sockets=no
+#  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
+#See \`config.log' for more details." >&5
+#echo "$as_me: error: cannot run test program while cross compiling
+#See \`config.log' for more details." >&2;}
+#   { (exit 1); exit 1; }; }
 else
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */

 
Thanks,
Lea
 

-----Original Message-----
From: Marco Pracucci [mailto:development at pracucci.com] 
Sent: 2006年8月30日 18:12
To: Li, Lea
Subject: Re: problem with bluez-utils 3.4 and dbus

Hi Lea,

may you post you modified configuration script (maybe to the dbus ML) ?

Thanks,
Marco Pracucci

> To cross compile D-Bus, I have to manually modify the "./configure" file to skip testing of some functions, such as getpwnam_r. :(
>
>  
> Thanks,
> Lea
>   


More information about the dbus mailing list