Skip to content

fix(common/dev/rtsp): install meson via pip instead of apt#1493

Merged
xzl01 merged 2 commits intoradxa-docs:mainfrom
tangzz-radxa:fix/issue-689-gst-rtsp-server-meson-version
Mar 20, 2026
Merged

fix(common/dev/rtsp): install meson via pip instead of apt#1493
xzl01 merged 2 commits intoradxa-docs:mainfrom
tangzz-radxa:fix/issue-689-gst-rtsp-server-meson-version

Conversation

@tangzz-radxa
Copy link
Contributor

Summary

gst-rtsp-server requires meson >= 1.1, but the version available via apt (0.56.x) is too old, causing build failures with .

Error reported by user:

Fix

  • Remove from the apt install command
  • Add to apt dependencies
  • Add as the correct installation method
  • Add a comment explaining why pip is needed instead of apt

Changes in:

  • (Chinese)
  • (English)

Verification

  1. Run
  2. Run
  3. Run - should succeed without version error

Fixes #689

@tangzz-radxa tangzz-radxa requested a review from a team as a code owner March 19, 2026 06:29
@xzl01 xzl01 force-pushed the fix/issue-689-gst-rtsp-server-meson-version branch from db5fa68 to 591d173 Compare March 20, 2026 02:02
gst-rtsp-server requires meson >= 1.1, but the apt version (0.56.x)
is too old and causes build failure with 'meson build'.

Fix: remove meson from apt install, add python3-pip, and install meson
via pip3 instead. Also sync the English i18n with the same fix.

Fixes radxa-docs#689
@xzl01 xzl01 force-pushed the fix/issue-689-gst-rtsp-server-meson-version branch from 591d173 to 2e58924 Compare March 20, 2026 02:06
Debian 12 disables system-wide pip installation. Instead of pip3 install
system-wide, create a virtual environment and install meson there.

Also mention Debian 12 backports provides meson 1.7.0 as an alternative.

Changes:
- Replace python3-pip with python3-venv in apt install
- Add venv creation and activation steps
- Require 'source venv/bin/activate' before running meson build
- Sync same changes to English i18n

Fixes radxa-docs#689
@xzl01 xzl01 merged commit ef5d1f2 into radxa-docs:main Mar 20, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue from zero/zero3/app-development/rtsp

2 participants