在安装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# 发布于 2012-05-30 17:06:01
当我意识到libjingle正在处理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-30 22:20:34
当安装expat-2.1.0时,安装程序正在搜索expat-2.0.1,猜测自述文件未完全updated.....The编译将目录重命名为expat-2.0.1。
https://stackoverflow.com/questions/10805152
复制相似问题