I have been running kicad on 16.04 before without problems. After upgrading to 18.04 it still worked for a while, then suddenly the simulation stopped working. I have no clue as to why it failed. What happens is that if I invoke the simulator from eeschema the simulation window does not show and eeschema hangs idle and unresponsive so I have to force close it.
I tried to reinstall kicad but got version 4 from Canonicals official ppa, I added js-reynaud/kicad-5/ubuntu bionic ppa
and after purging the old install reinstalled from there. It did not work. Thinking that it may depend on ngspice I installed it from the official ppa, it seems to be version 27. Now it worked.
I need the pspice behaviour and that was implemented in 28 as I understand it. So I tried to download the ngspice-30 tarball and compile and install it and fixed the symlinks as per instructions elsewhere here. Simulation stopped working again. Removed the downloaded version, still no good. Reinstalled 27, still no go. Reinstalled kicad and then 27, no go. Purged everything I could find including ~/.config/kicad. Reinstalled kicad-5, no go. Reinstalled ngspice-27 and now it works again. Purged all again, reinstalled kicad-5, then ngspice-30, no go. Purged and reinstalled ngspice-5 followed by ngspice-27 and it works.
I have absolutely no clue what is going on here. Kicad can’t simulate with its companion package ngspice-kicad. Only with 27 but not 30. Anyone have a hint? What should I try?
System is intel based 64 bit. Using xubuntu as desktop environment.
By the way, the tarball makefiles have errors in the uninstall target. “-rm” does not work, changed to “rm”.