[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49161: kicad-5.1.6 fails to build
From: |
Vinicius Monego |
Subject: |
bug#49161: kicad-5.1.6 fails to build |
Date: |
Tue, 22 Jun 2021 13:29:21 +0000 |
Em ter, 2021-06-22 às 12:01 +0000, Guillaume Le Vaillant escreveu:
> Vinicius Monego <monego@posteo.net> 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
0001-gnu-libngspice-Fix-KiCad-compilation.patch
Description: Text Data
0002-gnu-libngspice-Delete-autogenerated-config.h.patch
Description: Text Data