[LinuxCNC/linuxcnc Issue#325] missing runtime dependency check in src/configure

未分类 bolang 4个月前 (10-15) 21次浏览

Issue #325 | 状态: 已关闭 | 作者: SebKuzminsky | 创建时间: 2017-09-08


Fresh install of Xubuntu 17.04 “Zesty”, checked out the master branch, ran “debian/configure uspace”, satisfied dpkg-checkbuilddeps. Built linuxcnc and ran it, selected the sim/axis/axis config, and got this error:

~~~
Traceback (most recent call last):
File “/home/seb/linuxcnc-dev/bin/axis”, line 3784, in
getcoordinatefont(vars.drolargefont.get())
File “/home/seb/linuxcnc-dev/bin/axis”, line 3680, in getcoordinatefont
glnav.usepangofont(coordinate_font, 0, 128)
File “/home/seb/linuxcnc-dev/lib/python/glnav.py”, line 6, in usepangofont
import pango, cairo, pangocairo
ImportError: No module named pango
Shutting down and cleaning up LinuxCNC…
~~~

Looks like a missing runtime dependency check in src/configure. Fix should go in 2.7.


评论 (4)

#1 – SebKuzminsky 于 2017-09-08

Installing python-gtk2 fixed it.


#2 – jepler 于 2017-09-08

It’s probably not a bug in the debian packaging ,but maybe a bug in how we think about setting up new systems to run LinuxCNC-built-from-source.


#3 – jepler 于 2017-09-08

(that is, it’s totally not a bug for a source package to NOT depend on something that’s not used until runtime)


#4 – SebKuzminsky 于 2017-09-08

I agree.

Just like how src/configure without --disable-check-runtime-deps reminds the user to install bwidget, libtk-img, and tclx, since they are needed to make use of a run-in-place build, so it should remind the user to install python-gtk2 (or Axis won’t run).


原始Issue: https://github.com/LinuxCNC/linuxcnc/issues/325

喜欢 (0)