troubleshooting further errors, noting success and fail

master
Steven Wright 2022-12-03 11:52:41 +01:00
rodzic 0b51b9b630
commit a6a70e1bf7
1 zmienionych plików z 33 dodań i 4 usunięć

@ -3,10 +3,39 @@ Version: https://github.com/dgtlmoon/changedetection.io/tree/0.39.22.1
Using iSH on iPad (iPadOS 16.1) to install via PIP.
Build fails with a number of missing dependencies:
1) Please make sure the libxml2 and libxslt development packages are installed
2) Building wheel for cryptography (pyproject.toml) ... error
1) Please make sure the libxml2 and libxslt development packages are installed ✅
2) Building wheel for cryptography (pyproject.toml) ... error ✅
— error: can't find Rust compiler ( This package requires Rust >=1.41.0.)
1: apk add libxslt-dev libxml2-dev
2: export CRYPTOGRAPHY_DONT_BUILD_RUST=1
3) Additional error re cryptography - id not run successfully.❌
│ exit code: 1
╰─> [160 lines of output]
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
build/temp.linux-i686-cpython-310/_openssl.c:575:10: fatal error: openssl/opensslv.h: No such file or directory
575 | #include <openssl/opensslv.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Debug assistance suggested:
• Ensure you have a recent Rust toolchain installed: https://cryptography.io/en/latest/installation.html#rust
• If you are experiencing issues with Rust for *this release only* you may set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
** Measures to resolve **
1: apk add libxslt-dev libxml2-dev ✅
2: export CRYPTOGRAPHY_DONT_BUILD_RUST=1 ✅
3: a) apk get python3-dev (unsure if this resolves the issue) ❌
b) apk add rust ❌ (Big fail - causes crash in iSH)