[Feedback on issues] grass-core与grass-gui包依赖的问题 Resolved
Tofloor
poster avatar
MeGusta
deepin
2025-09-18 12:39
Author

近一段时间有点忙,就没有更新QGIS,今天尝试打包新版的QGIS,惊喜地发现,软件源里面已经有grass组件了,这在之前是需要手动编译的。

但是尝试安装了一下,发现依赖错误:

python3-numpy-abi9

python3-matplotlib

看来源里面的依赖关系还是有点问题。

还是需要手动编译grass,但是好在目前编译所需的依赖都有了,不必像之前一样,编译一大堆依赖组件了。

image.png

重新编译一下就好了:

1.编辑/etc/apt/sources.list,去除源代码链接前面的#

cat /etc/apt/sources.list
## Generated by deepin-installer
deb https://community-packages.deepin.com/beige/ crimson main commercial community
deb-src https://community-packages.deepin.com/beige/ crimson main commercial community

2.拉取源代码,并编译

mkdir grass-src
cd  grass-src
apt source grass
cd grass-8.4.1
sudo apt install devscripts -y
sudo apt build-dep . -y
debuild -us -uc

image.png

Reply Favorite View the author
All Replies
MeGusta
deepin
2025-09-19 08:51
#1

社区响应非常快,已经在github看到重新构建的PR了:

https://github.com/deepin-community/grass/pull/2

image.png

Reply View the author