Python branch:
$ ./authogen.sh
$ ./configure
Summary of selected options:
----------------------------------------
prefix: /usr/local
lockdir: /var/lock
sysconfdir: ${prefix}/etc
x_progs: irxevent xmode2
host: x86_64-pc-linux-gnu
host_os: linux-gnu
forkpty: -lutil
LIBUSB_LIBS: -lusb-1.0
PORTAUDIO_LIBS:
Conditionals:
BUILD_ALSA_SB_RC: yes BUILD_DSP: yes
BUILD_FTDI: yes BUILD_HIDDEV: yes
BUILD_I2CUSER: yes BUILD_LIBALSA: yes
BUILD_LIBPORTAUDIO: no BUILD_USB: no
BUILD_XTOOLS: yes HAVE_DOXYGEN: no
HAVE_MAN2HTML: yes HAVE_PYMOD_YAML: yes
ENABLE_UINPUT: yes INSTALL_ETC: yes
DEVEL: yes DARWIN: no
LINUX_KERNEL: yes HAVE_DEVINPUT: yes
$ make
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -g -O2 -MT python-pkg/lirc/python_pkg_lirc__client_la-_client.lo -MD -MP -MF python-pkg/lirc/.deps/python_pkg_lirc__client_la-_client.Tpo -c -o python-pkg/lirc/python_pkg_lirc__client_la-_client.lo `test -f 'python-pkg/lirc/_client.c' || echo './'`python-pkg/lirc/_client.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/python3.5m -I/usr/include/x86_64-linux-gnu/python3.5m -g -O2 -MT python-pkg/lirc/python_pkg_lirc__client_la-_client.lo -MD -MP -MF python-pkg/lirc/.deps/python_pkg_lirc__client_la-_client.Tpo -c python-pkg/lirc/_client.c -fPIC -DPIC -o python-pkg/lirc/.libs/python_pkg_lirc__client_la-_client.o
python-pkg/lirc/_client.c:2:25: fatal error: lirc_client.h: No such file or directory
What i missed?
OK... I think understand what's going on... my bad. Stay tuned.
Could you please try this patch?
As you mentioned before, No reason to apologize! lol
Last edit: pylover 2017-01-19
Make:
Last edit: pylover 2017-01-19
Yup, already reproduced. This is not that trivial, though... Hang on
OK, got it building without a lirc-devek installed. Please try attached patch
Ah, thanks
That's it, thanks.
It was built successfully, but :
Last edit: pylover 2017-01-19
Seems actually OK. One prerequisite to install that package is to first install lirc. And when you have done that, there is no point installing the pypi package - the lirc package install into something like /usr/lib/python3.5/site-packages/lirc. It really depends on ./configure paraneters.
The pypi package is just a reference thing, primarely for a virtualenv. Is that what you are doing?
Yes actually i'm making it to use in venv, so the
lirc-git/python-pkg/dist/lirc-0.9.5.tar.gzis exists.That's ok, thanks a lot,
Another unrelevant question. How could i write codes? which repo?
Successfully built lirc
Installing collected packages: lirc
Successfully installed lirc-0.9.5
Closing this bug without references since it's a feature branch