Fixes for build of libhid #342

Closed
wants to merge 4 commits into
from

Conversation

Projects
None yet
2 participants

I'm on Ubuntu 11.10, with a fresh clone OpenELEC.

I had the problem that is reported in this thread:
http://openelec.tv/forum/36-solved-bug-reports/14090-solved-build-error-on-fusion-libhid#14090
looks like the fix was never committed.

Also: there is a bug in automake that for me lead to an error during the "make install" step for libhid.
http://www.mail-archive.com/automake-patches@gnu.org/msg05868.html
I added the patch that fixes this bug.

Contributor

sraue commented Mar 20, 2012

Hi,

it seems libhid includes a old version from m4/swig_python.m4. instead using sed here please try:

  1. patching out (remove m4/swig_python.m4) or (maybe better):
  2. patching m4/swig_python.m4 so it looks like the ax_swig_python.m4 file from autotools-archive package or (maybe the best solution:
    3: remove m4/swig_python.m4 and include m4/ax_swig_python.m4 with the file from autotools-archive package

can you test this 3 solutions?

Did option 3. More work than expected, but it seems to work now.

Just to make clear what I did here: Added a patch to the "patches" folder that

  • Replaced 3 files in /m4 with the newer ax_* versions
  • Changed thes the call to SWIG_PYTHON with AX_SWIG_PYTHON
@ghost

ghost commented Mar 21, 2012

Care to squash commits for cleaner history?

See Pull Request 354, didn't figure out how to change this one.

@JonasRauch JonasRauch closed this Mar 22, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment