-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fledge build errors with RaspiOS "Debian - Bookworm" #1214
Comments
Thank you for raising this. We intend to add support for Bookworm in the near future |
@MarkRiddoch: Meanwhile I got at least Fledge + Fledge GUI running on RaspiOS Bookworm. |
Sorry, I missed this before. Please feel free to email me [email protected]. |
Is there any update that fledge is now supporting for the debian 12 bookworm? |
Hi,
I am planning to create a Fledge IIoT Raspi CM4 Gateway Demo system for Offgrid Power Supplies.
My image is RaspiOS Lite (headless) Debian - Bookworm 64-bit.
I removed python-dev packge from requirements.sh script.
However I get build errors when executing requirements.sh and make:
`
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 8 nicht aktualisiert.
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
`
`
pi@rpibw-dfe0:~/fledge $ make
Building Fledge version 2.1.0, DB schema 59
scripts/certificates "fledge" "365"
Creating a self signed SSL certificate ...
Certificates created successfully, and placed in data/etc/certs
scripts/auth_certificates ca "ca" "365"
Creating ca SSL certificate ...
ca certificate created successfully, and placed in data/etc/certs
scripts/auth_certificates user user "365"
Creating user SSL certificate ...
user certificate created successfully for user, and placed in data/etc/certs
scripts/auth_certificates user admin "365"
Creating user SSL certificate ...
user certificate created successfully for admin, and placed in data/etc/certs
cd cmake_build ; cmake /home/pi/fledge/
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
System is not RHEL/CentOS 7
CMake Deprecation Warning at C/common/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy) (found
version "3.11.2")
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.25/Modules/FindPython/Support.cmake:3240 (find_package_handle_standard_args)
/usr/share/cmake-3.25/Modules/FindPython3.cmake:490 (include)
C/common/CMakeLists.txt:42 (find_package)
CMake Warning (dev) in /usr/share/cmake-3.25/Modules/FindPython/Support.cmake:
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
and POP. Run "cmake --help-policy CMP0011" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
The included script
affects policy settings. CMake is implying the NO_POLICY_SCOPE option for
compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPython3.cmake:490 (include)
C/common/CMakeLists.txt:42 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/pi/fledge/cmake_build/CMakeFiles/CMakeOutput.log".
make: *** [Makefile:262: /home/pi/fledge//cmake_build/Makefile] Fehler 1
`
The text was updated successfully, but these errors were encountered: