安装libjingle时,由于缺少xmlparse.c
,安装停止这是安装的错误部分...... 我在thirdparty / 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#
答案 0 :(得分: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
目录中的所有文件都具有相同的权限,我只是不想在这里列出所有文件。
答案 1 :(得分:0)
当安装expat-2.1.0时,安装正在搜索expat-2.0.1,猜测README没有完全更新.....编译继续将目录重命名为expat-2.0.1。