Request for guidance on manual 10.9 build - RPi 4
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- build-system, embedded-iot, web-dev
Hướng nghiên cứu
Start with README.debian and the reported 0.10.9 configure/debuild commands; check which dependencies are available on Debian 11 arm64 and how HTTP support is selected. Done means documenting a reproducible install or build path and confirming olad plus the web UI at http://localhost:9090 on the Raspberry Pi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I could really use some direction, I thought I was on the right track but now I'm not sure.
Here's what I'm trying to do,
I'm trying to use olad to confirm that my most basic setup is working before I dive any deeper with DMX. My setup is a raspberry pi 4 running raspberry pi os 64-lite, attached via uart/gpio to a dmx plug, that is in turn attached to a dmx cable and a dmx capable strobe light. I just want to be able to turn the light on/off to prove the hardware works before anything more advanced.
Here's where I'm at,
Initially I installed the ola package from the debian package repository. For raspberry pi os, that's still bullseye debian based, so it picked up ola 0.10.8. I got the web ui working but in the logs I saw the message:
... Failed to set baud rate to 250k
So I found the bugs / support tickets around that:
https://github.com/OpenLightingProject/ola/issues/1749
https://github.com/OpenLightingProject/ola/pull/1760
https://github.com/OpenLightingProject/ola/issues/1884
In particular I saw this message:
https://github.com/OpenLightingProject/ola/issues/1884#issuecomment-1646271477
So I tried to give building ola a shot.
Building 10.9 Attempt
- I reimaged the raspberrypi to start from scratch. (raspberrypi os 64-bit lite, kernel 6.1, debian 11/bullseye from May 3rd)
- I grabbed the 10.9.tar.gz from https://github.com/OpenLightingProject/ola/releases/download/0.10.9/ola-0.10.9.tar.gz
- Initially I tried just "debuild", as per https://github.com/OpenLightingProject/ola/blob/master/README.debian but I got some errors with dependencies, specifically,
~/ola/ola-0.10.9 $ debuild
dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package ola
dpkg-buildpackage: info: source version 0.10.9-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Peter Newman <[email protected]>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
dpkg-source: info: using options from ola-0.10.9/debian/source/local-options: --single-debian-patch
dpkg-checkbuilddeps: error: Unmet build dependencies: python python-protobuf libusb-1.0-0-dev libftdi1-dev liblo-dev libmicrohttpd-dev libncurses5-dev libavahi-client-dev python-numpy
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
I tried to install all the dependencies from the error in one big apt install but some of them could not be identified, at least python-protobuf python-numpy
So, I went back to https://github.com/OpenLightingProject/ola/issues/1884
and tried to use these instructions,
./configure --enable-rdm-tests
make
make check
sudo make install
sudo ldconfig
Following that, I installed packages as ./configure needed, although when I got to python-protobuf, I instead installed python3-pip followed by
pip install protobuf
which seemed to get me past the configure failure.
After all that it DID seem like I had ola:
~/ola/ola-0.10.9 $ olad -v
OLA olad version: 0.10.9
It seems to run fine, but now I can't seem to get back to the Web UI. This is a headless install.
So, Questions,
- What is the preferred method to build ola for non-development use?
- If the preferred install method is via debuild, how can I get past this error?
dpkg-checkbuilddeps: error: Unmet build dependencies: python python-protobuf python-numpySee below. - How do I go about enabling the web ui? Is this a build option? I noticed this:
"If you built OLA with http support you can just use the web interface on http://localhost:9090" (source: https://www.openlighting.org/ola/getting-started/using-ola/ )
Appendix - Errors with dependent package install?
~# apt install python python-protobuf python-numpy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'python-is-python2' instead of 'python'
Package python-numpy is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package python-protobuf
E: Package 'python-numpy' has no installation candidate
- Ngôn ngữ chính
- C++
- Star
- 773
- Fork
- 233
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenLightingProject/ola
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
OpenLightingProject/ola#2075 ·
-
Digital Enlightenment / FX5 not recognizedCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởquestion Type-DeviceSupport
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
OpenLightingProject/ola#2056 · 2 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
OpenLightingProject/ola#2055 ·
-
Difficulty-Medium Language-C++ Maintainability OpSys-All
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
OpenLightingProject/ola#2053 · 1 bình luận ·
-
v0.11.0Có thể làm lại được @peternewman đã nhận 227 ngày trước và không có pull request nào đang mở. Đang mở
OpenLightingProject/ola#2038 · 18 bình luận · 2 người được giao ·
Tất cả issue của OpenLightingProject/ola
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
antlr/grammars-v4#5219 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[内容勘误] STL常用模式章节实战演练中代码有问题Đang mởdocumentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP#335 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
deepseek-ai/DeepEP#830 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
google-ai-edge/LiteRT-LM#4701 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PX4/PX4-Autopilot#29898 ·
Maintainer thường phản hồi trong vòng 1 ngày