libpinyin / ibus-libpinyin

GNU General Public License v3.0
621 stars 88 forks source link

编译最新版的时候出现了问题 #433

Open ghost opened 9 months ago

ghost commented 9 months ago

Requested 'libpinyin >= 2.7.91' but version of libpinyin is 2.6.1 configure: error: Package requirements ( libpinyin >= 2.7.91 ) were not met:

Requested 'libpinyin >= 2.7.91' but version of libpinyin is 2.6.1

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBPINYIN_CFLAGS and LIBPINYIN_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

我已经按编译安装了最新版的libpinyin。可能是我哪里操作不太对

ghost commented 9 months ago

这个已经解决了,在前面一个哥们提供的安装方法里,但是能不能直接提供apt或者snap的安装更新模式呢,编译实在太容易出错,而且浪费时间

epico commented 9 months ago

请询问所使用的发行版更新 libpinyin 软件包。

ghost commented 9 months ago

请询问所使用的发行版更新 libpinyin 软件包。

已经搞定了,是前面一个提问里一个老哥回答的,和教程里的办法有点出入的。我只是觉得提供deb安装包或者apt或者snap这种更方便点,编译的话太浪费时间了,毕竟那么多软件。至少提供ubuntu版本的

xiaodong2077 commented 7 months ago

related link is here: https://github.com/libpinyin/ibus-libpinyin/issues/411#issuecomment-1454926943

lixiaolong2007 commented 5 months ago

其实很简单因为ubuntu为了稳定提供的libpinyin版本比较低wiki里面有Build & Install libpinyin

lixiaolong2007 commented 5 months ago

如果你之前用apt安装libpinyin-common-dev记得删了