can't build gst-rtsp-server











up vote
2
down vote

favorite












I am trying to make a rtsp server that can catch a rtsp feed from a onvif camera and then redistribute this stream to everyone that connects to my server.



I created a new Ubuntu 64-bit vm on VMware Workstation using this iso:
https://www.ubuntu.com/download/desktop/thank-you?version=18.04.1&architecture=amd64



I then installed ubuntu-desktop:



$ sudo apt-get update
$ sudo apt-get install ubuntu-desktop
$ reboot


I cloned the gst-rtsp-server from its github repository to a folder on my desktop:



$ cd Desktop
$ mkdir camSrv
$ cd camSrv
$ git clone https://github.com/GStreamer/gst-rtsp-server.git


I then installed the dependency referenced by this post:



$ sudo apt-get intall autoconf -y
$ sudo apt-get intall automake -y
$ sudo apt-get intall autopoint -y
$ sudo apt-get intall libtool -y


but when i try to build the gst-rtsp-server project, I keep getting errors...



I installed a bunch of other dependencies, but now I'm stuck at the error:



configure: No package 'gstreamer-1.0' found
configure: error: no gstreamer-1.0 >= 1.15.0.1 (GSTreamer) found


I can't find what i'm missing... all i want is to make the example mentioned in this post work for me...










share|improve this question


























    up vote
    2
    down vote

    favorite












    I am trying to make a rtsp server that can catch a rtsp feed from a onvif camera and then redistribute this stream to everyone that connects to my server.



    I created a new Ubuntu 64-bit vm on VMware Workstation using this iso:
    https://www.ubuntu.com/download/desktop/thank-you?version=18.04.1&architecture=amd64



    I then installed ubuntu-desktop:



    $ sudo apt-get update
    $ sudo apt-get install ubuntu-desktop
    $ reboot


    I cloned the gst-rtsp-server from its github repository to a folder on my desktop:



    $ cd Desktop
    $ mkdir camSrv
    $ cd camSrv
    $ git clone https://github.com/GStreamer/gst-rtsp-server.git


    I then installed the dependency referenced by this post:



    $ sudo apt-get intall autoconf -y
    $ sudo apt-get intall automake -y
    $ sudo apt-get intall autopoint -y
    $ sudo apt-get intall libtool -y


    but when i try to build the gst-rtsp-server project, I keep getting errors...



    I installed a bunch of other dependencies, but now I'm stuck at the error:



    configure: No package 'gstreamer-1.0' found
    configure: error: no gstreamer-1.0 >= 1.15.0.1 (GSTreamer) found


    I can't find what i'm missing... all i want is to make the example mentioned in this post work for me...










    share|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I am trying to make a rtsp server that can catch a rtsp feed from a onvif camera and then redistribute this stream to everyone that connects to my server.



      I created a new Ubuntu 64-bit vm on VMware Workstation using this iso:
      https://www.ubuntu.com/download/desktop/thank-you?version=18.04.1&architecture=amd64



      I then installed ubuntu-desktop:



      $ sudo apt-get update
      $ sudo apt-get install ubuntu-desktop
      $ reboot


      I cloned the gst-rtsp-server from its github repository to a folder on my desktop:



      $ cd Desktop
      $ mkdir camSrv
      $ cd camSrv
      $ git clone https://github.com/GStreamer/gst-rtsp-server.git


      I then installed the dependency referenced by this post:



      $ sudo apt-get intall autoconf -y
      $ sudo apt-get intall automake -y
      $ sudo apt-get intall autopoint -y
      $ sudo apt-get intall libtool -y


      but when i try to build the gst-rtsp-server project, I keep getting errors...



      I installed a bunch of other dependencies, but now I'm stuck at the error:



      configure: No package 'gstreamer-1.0' found
      configure: error: no gstreamer-1.0 >= 1.15.0.1 (GSTreamer) found


      I can't find what i'm missing... all i want is to make the example mentioned in this post work for me...










      share|improve this question













      I am trying to make a rtsp server that can catch a rtsp feed from a onvif camera and then redistribute this stream to everyone that connects to my server.



      I created a new Ubuntu 64-bit vm on VMware Workstation using this iso:
      https://www.ubuntu.com/download/desktop/thank-you?version=18.04.1&architecture=amd64



      I then installed ubuntu-desktop:



      $ sudo apt-get update
      $ sudo apt-get install ubuntu-desktop
      $ reboot


      I cloned the gst-rtsp-server from its github repository to a folder on my desktop:



      $ cd Desktop
      $ mkdir camSrv
      $ cd camSrv
      $ git clone https://github.com/GStreamer/gst-rtsp-server.git


      I then installed the dependency referenced by this post:



      $ sudo apt-get intall autoconf -y
      $ sudo apt-get intall automake -y
      $ sudo apt-get intall autopoint -y
      $ sudo apt-get intall libtool -y


      but when i try to build the gst-rtsp-server project, I keep getting errors...



      I installed a bunch of other dependencies, but now I'm stuck at the error:



      configure: No package 'gstreamer-1.0' found
      configure: error: no gstreamer-1.0 >= 1.15.0.1 (GSTreamer) found


      I can't find what i'm missing... all i want is to make the example mentioned in this post work for me...







      gstreamer rtsp






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 23 at 22:50









      LoukMo

      133




      133






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          It seems that we do not need to compile anything by ourselves.

          We can simply install required development packages from gst-rtsp-server1.0 source package :



          sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp


          and then you can use it as planned.



          Below is manual compilation method if you are sure that you want to do.





          Install development tools:



          sudo apt-get install git build-essential autoconf automake autopoint libtool pkg-config -y
          sudo apt-get install gtk-doc-tools libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev -y
          sudo apt-get install checkinstall


          (note libgstreamer1.0-dev above).



          Clone the repository:



          git clone https://github.com/GStreamer/gst-rtsp-server.git
          cd gst-rtsp-server/


          But Ubuntu 18.04 LTS has old version of GStreamer library (1.14.0) so we need to checkout previous version and then compile:



          git checkout 1.13.91
          ./autogen.sh
          ./configure
          make
          sudo checkinstall make install # enter 3 and fill *Version* field with 1.13.91


          Note: you can use sudo make install in the last stage, but checkinstall is safer as it will create deb-package with compiled application (so it is controlled by APT and may be removed with sudo dpkg -r gst-rtsp).






          share|improve this answer























          • Is it me or the first method installs the libs and includes under the /usr/include and /usr/lib directories and the second one installs stuff under the /usr/local/include and /usr/local/lib directories? (I'm kinda newb with linux...)
            – LoukMo
            Nov 30 at 16:21










          • The first method (sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp) should install all files into /usr (not /usr/local). You can check with dpkg -L libgstrtspserver-1.0-dev and dpkg -L gstreamer1.0-rtsp.
            – N0rbert
            Nov 30 at 20:16






          • 1




            Thanks for everything! If i could upvote your comment I would.
            – LoukMo
            Nov 30 at 20:20











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095521%2fcant-build-gst-rtsp-server%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote



          accepted










          It seems that we do not need to compile anything by ourselves.

          We can simply install required development packages from gst-rtsp-server1.0 source package :



          sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp


          and then you can use it as planned.



          Below is manual compilation method if you are sure that you want to do.





          Install development tools:



          sudo apt-get install git build-essential autoconf automake autopoint libtool pkg-config -y
          sudo apt-get install gtk-doc-tools libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev -y
          sudo apt-get install checkinstall


          (note libgstreamer1.0-dev above).



          Clone the repository:



          git clone https://github.com/GStreamer/gst-rtsp-server.git
          cd gst-rtsp-server/


          But Ubuntu 18.04 LTS has old version of GStreamer library (1.14.0) so we need to checkout previous version and then compile:



          git checkout 1.13.91
          ./autogen.sh
          ./configure
          make
          sudo checkinstall make install # enter 3 and fill *Version* field with 1.13.91


          Note: you can use sudo make install in the last stage, but checkinstall is safer as it will create deb-package with compiled application (so it is controlled by APT and may be removed with sudo dpkg -r gst-rtsp).






          share|improve this answer























          • Is it me or the first method installs the libs and includes under the /usr/include and /usr/lib directories and the second one installs stuff under the /usr/local/include and /usr/local/lib directories? (I'm kinda newb with linux...)
            – LoukMo
            Nov 30 at 16:21










          • The first method (sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp) should install all files into /usr (not /usr/local). You can check with dpkg -L libgstrtspserver-1.0-dev and dpkg -L gstreamer1.0-rtsp.
            – N0rbert
            Nov 30 at 20:16






          • 1




            Thanks for everything! If i could upvote your comment I would.
            – LoukMo
            Nov 30 at 20:20















          up vote
          0
          down vote



          accepted










          It seems that we do not need to compile anything by ourselves.

          We can simply install required development packages from gst-rtsp-server1.0 source package :



          sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp


          and then you can use it as planned.



          Below is manual compilation method if you are sure that you want to do.





          Install development tools:



          sudo apt-get install git build-essential autoconf automake autopoint libtool pkg-config -y
          sudo apt-get install gtk-doc-tools libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev -y
          sudo apt-get install checkinstall


          (note libgstreamer1.0-dev above).



          Clone the repository:



          git clone https://github.com/GStreamer/gst-rtsp-server.git
          cd gst-rtsp-server/


          But Ubuntu 18.04 LTS has old version of GStreamer library (1.14.0) so we need to checkout previous version and then compile:



          git checkout 1.13.91
          ./autogen.sh
          ./configure
          make
          sudo checkinstall make install # enter 3 and fill *Version* field with 1.13.91


          Note: you can use sudo make install in the last stage, but checkinstall is safer as it will create deb-package with compiled application (so it is controlled by APT and may be removed with sudo dpkg -r gst-rtsp).






          share|improve this answer























          • Is it me or the first method installs the libs and includes under the /usr/include and /usr/lib directories and the second one installs stuff under the /usr/local/include and /usr/local/lib directories? (I'm kinda newb with linux...)
            – LoukMo
            Nov 30 at 16:21










          • The first method (sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp) should install all files into /usr (not /usr/local). You can check with dpkg -L libgstrtspserver-1.0-dev and dpkg -L gstreamer1.0-rtsp.
            – N0rbert
            Nov 30 at 20:16






          • 1




            Thanks for everything! If i could upvote your comment I would.
            – LoukMo
            Nov 30 at 20:20













          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          It seems that we do not need to compile anything by ourselves.

          We can simply install required development packages from gst-rtsp-server1.0 source package :



          sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp


          and then you can use it as planned.



          Below is manual compilation method if you are sure that you want to do.





          Install development tools:



          sudo apt-get install git build-essential autoconf automake autopoint libtool pkg-config -y
          sudo apt-get install gtk-doc-tools libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev -y
          sudo apt-get install checkinstall


          (note libgstreamer1.0-dev above).



          Clone the repository:



          git clone https://github.com/GStreamer/gst-rtsp-server.git
          cd gst-rtsp-server/


          But Ubuntu 18.04 LTS has old version of GStreamer library (1.14.0) so we need to checkout previous version and then compile:



          git checkout 1.13.91
          ./autogen.sh
          ./configure
          make
          sudo checkinstall make install # enter 3 and fill *Version* field with 1.13.91


          Note: you can use sudo make install in the last stage, but checkinstall is safer as it will create deb-package with compiled application (so it is controlled by APT and may be removed with sudo dpkg -r gst-rtsp).






          share|improve this answer














          It seems that we do not need to compile anything by ourselves.

          We can simply install required development packages from gst-rtsp-server1.0 source package :



          sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp


          and then you can use it as planned.



          Below is manual compilation method if you are sure that you want to do.





          Install development tools:



          sudo apt-get install git build-essential autoconf automake autopoint libtool pkg-config -y
          sudo apt-get install gtk-doc-tools libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev -y
          sudo apt-get install checkinstall


          (note libgstreamer1.0-dev above).



          Clone the repository:



          git clone https://github.com/GStreamer/gst-rtsp-server.git
          cd gst-rtsp-server/


          But Ubuntu 18.04 LTS has old version of GStreamer library (1.14.0) so we need to checkout previous version and then compile:



          git checkout 1.13.91
          ./autogen.sh
          ./configure
          make
          sudo checkinstall make install # enter 3 and fill *Version* field with 1.13.91


          Note: you can use sudo make install in the last stage, but checkinstall is safer as it will create deb-package with compiled application (so it is controlled by APT and may be removed with sudo dpkg -r gst-rtsp).







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 28 at 18:28

























          answered Nov 24 at 9:17









          N0rbert

          20k54392




          20k54392












          • Is it me or the first method installs the libs and includes under the /usr/include and /usr/lib directories and the second one installs stuff under the /usr/local/include and /usr/local/lib directories? (I'm kinda newb with linux...)
            – LoukMo
            Nov 30 at 16:21










          • The first method (sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp) should install all files into /usr (not /usr/local). You can check with dpkg -L libgstrtspserver-1.0-dev and dpkg -L gstreamer1.0-rtsp.
            – N0rbert
            Nov 30 at 20:16






          • 1




            Thanks for everything! If i could upvote your comment I would.
            – LoukMo
            Nov 30 at 20:20


















          • Is it me or the first method installs the libs and includes under the /usr/include and /usr/lib directories and the second one installs stuff under the /usr/local/include and /usr/local/lib directories? (I'm kinda newb with linux...)
            – LoukMo
            Nov 30 at 16:21










          • The first method (sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp) should install all files into /usr (not /usr/local). You can check with dpkg -L libgstrtspserver-1.0-dev and dpkg -L gstreamer1.0-rtsp.
            – N0rbert
            Nov 30 at 20:16






          • 1




            Thanks for everything! If i could upvote your comment I would.
            – LoukMo
            Nov 30 at 20:20
















          Is it me or the first method installs the libs and includes under the /usr/include and /usr/lib directories and the second one installs stuff under the /usr/local/include and /usr/local/lib directories? (I'm kinda newb with linux...)
          – LoukMo
          Nov 30 at 16:21




          Is it me or the first method installs the libs and includes under the /usr/include and /usr/lib directories and the second one installs stuff under the /usr/local/include and /usr/local/lib directories? (I'm kinda newb with linux...)
          – LoukMo
          Nov 30 at 16:21












          The first method (sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp) should install all files into /usr (not /usr/local). You can check with dpkg -L libgstrtspserver-1.0-dev and dpkg -L gstreamer1.0-rtsp.
          – N0rbert
          Nov 30 at 20:16




          The first method (sudo apt-get install libgstrtspserver-1.0-dev gstreamer1.0-rtsp) should install all files into /usr (not /usr/local). You can check with dpkg -L libgstrtspserver-1.0-dev and dpkg -L gstreamer1.0-rtsp.
          – N0rbert
          Nov 30 at 20:16




          1




          1




          Thanks for everything! If i could upvote your comment I would.
          – LoukMo
          Nov 30 at 20:20




          Thanks for everything! If i could upvote your comment I would.
          – LoukMo
          Nov 30 at 20:20


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095521%2fcant-build-gst-rtsp-server%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents