2012-05-29 23 views
1

在安裝設的Libjingle,安裝暫停,因爲缺少xmlparse.c編譯設的Libjingle,外籍錯誤

這是安裝錯誤部分的... 我確實有在第三方xmlparse.c/expat- 2.0.1/lib/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. 
[email protected]:~/tejesh/libjingle-0.6.14/talk# 
+0

狂猜:你缺少xmlparse.c –

+0

哈哈..:pi在'/third_party/expat-2.0.1/lib/xmlparse.c'中的同一個目錄中有xmlparse .c – wolfgang

+0

仍然得到這個錯誤.. 。:/ – wolfgang

回答

1

我實際上下載了libjingle,一旦我意識到它正在處理p2p,因爲我在類似的領域工作,想檢查出來。

我下載了外籍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目錄中的文件具有相同的權限,我只是沒有想在這裏一一列舉。

+0

哦,謝謝無論如何:)問題是與一個unupdated自述文件 – wolfgang

0

安裝外籍-2.1.0時,安裝在尋找外籍-2.0.1,猜README沒有完全更新.....編譯繼續重命名爲外籍-2.0.1的目錄。

+1

你應該可能接受這一個,那麼如果它最好的回答你的問題:) – Brady