<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">Steve -</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Apr 6, 2015 at 9:05 AM, Steve Grubb <span dir="ltr"><<a href="mailto:sgrubb@redhat.com" target="_blank">sgrubb@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Monday, April 06, 2015 08:45:54 AM Martin Preisler wrote:<br>
> > git, checked out 1.2.2, ran autogen.sh, configure and make which gave me:<br>
> It would really help if you told us which distribution you are using.<br>
> Most likely you are just missing the python2 headers.<br></span></blockquote><div><br></div><div>As I run Arch Linux on my desktop (I know, a non-standard distribution, but it's lean and wicked-fast), I don't have a (e.g.) `python-dev` package I can install, but I do have Python headers in /usr/local/src/python2.7/ and /usr/local/src/python3.4/ - there's a Python.h file in each location.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">That sounds very likely. But configure should detect and warn about it being<br>
missing rather than swig erroring out. See below for some sample code that<br>
works with Python 2 & 3.<br></blockquote><div><br></div><div><snip></div><div><br></div><div>I'd be willing to test such code in my environment if you could give me a few pointers - like exactly where to place your snippet and then re-run ./configure?</div><div><br></div></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Fen Labalme, CivicActions.com</div><div>Engineering | Quality | Systems</div><div><br></div></div></div>
</div></div>