Dbus 配置问题
来源:互联网 发布:java两种时间格式转换 编辑:程序博客网 时间:2024/06/04 21:05
Dbus 配置问题
楼层直达ketiy2004
UID:84302
- 注册时间2009-09-04
- 最后登录2012-04-01
- 在线时间25小时
- 发帖19
- 搜Ta的帖子
- 精华0
- 金钱210
- 威望31
- 贡献值0
- 交易币0
- 好评度21
- 访问TA的空间加好友用道具
级别: 新手上路
- 关注Ta
- 发消息
只看楼主更多操作 楼主 发表于: 2010-06-09
官网说,dbus 依赖库,dependency is an XML parser (either libxml or expat) 其中之一,
我交叉编译了libxml2 ,存放的路径 /usr/local/arm/arm-2007q3/arm-none-linux-gnueabi/libxml2
我写了个 dbus-configure.sh 如下:
#!/bin/sh
echo ac_cv_have_abstract_sockets=yes>>arm-none-linux-gnueabi.cache
./configure \
--prefix=/home/tommy/omap/src/Dbus-build/ \
--host=arm-none-linux-gnueabi \
--target=arm-none-linux-gnueabi \
CC="/usr/local/arm/arm-2007q3/bin/arm-none-linux-gnueabi-gcc \
-I/usr/local/arm/arm-2007q3/arm-none-linux-gnueabi/libxml2/include/libxml2/libxml \
-L/usr/local/arm/arm-2007q3/arm-none-linux-gnueabi/libxml2/lib" \
--with-x=no \
--cache-file=arm-none-linux-gnueabi.cache \
av_cv_have_abstract_sockets=yes
echo "Dbus-configure end"
配置出错,提示为checking for XML_ParserCreate_MM in -lexpat... no
configure: error: Could not find expat.h, check config.log for failed attempts
我这样的话,应该有把libxml2 包含进来了吧!为什么还会出错啊?
高手帮忙解决下!谢谢
我交叉编译了libxml2 ,存放的路径 /usr/local/arm/arm-2007q3/arm-none-linux-gnueabi/libxml2
我写了个 dbus-configure.sh 如下:
#!/bin/sh
echo ac_cv_have_abstract_sockets=yes>>arm-none-linux-gnueabi.cache
./configure \
--prefix=/home/tommy/omap/src/Dbus-build/ \
--host=arm-none-linux-gnueabi \
--target=arm-none-linux-gnueabi \
CC="/usr/local/arm/arm-2007q3/bin/arm-none-linux-gnueabi-gcc \
-I/usr/local/arm/arm-2007q3/arm-none-linux-gnueabi/libxml2/include/libxml2/libxml \
-L/usr/local/arm/arm-2007q3/arm-none-linux-gnueabi/libxml2/lib" \
--with-x=no \
--cache-file=arm-none-linux-gnueabi.cache \
av_cv_have_abstract_sockets=yes
echo "Dbus-configure end"
配置出错,提示为checking for XML_ParserCreate_MM in -lexpat... no
configure: error: Could not find expat.h, check config.log for failed attempts
我这样的话,应该有把libxml2 包含进来了吧!为什么还会出错啊?
高手帮忙解决下!谢谢
本帖最近评分记录: 共 条评分
隐藏
回复 引用
举报
ketiy2004
UID:84302
- 注册时间2009-09-04
- 最后登录2012-04-01
- 在线时间25小时
- 发帖19
- 搜Ta的帖子
- 精华0
- 金钱210
- 威望31
- 贡献值0
- 交易币0
- 好评度21
- 访问TA的空间加好友用道具
级别: 新手上路
- 关注Ta
- 发消息
只看该作者1楼 发表于: 2010-06-09
#!/bin/sh
echo ac_cv_have_abstract_sockets=yes>>arm-none-linux-gnueabi.cache
./configure \
--prefix=/home/tommy/omap/src/Dbus-build/ \
--host=arm-none-linux-gnueabi \
--target=arm-none-linux-gnueabi \
CC="/usr/local/arm/arm-2007q3/bin/arm-none-linux-gnueabi-gcc \
-I/usr/local/arm/arm-2007q3/arm-none-linux-gnueabi/libxml2/include \
-L/usr/local/arm/arm-2007q3/arm-none-linux-gnueabi/libxml2/lib" \
--with-x=no \
--with-xml=libxml \
--cache-file=arm-none-linux-gnueabi.cache \
av_cv_have_bstract_sockets=yes
echo "Dbus-configure end"
这样配置,提示出错
checking for XML_ParserCreate_MM in -lexpat... no
checking for pkg-config... /usr/bin/pkg-config
checking for libxml-2.0 >= 2.6.0... configure: error: Explicitly requested libxml but libxml not found
这样应该比较明确是,libxml 的库找不到了吧!
请教下,要怎么包进来之前交叉编译好的libxml2 的库和头文件! 谢谢!!
echo ac_cv_have_abstract_sockets=yes>>arm-none-linux-gnueabi.cache
./configure \
--prefix=/home/tommy/omap/src/Dbus-build/ \
--host=arm-none-linux-gnueabi \
--target=arm-none-linux-gnueabi \
CC="/usr/local/arm/arm-2007q3/bin/arm-none-linux-gnueabi-gcc \
-I/usr/local/arm/arm-2007q3/arm-none-linux-gnueabi/libxml2/include \
-L/usr/local/arm/arm-2007q3/arm-none-linux-gnueabi/libxml2/lib" \
--with-x=no \
--with-xml=libxml \
--cache-file=arm-none-linux-gnueabi.cache \
av_cv_have_bstract_sockets=yes
echo "Dbus-configure end"
这样配置,提示出错
checking for XML_ParserCreate_MM in -lexpat... no
checking for pkg-config... /usr/bin/pkg-config
checking for libxml-2.0 >= 2.6.0... configure: error: Explicitly requested libxml but libxml not found
这样应该比较明确是,libxml 的库找不到了吧!
请教下,要怎么包进来之前交叉编译好的libxml2 的库和头文件! 谢谢!!
本帖最近评分记录: 共 条评分
隐藏
回复 引用
举报
- Dbus 配置问题
- DBUS问题
- dbus启动问题
- dbus启动问题
- dbus启动问题
- DBus相关问题
- 关于python-dbus的问题
- dbus
- DBUS
- dbus
- DBUS
- dbus
- DBUS
- DBUS
- dbus
- DBUS 的 C 编程接口与配置
- 编译dbus 时出现的问题
- DBus 实现IPC的 配置 及流程 及 代码实现
- linux 用于下载的命令行工具
- Uboot命令
- Dojo1.7动画特效详解
- for(;;) 和 while (1)
- Android快速搭建模拟器环境另类方法(绕过了官网SDK Manager下载)
- Dbus 配置问题
- 详解BIO与NIO的区别
- 计算机计算的时间精度
- 东软面试总结
- volatile
- js+jquery注册信息的基本验证
- Git 201: 就高了那么一点点
- volatile
- CommonCrypto/CommonCrypor.h