Menu

pocketsphinx gstreamer plugin is not being compiled

Help
2017-02-15
2019-02-19
  • Benjamin Roye

    Benjamin Roye - 2017-02-15

    So I was having the same problem as this fellow here. Unfortunately I do not have the same solution as pkg-config finds gst-plugin-base just fine. I've been reading config.log trying to figure out why the gstreamer plugin was not compiled and I'm just at a loss.

    In output of make for pocketsphinx

    Making all in gst-plugin
    7 make[2]: Nothing to be done for all'. 8 make[2]: Nothing to be done forall-am'

    All occurrences of gst in config.log

    configure:13214: checking for GStreamer
    configure:13224: $PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= 1.0
    gstreamer-base-$GST_MAJORMINOR >= 1.0
    gstreamer-plugins-base-$GST_MAJORMINOR >= 1.0"
    configure:13229: $? = 0
    configure:13248: $PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= 1.0
    gstreamer-base-$GST_MAJORMINOR >= 1.0
    gstreamer-plugins-base-$GST_MAJORMINOR >= 1.0"
    configure:13253: $? = 0

    ac_cv_env_GStreamer_CFLAGS_set=
    ac_cv_env_GStreamer_CFLAGS_value=
    ac_cv_env_GStreamer_LIBS_set=
    ac_cv_env_GStreamer_LIBS_value=

    pkg_cv_GStreamer_CFLAGS='-D_REENTRANT -I/usr/local/Cellar/gstreamer/1.10.3/include/gstreamer-1.0 -I/usr/local/Cellar/gst-plugins-base/1.10.3/include/gstreamer-1.0 -I/usr/local/Cellar/gstreamer/1.10.3/include/gstreamer-1.0 -I/usr/local/Cellar/glib/2.50.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.39/include'
    pkg_cv_GStreamer_LIBS='-L/usr/local/Cellar/gstreamer/1.10.3/lib -L/usr/local/Cellar/gst-plugins-base/1.10.3/lib -L/usr/local/Cellar/gstreamer/1.10.3/lib -L/usr/local/Cellar/glib/2.50.2/lib -L/usr/local/opt/gettext/lib -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl'

    BUILD_GST_FALSE='#'
    BUILD_GST_TRUE=''

    GST_CFLAGS='-D_REENTRANT -I/usr/local/Cellar/gstreamer/1.10.3/include/gstreamer-1.0 -I/usr/local/Cellar/gst-plugins-base/1.10.3/include/gstreamer-1.0 -I/usr/local/Cellar/gstreamer/1.10.3/include/gstreamer-1.0 -I/usr/local/Cellar/glib/2.50.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.39/include '
    GST_LIBS='-L/usr/local/Cellar/gstreamer/1.10.3/lib -L/usr/local/Cellar/gst-plugins-base/1.10.3/lib -L/usr/local/Cellar/gstreamer/1.10.3/lib -L/usr/local/Cellar/glib/2.50.2/lib -L/usr/local/opt/gettext/lib -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl'
    GST_MAJORMINOR='1.0'
    GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex _(gst_\|Gst\|GST_).'
    GStreamer_CFLAGS='-D_REENTRANT -I/usr/local/Cellar/gstreamer/1.10.3/include/gstreamer-1.0 -I/usr/local/Cellar/gst-plugins-base/1.10.3/include/gstreamer-1.0 -I/usr/local/Cellar/gstreamer/1.10.3/include/gstreamer-1.0 -I/usr/local/Cellar/glib/2.50.2/include/glib-2.0 -I/usr/local/Cellar/glib/2.50.2/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.39/include'
    GStreamer_LIBS='-L/usr/local/Cellar/gstreamer/1.10.3/lib -L/usr/local/Cellar/gst-plugins-base/1.10.3/lib -L/usr/local/Cellar/gstreamer/1.10.3/lib -L/usr/local/Cellar/glib/2.50.2/lib -L/usr/local/opt/gettext/lib -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lintl'

    plugindir='$(libdir)/gstreamer-1.0'

     
    • Nickolay V. Shmyrev

      Provide complete build log and config log, not excerpt from it.

       
      • Benjamin Roye

        Benjamin Roye - 2017-02-15
         
        • Nickolay V. Shmyrev

          To collect build log you need to run make clean and then make >& build.log again.

           
          • Benjamin Roye

            Benjamin Roye - 2017-02-15
             
            • Nickolay V. Shmyrev

              According to the log gstreamer plugin was successfully built and installed. You probalby need to define GST_PLUGIN_PATH to load it.

               
              • Benjamin Roye

                Benjamin Roye - 2017-02-15

                I have GST_PLUGIN_PATH defined as /usr/local/lib/gstreamer-1.0 based on instructions here

                 
                • Nickolay V. Shmyrev

                  Ok, provide make install log and the output of echo $GST_PLUGIN_PATH && gst-inspect-1.0 | grep pocketsphinx

                   
                  • Benjamin Roye

                    Benjamin Roye - 2017-02-15

                    install
                    $ echo $GST_PLUGIN_PATH && gst-inspect-1.0 | grep pocketsphinx
                    /usr/local/lib/gstreamer-1.0

                     
                  • Benjamin Roye

                    Benjamin Roye - 2017-02-15

                    Oh hey! gst-inspect-1.0 is giving the right output now! That was actually the first time I ran make install... I'm far from an expert at make, but doesn't simply running make usually run make install as part of it?

                     

                    Last edit: Benjamin Roye 2017-02-15
                    • Nickolay V. Shmyrev

                      You need to run 'sudo make install' to install software usually. Anyway, congratulations.

                       
  • Cindy Chang

    Cindy Chang - 2019-02-19

    Hi, on ubuntu 18, where/which directory does this command generate output?

    make >& build.log
    
     

    Last edit: Cindy Chang 2019-02-19
    • Nickolay V. Shmyrev

      In the same fodler where you run make

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.