Hi gstreamer team,
I followed https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-meson.html?gi-language=c to build source from gstreamer master using meson. I'm running Ubuntu 20.04 as the OS. When I run "meson build_directory/" for the initial configuration, I got an error message on python3. I searched around and could not find a solution. Any idea how to solve this issue? ~/gst-build$ meson build_directory/ The Meson build system Version: 0.53.2 Source dir: /home/zebra/gst-build Build dir: /home/zebra/gst-build/build_directory Build type: native build Project name: All GStreamer modules Project version: 1.17.0.1 C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-10ubuntu2) 9.3.0") C linker for the host machine: cc ld.bfd 2.34 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program python3 found: YES (/usr/bin/python3) meson.build:13:0: ERROR: <ExternalProgram 'python3' -> ['/usr/bin/python3']> is not a valid python or it is missing setuptools A full log can be found at /home/zebra/gst-build/build_directory/meson-logs/meson-log.txt Thanks, Zebra _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Sounds like you need to install the
setuptools python package for ubuntu 20.04.
A quick google says that the package is python3-setuptools for ubuntu 20.04: https://packages.ubuntu.com/focal/python3-setuptools. Cheers -Matt On 15/5/20 9:49 am, Yong Xin wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (499 bytes) Download Attachment |
Thanks Matthew, it works! There're more missing packages discovered when it moves on, here is the list of packages I've added (after OS installation) to make meson complete its job. "sudo apt-get install –y git meson build-essential clang python3-setuptools libmount-dev flex bison". In case anyone like me is first time to build the source from gstreamer on Ubuntu, they can install these packages in the beginning to avoid hiccup. Thanks again for your help. On Thu, May 14, 2020 at 9:00 PM Matthew Waters <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |