Article 5F25H kicad vrs ngspice

kicad vrs ngspice

by
selfprogrammed
from LinuxQuestions.org on (#5F25H)
Question: Are there supposed to be some ngspice include files, and could you please
tell me what they are, so I have some idea of what I am trying to fix.

Prep for trying to compile kicad.

I got ngspice-34, compiled from slackbuilds, and installed.

Installing the package, I got some ngspice libraries:

/usr/lib/libngspice.so -->
/usr/lib/libngspice.so.0 -->
/usr/lib/libngspice.so.0.0.0
-- size 7792820
-- the version of 0.0.0 is a bit unusual
-- file says it is ELF ...

/usr/lib/ngspice/ containing some *.cm files

I have started ngspice and looked at its help, so ngspice does run.

------
I am trying to compile kicad 5.1.5, using slackbuild.
It complains that ngspice is not there.

Kicad build cannot find ngspice.
Kicad messages complains that most ngspice packages do not install the libraries.
From one of the messages, it seems What kicad checks is an include file,
but I have not dove into debugging that yet.

------
The ngspice package has installed (among the docs and libs) one include file :

/usr/include/config.h
-- which is a configure output file.
Not very useful for users.

config.h
/* src/include/ngspice/config.h Generated from config.h by configure. */
Content is #defines, and #undefs, some commented out ... it is configure output.

This include file is useless. I think that the build got the wrong include directory.

------

There are too many variations of problems, and the dependency hell, to investigate this by hit and miss trying guesses.

Slackbuild bug reporting leaves alot to be desired. I am supposed to search their entire email to see
if this has been reported before. There is no search function on that page, and the web search engines have not found anything, .. which has alot of assumptions there too.latest?d=yIl2AUoC8zA latest?i=PIpLgJIsgpg:jdIjfSpcJQs:F7zBnMy latest?i=PIpLgJIsgpg:jdIjfSpcJQs:V_sGLiP latest?d=qj6IDK7rITs latest?i=PIpLgJIsgpg:jdIjfSpcJQs:gIN9vFwPIpLgJIsgpg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments