Closed marcus7070 closed 4 years ago
On a fresh Debian Buster pkg-config is not installed by default and the CAMotics scons build fails with:
Checking for C++ header file cbang/Exception.h... yes Traceback (most recent call last): File "/home/marcus/cbang/config/python/python-config.py", line 7, in <module> from distutils import sysconfig ImportError: cannot import name 'sysconfig' from 'distutils' (/usr/lib/python3.7/distutils/__init__.py) /bin/sh: 1: pkg-config: not found OSError: 'pkg-config Qt5Core Qt5Gui Qt5OpenGL Qt5Network Qt5Widgets Qt5WebSockets --libs --cflags' exited 127: File "/home/marcus/CAMotics/SConstruct", line 96: env.EnableQtModules(qtmods.split()) File "/usr/lib/scons/SCons/Environment.py", line 224: return self.method(*nargs, **kwargs) File "/home/marcus/CAMotics/config/qt5/__init__.py", line 965: self.ParseConfig('pkg-config %s --libs --cflags' % ' '.join(pcmodules)) File "/usr/lib/scons/SCons/Environment.py", line 1557: return function(self, self.backtick(command)) File "/usr/lib/scons/SCons/Environment.py", line 594: raise OSError("'%s' exited %d" % (command, status))
Adding pkgconf to the deps allows building.
pkgconf
On a fresh Debian Buster pkg-config is not installed by default and the CAMotics scons build fails with:
Adding
pkgconf
to the deps allows building.