1. 程式人生 > >virt-viewer-5.0編譯出現At one least of spice or vnc must be used

virt-viewer-5.0編譯出現At one least of spice or vnc must be used

條件:先編譯spice-gtk-0.33原始碼. 系統:Fedora25 架構:x64

1 ./configure ;make; make install

2.進入virt-viewer-5.0目錄執行./configure時,出現了了如題的錯誤。

第一種原因是 配置spice時,未指定安裝路徑,回到第一步重新配置編譯

./configure --prefix=/usr

第二種原因是我在mips64架構上編譯的,指定了安裝路徑還是不行,經過一番折騰發現,第一步指定路徑後,本該放入/usr/lib64/pkconfig下的.ac連結依賴檔案放在了/usr/lib/pkconfig下了。手動把這些生成的.ac檔案拷貝到/usr/lib64/pkconfig目錄下,就解決了。

 

使用mingw64-configure 的話,6.0版本的需要加上 --with-spice-gtk