Hello,
Pour les besoins d'un script custom que je suis en train de développer, j'ai besoin de pychromecast. Celui-ci dépend de wheel, et l'installation plante avec pip :
Building wheels for collected packages: netifaces
Running setup.py bdist_wheel for netifaces
Complete output from command /usr/local/python3/bin/python3.4 -c "import setuptools;__file__='/tmp/pip-build-bbhh_7hb/netifaces/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmphmb0amq0pip-wheel-:
running bdist_wheel
running build
running build_ext
checking for getifaddrs...not found.
checking for getnameinfo...not found.
checking for socket IOCTLs...not found.
checking for optional header files...none found.
checking whether struct sockaddr has a length field...no.
checking which sockaddr_xxx structs are defined...none!
checking for routing socket support...no.
checking for sysctl(CTL_NET...) support...no.
checking for netlink support...no.
building 'netifaces' extension
/spksrc/toolchains/syno-x64-5.1/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gcc -Wno-unused-result -Werror=declaration-after-statement -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/spksrc/spk/python3/work-x64-5.1/install//usr/local/python3/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DNETIFACES_VERSION=0.10.4 -I/usr/local/python3/include/python3.4m -c netifaces.c -o build/temp.linux-x86_64-3.4/netifaces.o
error: command '/spksrc/toolchains/syno-x64-5.1/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for netifaces
Failed to build netifaces
Installing collected packages: enum-compat, netifaces, zeroconf, requests, protobuf, pychromecast
Running setup.py install for netifaces
Complete output from command /usr/local/python3/bin/python3.4 -c "import setuptools, tokenize;__file__='/tmp/pip-build-bbhh_7hb/netifaces/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hyu54efu-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_ext
checking for getifaddrs...not found. (cached)
checking for getnameinfo...not found. (cached)
checking for socket IOCTLs...not found. (cached)
checking for optional header files...none found. (cached)
checking whether struct sockaddr has a length field...no. (cached)
checking which sockaddr_xxx structs are defined...none! (cached)
checking for routing socket support...no. (cached)
checking for sysctl(CTL_NET...) support...no. (cached)
checking for netlink support...no. (cached)
building 'netifaces' extension
/spksrc/toolchains/syno-x64-5.1/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gcc -Wno-unused-result -Werror=declaration-after-statement -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/spksrc/spk/python3/work-x64-5.1/install//usr/local/python3/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DNETIFACES_VERSION=0.10.4 -I/usr/local/python3/include/python3.4m -c netifaces.c -o build/temp.linux-x86_64-3.4/netifaces.o
error: command '/spksrc/toolchains/syno-x64-5.1/work/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/local/python3/bin/python3.4 -c "import setuptools, tokenize;__file__='/tmp/pip-build-bbhh_7hb/netifaces/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hyu54efu-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-bbhh_7hb/netifaces
root@NAS ~
J'ai tout retourné, mais en vain :(
Vous auriez une idée ?