Not able to compile KiCad on Centos 7

Hi All,

I’m trying to compile, kicad for centos 7.9, getting too many dependencies error. Is their direct package for Centos 7.9 to install.

Also I’m posting my error while compiling the kicad. kindly some one help to fix the problem.


– KiCad install dir: </usr/local>
– Check for installed GLEW – found
– Boost version: 1.58.0
– checking for module ‘ngspice’
– package ‘ngspice’ not found
– ngspice configuration file /usr/local/include/ngspice/config.h found.
– Check for installed Python Interpreter – found
– Python module install path: lib/python2.7/site-packages
CMake Error at CMakeModules/FindwxPython.cmake:62 (message):
Unknown wxPython/Phoenix version string: (gtk2-unicode)
Call Stack (most recent call first):
CMakeLists.txt:716 (find_package)

Centos 7 uses a fairly old gcc compiler (version 4.xx).

For compiling ngspice, you will need to add -std=c99 to the CFLAGS in the ngspice ./configure statement. However I do not have a compilation setup for KiCad, so I do not know where there is the proper place to set it.

There is some hint that the original gcc (4.5) will not do with recent ngspice, see

the error message implies you have enabled wxpython_phoenix, which is for python3