打 spice 的 deb 格式安裝包的時遇到的問題和解決方法
1,dpkg-shlibdeps: 錯誤: no dependency information found for /usr/local/lib/libcelt051.so.0 (used by debian/spice/usr/lib/x86_64-linux-gnu/libspice-server.so.12.0.0)
dh_shlibdeps: dpkg-shlibdeps -Tdebian/spice.substvars debian/spice/usr/lib/x86_64-linux-gnu/libspice-server.so.12.0.0 returned exit code 2
make: * [binary-arch] 錯誤 2
dpkg-buildpackage: 錯誤: fakeroot debian/rules binary-arch 提供錯誤退出狀態 2
Solution:
將/usr/bin/dpkg-shlibdeps中
my
2, configure: error: Cannot find the “vapigen” binary in your PATH
Solution:
apt-get install valac-0.22
3, checking for Text::CSV Perl module… not found
configure: error: Text::CSV Perl module is required to compile this package
Solution:
apt-get install libtext-csv-perl
4, * Error: missing valac!
* You must run autogen.sh or configure –enable-vala
Solution:
apt-get install valac 然後
將 configure.ac 中的 enable_vala = ‘no’ 修改為 yes. 然後指向 ./autogen.sh