1

安装 libjingle 时,由于缺少 xmlparse.c,安装停止

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

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# 
4

2 回答 2

1

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

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

# ../../swtoolkit/hammer.sh expat

结果如下:

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.

可以像目录权限一样简单吗?

这是我所拥有的:

# 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目录中的所有文件都具有相同的权限,我只是不想在这里列出它们。

于 2012-05-30T09:06:00.817 回答
0

安装 expat-2.1.0 时安装正在搜索 expat-2.0.1,猜测 README 未完全更新.....编译继续将目录重命名为 expat-2.0.1。

于 2012-05-30T14:20:33.587 回答