Hello,

Helmut Grohne, le mer. 05 nov. 2025 10:38:15 +0100, a ecrit:
> pocketsphinx fails to cross build from source. At the dh_install stage, 
> it misses the gstreamer plugin.

> --- pocketsphinx-0.8+5prealpha+1.orig/configure.ac
> +++ pocketsphinx-0.8+5prealpha+1/configure.ac
> @@ -50,8 +50,7 @@
>                      gstreamer-base-$GST_MAJORMINOR >= 1.0
>                      gstreamer-plugins-base-$GST_MAJORMINOR >= 1.0],
>                    HAVE_GST=yes, HAVE_GST=no)
> -dnl Don't build GStreamer when cross-compiling
> -AM_CONDITIONAL(BUILD_GST, test x$cross_compiling != xyes && test 
> "x$HAVE_GST" = "xyes")
> +AM_CONDITIONAL(BUILD_GST, test "x$HAVE_GST" = "xyes")
>  GST_CFLAGS="$GStreamer_CFLAGS $GStreamer_ERROR"
>  GST_LIBS="$GStreamer_LIBS"
>  AC_SUBST(GST_MAJORMINOR)

I'm sorry that you have worked on the obsolete source code, now replaced
by pocketsphinx 5 that uses cmake. Perhaps this cross-compilation now
works?

Samuel

Reply via email to