![无法在 Manjaro 中安装 vala-panel-appmenu-xfce-git 和 vala-panel-appmenu-common-git](https://linux22.com/image/201240/%E6%97%A0%E6%B3%95%E5%9C%A8%20Manjaro%20%E4%B8%AD%E5%AE%89%E8%A3%85%20vala-panel-appmenu-xfce-git%20%E5%92%8C%20vala-panel-appmenu-common-git.png)
我想在 Manjaro 中安装 vala-panel-appmenu-xfce-git 和 vala-panel-appmenu-common-git 。所以我首先
pamac build vala-panel-appmenu-xfce-git
在终端中使用:这是我得到的输出:
Preparing...
Cloning vala-panel-appmenu-xfce-git build files...
Generating vala-panel-appmenu-xfce-git information...
Checking vala-panel-appmenu-xfce-git dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (2):
vala-panel-appmenu-common-git 0.7.6.r13.gb5e9b0a-1 AUR
vala-panel-appmenu-xfce-git 0.7.6.r13.gb5e9b0a-1 AUR
Edit build files : [e]
Apply transaction ? [e/y/N] y
Building vala-panel-appmenu-xfce-git...
==> Making package: vala-panel-appmenu-xfce-git 0.7.6.r13.gb5e9b0a-1 (Thursday 20 January 2022 07:23:39 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating vala-panel-appmenu git repo...
Fetching origin
==> Validating source files with sha256sums...
vala-panel-appmenu ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of vala-panel-appmenu git repo...
Cloning into 'vala-panel-appmenu'...
done.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
The Meson build system
Version: 0.60.3
Source dir: /var/tmp/pamac-build-anujtambe/vala-panel-appmenu-xfce-git/src/vala-panel-appmenu
Build dir: /var/tmp/pamac-build-anujtambe/vala-panel-appmenu-xfce-git/src/build
Build type: native build
Project name: vala-panel-appmenu
Project version: 0.7.6
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Vala compiler for the host machine: valac (valac 0.54.5)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gio-unix-2.0 found: YES 2.70.2
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.6
Run-time dependency gtk+-3.0 found: YES 3.24.31
Run-time dependency libbamf3 found: YES 0.5.5
Run-time dependency libwnck-3.0 found: YES 40.0
Run-time dependency vala-panel found: YES 0.4.92
Run-time dependency libmatepanelapplet-4.0 found: YES 1.26.1
Run-time dependency libxfce4panel-2.0 found: YES 4.16.3
Run-time dependency libxfconf-0 found: YES 4.16.0
Found CMake: /usr/bin/cmake (3.22.1)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency budgie-1.0 found: NO (tried pkgconfig and cmake)
vala-panel-appmenu/meson.build:81:0: ERROR: Dependency "budgie-1.0" not found, tried pkgconfig and cmake
A full log can be found at /var/tmp/pamac-build-anujtambe/vala-panel-appmenu-xfce-git/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
Aborting...
然后我运行: pamac build vala-panel-appmenu-common-git 这就是我得到的:
Preparing...
Checking vala-panel-appmenu-common-git dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
vala-panel-appmenu-common-git 0.7.4-1 AUR
Edit build files : [e]
Apply transaction ? [e/y/N] y
Building vala-panel-appmenu-xfce-git...
==> Making package: vala-panel-appmenu-xfce-git 0.7.6.r13.gb5e9b0a-1 (Thursday 20 January 2022 07:25:16 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating vala-panel-appmenu git repo...
Fetching origin
==> Validating source files with sha256sums...
vala-panel-appmenu ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of vala-panel-appmenu git repo...
Cloning into 'vala-panel-appmenu'...
done.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
The Meson build system
Version: 0.60.3
Source dir: /var/tmp/pamac-build-anujtambe/vala-panel-appmenu-xfce-git/src/vala-panel-appmenu
Build dir: /var/tmp/pamac-build-anujtambe/vala-panel-appmenu-xfce-git/src/build
Build type: native build
Project name: vala-panel-appmenu
Project version: 0.7.6
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Vala compiler for the host machine: valac (valac 0.54.5)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gio-unix-2.0 found: YES 2.70.2
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.6
Run-time dependency gtk+-3.0 found: YES 3.24.31
Run-time dependency libbamf3 found: YES 0.5.5
Run-time dependency libwnck-3.0 found: YES 40.0
Run-time dependency vala-panel found: YES 0.4.92
Run-time dependency libmatepanelapplet-4.0 found: YES 1.26.1
Run-time dependency libxfce4panel-2.0 found: YES 4.16.3
Run-time dependency libxfconf-0 found: YES 4.16.0
Found CMake: /usr/bin/cmake (3.22.1)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency budgie-1.0 found: NO (tried pkgconfig and cmake)
vala-panel-appmenu/meson.build:81:0: ERROR: Dependency "budgie-1.0" not found, tried pkgconfig and cmake
A full log can be found at /var/tmp/pamac-build-anujtambe/vala-panel-appmenu-xfce-git/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
Aborting...
当我像在 pacman 中一样同时写下两个包的名称时:
pamac build vala-panel-appmenu-common-git vala-panel-appmenu-xfce-git
它只是告诉我这一点:
Preparing...
Checking vala-panel-appmenu-common-git dependencies...
Error: Failed to prepare transaction: target not found: vala-panel-appmenu-xfce-git
Edit build files : [e]
Apply transaction ? [e/y/N] ^C
它没有找到 vala-panel-appmenu-xfce-git。
请帮忙
答案1
我在香草拱门中遇到了同样的问题。安装gobject-introspection
包(官方仓库中提供)就解决了这个问题。