kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #32791
Re: Debian ngspice package.
Carsten,
I think you can also do this using environment variable NGSPICE_ROOT_DIR,
which the findngspice.cmake also looks in.
Thanks,
Dan W
On Tuesday, 2 January 2018 20:42:11 GMT Carsten Schoenert wrote:
> Hi Wayne,
>
> Am 02.01.2018 um 16:50 schrieb Wayne Stambaugh:
> > Thank you for the update. I did not realize all of this was going on in
> > order to get a new ngspice package into Debian. I appreciate your
> > efforts. I will try to build this package, install it on my system, and
> > build and test kicad against it overt the weekend if I have time.
>
> nope.
>
> I've also done a little bit of testing. The cmake snippet to find the
> library needs also to look in /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE} on
> Debian systems once a package libngspice0{-dev} is alive and installed.
> Currently it searches only in /usr/lib.
> Also some more messages could be added like done for other libraries.
>
> > ...
> > -- Check for installed GLEW -- found
> > -- Checking for module 'cairo'
> > -- Found cairo, version 1.15.8
> > ...
>
> If no libngspice is found the confirgure run should exit and give up,
> further compiling is useless.
>
> Debian is trying to build packages for multiarch since 2011 and thus
> needs to have installed the platform related libraries within
> /usr/lib/$multiarchitecture e.g. /usr/lib/x86_64-linux-gnu an an amd64
> platform.
>
> https://wiki.debian.org/Multiarch
>
> My skills on cmake are to poor to provide something useful here, so now
> I just setup some symlinks from /u/l to /u/l/x86_64-linux-gnu on my
> system and can build (and start) KiCad again.
References