Em ter, 2021-06-22 às 12:01 +0000, Guillaume Le Vaillant escreveu: > Vinicius Monego skribis: > > > > In particular the /gnu/store/...-libngspice-34/include/config.h > > > seems suspicious. > > > > Good catch. Indeed, that file should be removed. > > > > Kicad takes a long time to build on my machine. I am attaching a > > diff > > that removes config.h and should fix the compilation if anyone can > > confirm. > > I tried applying your diff and with it kicad compiles fine and works. > Could you send a formatted patch? Done. I am sending the two changes in different patches because I read in [1] that KiCad uses config.h to extract version information about ngspice. If simulations are working without config.h, then both patches can be pushed. The history_file problem in the KiCad compilation is related to readline only. [1] https://bugs.archlinux.org/task/70569