我刚刚安装了 ubuntu 16,想安装 xournall++。运行时出现一些错误
autoreconf && ./configure && make
:
checking for PACKAGE... no
configure: error: Package requirements (gtk+-2.0 >= 2.18.3 libglade-2.0 >= 2.6.4 glib-2.0 >= 2.32.0 gthread-2.0 >= 2.4.0 librsvg-2.0 >= 2.14.0 zlib fontconfig lcms) were not met:
No package 'libglade-2.0' found
No package 'librsvg-2.0' found
No package 'lcms' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
该怎么办?
答案1
错误消息清楚地表明了您缺少什么:
configure: error: Package requirements (gtk+-2.0 >= 2.18.3 libglade-2.0 >= 2.6.4 glib-2.0 >= 2.32.0 gthread-2.0 >= 2.4.0 librsvg-2.0 >= 2.14.0 zlib fontconfig lcms) were not met:
No package 'libglade-2.0' found
No package 'librsvg-2.0' found
No package 'lcms' found
您需要安装缺少的软件包才能继续该过程。
附注:您应该记住以下信息官方 Xournal++ 页面:
目前,Xournal 是一款非常稳定的软件但 Xournal++ 不是。如果你追求稳定,你可能对原始的 Xournal 项目更感兴趣
更远:
目前,从源代码编译 Xournal++ 是一件棘手的事情。因此,您应该首先访问 wiki,以查看是否有适合您系统的已知工作指南:Xournal++ 维基。
最后,维基链接至官方预构建包。