Ubuntuで pantheon elementary greeter をビルドしようとしていますが、accountsservice
が見つからないため、ビルド段階で失敗し続けます。 しかし、accountsserviceは明確にインストールされています。ページに記載されているビルド手順に従います。
OS情報:
Linux newbie-VirtualBox 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Mesonビルドコマンドライン:
meson build --prefix=/usr
中間子出力:
newbie@newbie-VirtualBox:~/greeter$ meson build --prefix=/usr
The Meson build system
Version: 0.45.1
Source dir: /home/newbie/greeter
Build dir: /home/newbie/greeter/build
Build type: native build
Project name: io.elementary.greeter
Native C compiler: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0")
Native Vala compiler: valac (valac 0.40.17)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Native dependency glib-2.0 found: YES 2.56.4
src/meson.build:1:0: ERROR: Native dependency 'accountsservice' not found
A full log can be found at /home/newbie/greeter/build/meson-logs/meson-log.txt
/home/newbie/greeter/build/meson-logs/meson-log.txt
の出力
Code:
class MesonSanityCheck : Object { }
Compiler stdout:
Compilation succeeded - 1 warning(s)
Compiler stderr:
warning: --output and -o have no effect when -C or --ccode is set
Native Vala compiler: valac (valac 0.40.17)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
Native dependency glib-2.0 found: YES 2.56.4
Determining dependency 'accountsservice' with pkg-config executable '/usr/bin/pkg-config'
src/meson.build:1:0: ERROR: Native dependency 'accountsservice' not found
最も奇妙なのは、accountsservice
がすでに最新バージョンにインストールされていることです。
newbie@newbie-VirtualBox:~/greeter$ Sudo apt install accountsservice
Reading package lists... Done
Building dependency tree
Reading state information... Done
accountsservice is already the newest version (0.6.45-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
また、locate accountsservice
/usr/lib/accountsservice
/usr/lib/accountsservice/accounts-daemon
/usr/lib/x86_64-linux-gnu/libaccountsservice.so.0
/usr/lib/x86_64-linux-gnu/libaccountsservice.so.0.0.0
/usr/share/doc/accountsservice
/usr/share/doc/gir1.2-accountsservice-1.0
/usr/share/doc/libaccountsservice0
/usr/share/doc/accountsservice/README
/usr/share/doc/accountsservice/TODO
/usr/share/doc/accountsservice/changelog.Debian.gz
/usr/share/doc/accountsservice/copyright
/usr/share/doc/gir1.2-accountsservice-1.0/changelog.Debian.gz
/usr/share/doc/gir1.2-accountsservice-1.0/copyright
/usr/share/doc/libaccountsservice0/changelog.Debian.gz
/usr/share/doc/libaccountsservice0/copyright
/var/lib/dpkg/info/accountsservice.conffiles
/var/lib/dpkg/info/accountsservice.list
/var/lib/dpkg/info/accountsservice.md5sums
/var/lib/dpkg/info/accountsservice.postinst
/var/lib/dpkg/info/accountsservice.postrm
/var/lib/dpkg/info/accountsservice.prerm
/var/lib/dpkg/info/gir1.2-accountsservice-1.0.list
/var/lib/dpkg/info/gir1.2-accountsservice-1.0.md5sums
/var/lib/dpkg/info/libaccountsservice0:AMD64.list
/var/lib/dpkg/info/libaccountsservice0:AMD64.md5sums
/var/lib/dpkg/info/libaccountsservice0:AMD64.shlibs
/var/lib/dpkg/info/libaccountsservice0:AMD64.symbols
/var/lib/dpkg/info/libaccountsservice0:AMD64.triggers
何が起こっているのですか?明らかに存在するのにmeson
が見つからないaccountsservice
はなぜですか?
あなたのリンクから:
次の依存関係が必要です。
...
libaccountsservice-dev
...
したがって、Sudo apt install accountsservice
はSudo apt install libaccountsservice-dev
である必要があります。