Building on Debian 10 (Buster)

Thank you all, now I have Kicad running again. I really appreciate the work of all contributors.
I installed all depending packages, then downgraded libglm-dev again and marked it to hold with:

$ sudo apt-mark hold libglm-dev

Then build process finished with success. Actually it failed on virtual machine due to some gl errors, but succeeded on real hardware.

Hi guys, according to your posts i have built kicad 5.1 on debian buster today. i installed below packages and then downgraded the GLM.

Install prerequisites

sudo apt install build-essential cmake libgl1-mesa-dev libglew-dev libglm-dev libcurl4-openssl-dev
libcairo2-dev libboost-dev liboce-foundation-dev liboce-ocaf-dev swig python3-dev python3-wxgtk4.0 libwxgtk3.0-gtk3-dev
libssl-dev libboost-test-dev libboost-filesystem1.67-dev

Downgrade GLM

wget http://ftp.us.debian.org/debian/pool/main/g/glm/libglm-dev_0.9.8.3-3_all.deb
sudo apt-mark hold libglm-dev
sudo dpkg -i libglm-dev_0.9.8.3-3_all.deb

Install kicad

mkdir -p build/release
cd build/release
cmake -DCMAKE_BUILD_TYPE=Release
-DKICAD_SPICE=ON
-DKICAD_SCRIPTING=ON
-DKICAD_SCRIPTING_MODULES=ON
-DKICAD_SCRIPTING_ACTION_MENU=ON
-DwxWidgets_CONFIG_OPTIONS="–toolkit=gtk3"
-DKICAD_SCRIPTING_PYTHON3=ON
-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
-DPYTHON_SITE_PACKAGE_PATH=/usr/local/lib/python3.7/dist-packages
…/…/
make -j3
sudo make install
sudo ldconfig

3 Likes

See https://lists.launchpad.net/kicad-developers/msg41543.html. It’s not there yet, but downgrading GLM shouldn’t be necessary in the near future.

1 Like

How should I execute python script with this setup (Buster + Kicad master compiled as written above)?
I tried, as earlier:

execfile(“test.py”)
Traceback (most recent call last):
File “”, line 1, in
NameError: name ‘execfile’ is not defined

Like this, exec(open(“test.py”).read())
https://stackoverflow.com/questions/6357361/alternative-to-execfile-in-python-3

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.