首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >编译libjingle,expat错误

编译libjingle,expat错误
EN

Stack Overflow用户
提问于 2012-05-30 03:07:27
回答 2查看 392关注 0票数 1

在安装libjingle时,安装会因为缺少xmlparse.c而停止

这是安装的错误部分...我在第三方/expat-2.0.1/lib/ xmlparse.c中有xmlparse.c,你知道出了什么问题吗?

代码语言:javascript
复制
File "./../../swtoolkit/site_scons/site_init.py", line 203, in BuildEnvironmentSConscripts
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [build/dbg/obj/third_party/expat-2.0.1/lib/xmlparse.o] Source`third_party/expat-2.0.1/lib/xmlparse.c' not found, needed by target `build/dbg/obj/third_party/expat-2.0.1/lib/xmlparse.o'.
scons: building terminated because of errors.
root@den-pc:~/tejesh/libjingle-0.6.14/talk# 
EN

回答 2

Stack Overflow用户

发布于 2012-05-30 17:06:01

当我意识到libjingle正在处理p2p时,我下载了libjingle,因为我在类似的领域工作,并想看看它。

我下载了expat lib,并将其复制到第三方目录,然后编译它,没有出现类似这样的问题:

代码语言:javascript
复制
# ../../swtoolkit/hammer.sh expat

结果如下:

代码语言:javascript
复制
scons: Reading SConscript files ...
scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "<myPath>/swtoolkit/site_scons/site_init.py", line 203, in BuildEnvironmentSConscripts
scons: done reading SConscript files.
scons: Building targets ...
________Compiling build/dbg/obj/third_party/expat-2.0.1/lib/xmlparse.o
________Compiling build/dbg/obj/third_party/expat-2.0.1/lib/xmlrole.o
________Compiling build/dbg/obj/third_party/expat-2.0.1/lib/xmltok.o
________Creating library build/dbg/obj/libexpat.a
________Indexing build/dbg/obj/libexpat.a
Install file: "build/dbg/obj/libexpat.a" as "build/dbg/lib/libexpat.a"
scons: done building targets.

它能像目录权限一样简单吗?

这就是我所拥有的:

代码语言:javascript
复制
# ls -al third_party/
...
drwxr-xr-x 12 notroot notroot   4096 2012-05-30 02:14 expat-2.0.1
...

# ls -al third_party/expat-2.0.1/
...
drwxr-xr-x 2 notroot notroot   4096 2012-05-30 02:09 lib
...

# ls -al third_party/expat-2.0.1/lib
...
-rwxr-xr-x 1 notroot notroot 193934 2012-05-30 02:09 xmlparse.c
...

实际上third_party/expat-2.0.1/lib目录中的所有文件都有相同的权限,我只是不想在这里列出它们。

票数 1
EN

Stack Overflow用户

发布于 2012-05-30 22:20:34

当安装expat-2.1.0时,安装程序正在搜索expat-2.0.1,猜测自述文件未完全updated.....The编译将目录重命名为expat-2.0.1。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10805152

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档