cyberk
(KLC)
1
I’m getting the following error when building python-openzwave, is this a deal breaker?
creating build/lib.linux-armv7l-3.4
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/src-lib/libopenzwave/libopenzwave.o openzwave/libopenzwave.a -ludev -lstdc++ -o build/lib.linux-armv7l-3.4/libopenzwave.cpython-34m.so
arm-linux-gnueabihf-g++: error: openzwave/libopenzwave.a: No such file or directory
error: command ‘arm-linux-gnueabihf-g++’ failed with exit status 1
Makefile:268: recipe for target ‘build’ failed
make: *** [build] Error 1
I am following the venv instructions, this is being installed on raspbian
cyberk
(KLC)
2
make install error below
src-lib/libopenzwave/libopenzwave.cpp:399:36: note: in definition of macro ‘__Pyx_PyBool_FromLong’
#define __Pyx_PyBool_FromLong(b) ((b) ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False))
^
arm-linux-gnueabihf-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.4/src-lib/libopenzwave/libopenzwave.o openzwave/libopenzwave.a -ludev -lstdc++ -o build/lib.linux-armv7l-3.4/libopenzwave.cpython-34m.so
arm-linux-gnueabihf-g++: error: openzwave/libopenzwave.a: No such file or directory
error: command ‘arm-linux-gnueabihf-g++’ failed with exit status 1
Makefile:220: recipe for target ‘install-lib’ failed
make: *** [install-lib] Error 1
cyberk
(KLC)
3
looks like the Make file is not correctly locating python3 in the venv. I’ve opened up an issue with python-openzwave
https://github.com/OpenZWave/python-openzwave/issues/65
in the meantime, i just went ahead and hard-coded the correct location in the Make file.
cyberk
(KLC)
4