checking if the compiler supports precompiled headers... yes checking for wx-config... /usr/local/bin/wx-config checking for wxWidgets version >= 2.8.12... yes (version 3.0.5) checking for wxWidgets static library... no checking for wxWidgets platform... wxGTK checking for GLIB2... yes checking for HUNSPELL... no configure: error: Package requirements (hunspell) were not met:
No package 'hunspell' 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 HUNSPELL_CFLAGS and HUNSPELL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
下载 wxWidgets-3.0.5
./configure --with-gtk --enable-monolithic --enable-unicode
make -j6
sudo make install
下载codeblocks_20.03_amd64_stable
./configure --with-contrib-plugins=all --with-wx-config=/usr/local/bin/wx-config
就出现问题:
checking if the compiler supports precompiled headers... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.8.12... yes (version 3.0.5)
checking for wxWidgets static library... no
checking for wxWidgets platform... wxGTK
checking for GLIB2... yes
checking for HUNSPELL... no
configure: error: Package requirements (hunspell) were not met:
No package 'hunspell' 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 HUNSPELL_CFLAGS
and HUNSPELL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
通过sudo apt-get install hunspell
死活安装不上,默认安装的是hunspell_1.7.0-2
安装hunspell-dev没有.
最后通过安装如下debian包解决
https://packages.debian.org/buster/libhunspell-dev
checking for GDK... yes
checking for GAMIN... no
configure: error: Package requirements (gamin) were not met:
No package 'gamin' found
gamin也是一样没有gamin-dev
通过下面地址解决:
https://packages.debian.org/buster/libgamin-dev