試著在 arch linux 中安裝 vmplayer

試著在 arch linux 中安裝 vmplayer

我在這裡使用了這篇文章:

虛擬機器 |建築維基百科

嘗試在 Arch Linux 上安裝 VMPlayer。它似乎安裝正確,但是當我運行它時,它給我錯誤。它將這些訊息發送到控制台:

Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/libgtk-3.so.0: undefined symbol: g_action_group_action_added

(vmware-modconfig:6271): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita/gtk-2.0/main.rc:728: error: unexpected identifier `direction', expected character `}'

(vmware-modconfig:6271): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

然後會彈出一個框,上面寫著

"Before you can run VMware, several modules must be complied and loaded into the running kernel".

我單擊“安裝”,然後彈出另一個框並顯示:

"Build environment error! A required application is missing and Modconfig can not continue. xzCheck the log for more details."

答案1

就我而言,我遇到了錯誤

vmware modconfig 無法繼續 xzcheck debian

檢查 /var/logs/message 我發現問題在於 libcanberra 軟體包未安裝。解決了這個問題:sudo apt-get install libcanberra*

答案2

Build environment error! A required application is missing and Modconfig can not continue. xzCheck the log for more details.也曾經遇到這個問題。對我來說sudo vmware-modconfig --console --install-all有效。但請不要問我它對系統做了什麼。

答案3

只需使用這個簡單的命令

sudo apt-get build-essential

它將自動修復所有丟失的包。
如果未執行此命令,它會自動詢問缺少軟體包,您必須安裝該軟體包然後執行該命令

答案4

該指令是 archlinux 特定的:

sudo pacman -S build-essential

相關內容