Installation problem

Bug #1038731 reported by krishnasangeeth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-uinput
Invalid
Undecided
a

Bug Description

when i try python setup.py install --prefix=/usr/local

i get the following error

copying src/ev.py -> build/lib.linux-x86_64-2.7/uinput
running build_ext
building '_libsuinput' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c libsuinput/src/suinput.c -o build/temp.linux-x86_64-2.7/libsuinput/src/suinput.o
libsuinput/src/suinput.c:27:21: fatal error: libudev.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1

Revision history for this message
a (tuomasjjrasanen) wrote :

Hi and thanks for your interest towards python-uinput.

The problem you described is due to unmet dependency on libudev development files (libudev.h namely). This dependency is documented in README of source distribution package. In many systems, a package called libudev-dev provides all necessary files.

However, if you are using Debian or Ubuntu, I suggest you to install python-uinput from the package archive I'm hosting at Launchpad. See http://tjjr.fi/sw/python-uinput/ for installation instructions in this case. But if you want to build python-uinput from the source, you must first install libudev-dev.

a (tuomasjjrasanen)
Changed in python-uinput:
status: New → Incomplete
assignee: nobody → Tuomas Jorma Juhani Räsänen (tuomasjjrasanen)
a (tuomasjjrasanen)
Changed in python-uinput:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.