我正在尝试安装 Marlin 文件浏览器。我已经安装了许多必需的软件包,但我不知道如何处理这个 varka 错误。这是 cmake(上一步)和 make(产生错误的步骤)的输出。
[zzz@localhost build]$ cmake ..
-- checking for a minimum Vala version of 0.16.0
-- found Vala, version 0.16.1
-- checking for module 'unity>=4.0.0'
-- package 'unity>=4.0.0' not found
-- checking for a minimum Vala version of 0.11.3
-- found Vala, version 0.16.1
-- checking for a minimum Vala version of 0.16.0
-- found Vala, version 0.16.1
-- checking for a minimum Vala version of 0.16.0
-- found Vala, version 0.16.1
-- checking for a minimum Vala version of 0.12.0
-- found Vala, version 0.16.1
-- checking for a minimum Vala version of 0.16.0
-- found Vala, version 0.16.1
-- GSettings schemas will be installed locally.
-- GSettings shemas will be compiled.
-- GSettings schemas will be installed into /usr/local/share/glib-2.0/schemas/
-- GSettings schemas will be installed into /usr/local/share/glib-2.0/schemas/
-- Configuring done
-- Generating done
-- Build files have been written to: /home/eric/Downloads/marlin/build
[zzz@localhost build]$ make
[ 1%] Generating LocationBar.c, BreadcrumbsElements.c, BreadcrumbsEntry.c, marlinwidgets.vapi, marlinwidgets.h, marlinwidgets_internal.h
error: Package `varka' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [libwidgets/LocationBar.c] Error 1
make[1]: *** [libwidgets/CMakeFiles/marlinwidgets.dir/all] Error 2
make: *** [all] Error 2
答案1
如果您不介意从源代码编译,您可以从 Launchpad 获取 Varka。 (如果您安装了 Bazaar,获取源代码的最简单方法是输入bzr branch lp:varka
。)
要安装(假设您有所需的软件包),请导航到源目录,该目录应命名为varka
.
然后做
mkdir build
cd build
cmake ..
make
sudo make install
如果您没有所需的依赖项,它将出错,并告诉您需要哪些依赖项。