Can you try adding -DPYTHON_CONFIG_SUFFIX="-python2.7.x86_64-linux-gnu" to your cmake flags?
Can you try adding -DPYTHON_CONFIG_SUFFIX="-python2.7.x86_64-linux-gnu" to your cmake flags?
Code: Select all
-DPYTHON_CONFIG_SUFFIX="-python2.7.x86_64-linux-gnu"
Code: Select all
CMake Error at src/Gui/CMakeLists.txt:110 (find_package):
By not providing "FindQt5X11Extras.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5X11Extras", but CMake did not find one.
Could not find a package configuration file provided by "Qt5X11Extras" with
any of the following names:
Qt5X11ExtrasConfig.cmake
qt5x11extras-config.cmake
Add the installation prefix of "Qt5X11Extras" to CMAKE_PREFIX_PATH or set
"Qt5X11Extras_DIR" to a directory containing one of the above files. If
"Qt5X11Extras" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
Code: Select all
$ dpkg -l | grep qt5x11extras
ii libqt5x11extras5:amd64 5.11.2-2 amd64 Qt 5 X11 extras
$
Code: Select all
$ apt-file search Qt5X11ExtrasConfig.cmake
libqt5x11extras5-dev: /usr/lib/x86_64-linux-gnu/cmake/Qt5X11Extras/Qt5X11ExtrasConfig.cmake
The release of Buster is coming up so switching to it in advance is not such a bad idea.
The pivy from your repo are just Python files. What do I need to do with them?kkremitzki wrote: ↑Mon Nov 19, 2018 8:02 pmRight now all you need to build Qt5 + Py3 on Debian Buster is a python3-pivy package. You can refer to my package for that here: https://salsa.debian.org/kkremitzki-guest/pivy
It's the debian folder that contains the magic, if you're in the top-level folder you should be able to run:bernd wrote: ↑Thu Nov 22, 2018 9:36 amFreeCAD Qt5 runs on Buster. Next step is Python 3.
The pivy from your repo are just Python files. What do I need to do with them?kkremitzki wrote: ↑Mon Nov 19, 2018 8:02 pmRight now all you need to build Qt5 + Py3 on Debian Buster is a python3-pivy package. You can refer to my package for that here: https://salsa.debian.org/kkremitzki-guest/pivy
How do I tell cmake that it trys to compile against Python3 and it finds my brand new pivy?
Bernd
Code: Select all
git archive upstream | gzip > ../pivy_0.6.4.orig.tar.gz
dpkg-buildpackage -us -uc