<div dir="ltr"><div dir="ltr">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. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 14, 2020 at 9:00 PM Matthew Waters <<a href="mailto:ystreet00@gmail.com">ystreet00@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <div>Sounds like you need to install the
      setuptools python package for ubuntu 20.04.<br>
      <br>
      A quick google says that the package is python3-setuptools for
      ubuntu 20.04: <a href="https://packages.ubuntu.com/focal/python3-setuptools" target="_blank">https://packages.ubuntu.com/focal/python3-setuptools</a>.<br>
      <br>
      Cheers<br>
      -Matt<br>
      <br>
      On 15/5/20 9:49 am, Yong Xin wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi gstreamer team,
        <div><br>
        </div>
        <div>I followed <a href="https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-meson.html?gi-language=c" target="_blank">https://gstreamer.freedesktop.org/documentation/installing/building-from-source-using-meson.html?gi-language=c</a> 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?</div>
        <div><br>
        </div>
        <div>~/gst-build$ meson build_directory/<br>
          The Meson build system<br>
          Version: 0.53.2<br>
          Source dir: /home/zebra/gst-build<br>
          Build dir: /home/zebra/gst-build/build_directory<br>
          Build type: native build<br>
          Project name: All GStreamer modules<br>
          Project version: 1.17.0.1<br>
          C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu
          9.3.0-10ubuntu2) 9.3.0")<br>
          C linker for the host machine: cc ld.bfd 2.34<br>
          Host machine cpu family: x86_64<br>
          Host machine cpu: x86_64<br>
          Program python3 found: YES (/usr/bin/python3)<br>
          <br>
          <b>meson.build:13:0: ERROR: <ExternalProgram 'python3'
            -> ['/usr/bin/python3']> is not a valid python or it
            is missing setuptools</b><br>
          <br>
          A full log can be found at
          /home/zebra/gst-build/build_directory/meson-logs/meson-log.txt<br>
        </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Zebra</div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div></div>