If test -f libpython3.8.so & test "no-framework" = "no-framework" then \ (cd /usr/local/bin ln python3.8 python3.8) \ If test -f /usr/local/bin/python3.8 -o -h /usr/local/bin/python3.8 \ usr/bin/install -c -s Mac/pythonw /usr/local/bin/python3.8 \ usr/bin/install -c python /usr/local/bin/python3.8 \ When I do “sudo make altinstall” despite the errors I get: if test "no-framework" = "no-framework" then \ Make: Leaving directory '/home/pi/Python-3.8.6' I get: *** WARNING: renaming "_struct" since importing it failed: /usr/lib/arm-linux-gnueabihf/libjemalloc.so.2: cannot allocate memory in static TLS block Make -j$(cat /proc/cpuinfo|egrep -c "^processor") LDFLAGS="-Wl,-strip-all" CFLAGS="-fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -ljemalloc" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" configure -enable-optimizations -enable-shared -with-lto -with-system-expat -with-system-ffi -without-ensurepip Sudo apt install build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libudev-dev libc-dev libffi-dev libbluetooth-dev libtirpc-dev libjemalloc-dev And did this on mij HA Core and on a newley prepared SD with Rapsberry OS Lite ( build)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |