[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stuck on KiCad dependency wxPython

From: Leo Famulari
Subject: Stuck on KiCad dependency wxPython
Date: Wed, 6 Jul 2016 20:22:28 -0400
User-agent: Mutt/1.6.0 (2016-04-01)

On Mon, May 23, 2016 at 12:13:19AM -0400, Leo Famulari wrote:
> On Mon, Feb 15, 2016 at 08:40:46AM +0100, Danny Milosavljevic wrote:
> > this patch adds kicad, an electronics design automation tool, to 
> > "engineering.scm".
> Cool, I would really like to offer KiCad in Guix. This fell through the
> cracks but I'd like to resurrect it!

KiCad recommends we build with support for scripting with wxPython [0],
so I'm packaging that, but I'm stuck.

It's a complicated package. It ./configures with Autotools, but builds
and installs with Python setuptools. I've attached my rough WIP patch.

Parts of the package definition are cribbed from Debian [1], Nix [2],
and Arch [3].

It fails to find the wx headers, as below. I've tried adding them to
C_INCLUDE_PATH or setting -I/gnu/store/...-wxwidgets... in #:make-flags.

Any advice?

gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes -fPIC -DSWIG_TYPE_TABLE=_wxPython_table 
-UNDEBUG -Iinclude -Isrc 
-c src/helpers.cpp -o build/temp.linux-x86_64-2.7/src/helpers.o -O3 -pthread
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC 
but not for C++
In file included from src/helpers.cpp:17:0:
include/wx/wxPython/wxPython_int.h:35:19: fatal error: wx/wx.h: No such file or 
 #include <wx/wx.h>
compilation terminated.
error: command 'gcc' failed with exit status 1
phase `build' failed after 0.7 seconds
builder for 
failed with exit code 1





Attachment: 0001-Non-working-WIP-wxPython.-Asking-for-help.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]