Created
December 10, 2017 09:04
-
-
Save kamild1996/6295d874c9b48f5f65b66fe4fecf16fc to your computer and use it in GitHub Desktop.
rivalcfg build error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kamil@KAMIL-PC-LINUX:~/rivalcfg$ pip install . | |
Processing /home/kamil/rivalcfg | |
Collecting hidapi>=0.7.99.post20 (from rivalcfg==2.6.0) | |
Downloading hidapi-0.7.99.post21.tar.gz (51kB) | |
100% |████████████████████████████████| 61kB 502kB/s | |
Collecting setuptools>=19.0 (from hidapi>=0.7.99.post20->rivalcfg==2.6.0) | |
Downloading setuptools-38.2.4-py2.py3-none-any.whl (489kB) | |
100% |████████████████████████████████| 491kB 985kB/s | |
Building wheels for collected packages: hidapi | |
Running setup.py bdist_wheel for hidapi ... error | |
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-n9YJq1/hidapi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp0Eo542pip-wheel- --python-tag cp27: | |
running bdist_wheel | |
running build | |
running build_ext | |
cythoning hid.pyx to hid.c | |
building 'hid' extension | |
creating build | |
creating build/temp.linux-x86_64-2.7 | |
creating build/temp.linux-x86_64-2.7/hidapi | |
creating build/temp.linux-x86_64-2.7/hidapi/libusb | |
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Ihidapi/hidapi -I/usr/include/libusb-1.0 -I/usr/include/python2.7 -c hid.c -o build/temp.linux-x86_64-2.7/hid.o | |
hid.c: In function ‘__pyx_pf_3hid_6device_open’: | |
hid.c:1815:45: warning: passing argument 1 of ‘PyUnicodeUCS4_AsWideChar’ from incompatible pointer type [-Wincompatible-pointer-types] | |
__pyx_v_result = PyUnicode_AsWideChar(__pyx_v_serial_number, __pyx_v_cserial_number, __pyx_v_serial_len); | |
^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/python2.7/Python.h:85:0, | |
from hid.c:4: | |
/usr/include/python2.7/unicodeobject.h:246:31: note: expected ‘PyUnicodeObject * {aka struct <anonymous> *}’ but argument is of type ‘PyObject * {aka struct _object *}’ | |
# define PyUnicode_AsWideChar PyUnicodeUCS4_AsWideChar | |
^ | |
/usr/include/python2.7/unicodeobject.h:591:24: note: in expansion of macro ‘PyUnicode_AsWideChar’ | |
PyAPI_FUNC(Py_ssize_t) PyUnicode_AsWideChar( | |
^~~~~~~~~~~~~~~~~~~~ | |
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Ihidapi/hidapi -I/usr/include/libusb-1.0 -I/usr/include/python2.7 -c hidapi/libusb/hid.c -o build/temp.linux-x86_64-2.7/hidapi/libusb/hid.o | |
hidapi/libusb/hid.c:47:10: fatal error: libusb.h: Nie ma takiego pliku ani katalogu | |
#include <libusb.h> | |
^~~~~~~~~~ | |
compilation terminated. | |
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 | |
---------------------------------------- | |
Failed building wheel for hidapi | |
Running setup.py clean for hidapi | |
Failed to build hidapi | |
Installing collected packages: setuptools, hidapi, rivalcfg | |
Running setup.py install for hidapi ... error | |
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-n9YJq1/hidapi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-9UrR34-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: | |
running install | |
running build | |
running build_ext | |
skipping 'hid.c' Cython extension (up-to-date) | |
building 'hid' extension | |
creating build | |
creating build/temp.linux-x86_64-2.7 | |
creating build/temp.linux-x86_64-2.7/hidapi | |
creating build/temp.linux-x86_64-2.7/hidapi/libusb | |
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Ihidapi/hidapi -I/usr/include/libusb-1.0 -I/usr/include/python2.7 -c hid.c -o build/temp.linux-x86_64-2.7/hid.o | |
hid.c: In function ‘__pyx_pf_3hid_6device_open’: | |
hid.c:1815:45: warning: passing argument 1 of ‘PyUnicodeUCS4_AsWideChar’ from incompatible pointer type [-Wincompatible-pointer-types] | |
__pyx_v_result = PyUnicode_AsWideChar(__pyx_v_serial_number, __pyx_v_cserial_number, __pyx_v_serial_len); | |
^~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/python2.7/Python.h:85:0, | |
from hid.c:4: | |
/usr/include/python2.7/unicodeobject.h:246:31: note: expected ‘PyUnicodeObject * {aka struct <anonymous> *}’ but argument is of type ‘PyObject * {aka struct _object *}’ | |
# define PyUnicode_AsWideChar PyUnicodeUCS4_AsWideChar | |
^ | |
/usr/include/python2.7/unicodeobject.h:591:24: note: in expansion of macro ‘PyUnicode_AsWideChar’ | |
PyAPI_FUNC(Py_ssize_t) PyUnicode_AsWideChar( | |
^~~~~~~~~~~~~~~~~~~~ | |
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Ihidapi/hidapi -I/usr/include/libusb-1.0 -I/usr/include/python2.7 -c hidapi/libusb/hid.c -o build/temp.linux-x86_64-2.7/hidapi/libusb/hid.o | |
hidapi/libusb/hid.c:47:10: fatal error: libusb.h: Nie ma takiego pliku ani katalogu | |
#include <libusb.h> | |
^~~~~~~~~~ | |
compilation terminated. | |
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 | |
---------------------------------------- | |
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-n9YJq1/hidapi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-9UrR34-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-n9YJq1/hidapi/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment