"make depend" fails for the "gst-plugin"

130 views
Skip to first unread message

Louis

unread,
Jun 1, 2018, 1:20:30 PM6/1/18
to kaldi-help
Hello,

I'm facing an issue about the "gst-plugin".
Here is the outputs when I execute a "make depend":







Also, when I try to install "gstreamer" via "sudo apt-get install libgstreamer1.0-dev", it sounds like some dependencies are broken:

When I do a "locate gstreamer", it sounds like I already have the correct packages. However when I do a "locate gstreamer | grep ".pc"", I have no ".pc" as output.

I successfully built the tools (tools/) and the sources (src/), but I'm stuck to the "gst-plugin".

Does anyone could help me to build the "gst-plugin" properly please?

In pleasure to read you,
Louis.

Daniel Povey

unread,
Jun 1, 2018, 2:05:17 PM6/1/18
to kaldi-help
I don't really maintain that gst-plugin stuff.
Looks to me like your problems are at the debian/apt-get level.

This page
seems to have some info about the "you have held broken packages" issue.

You should probably ask on debian forums; let us know if you find something.

Dan


--
Go to http://kaldi-asr.org/forums.html find out how to join
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+unsubscribe@googlegroups.com.
To post to this group, send email to kaldi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/5c33b340-5f00-457a-bf19-263e4aff2d5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Louis

unread,
Jun 1, 2018, 5:07:12 PM6/1/18
to kaldi-help
Thanks for your answer Dan.

I went through your advice, and I succeeded to install the "glib-2.0" package via aptitude, and I did a trick to get the ".pc" config file for the "gstreamer-1.0" package.

However, as in the first screenshot, there is a header error: "../gst-plugin/gst-audio-source.h:25:21: fatal error: gst/gst.h: No such file or directory".

From here, I understood that gstreamer were not correctly installed, I tried several install from different package managers, I got bench of files related to gstreamer, but I was not able to make it works.
Then, I download their latest stable release (tarball) from their official website https://gstreamer.freedesktop.org/.

I followed their installation instructions, and I moved all of their pkgconfig/* files + built gstreamer.

After that, I went through the "gst-plugin" again, and I finally got it working, the "make depend" and "make" run perfectly and give me the "libgstonlinegmmdecodefaster.so" library as output.
To test, I tried the "/egs/voxforge/gst_demo", and it sounds like everything were working too.

The only drawback into all of that is, I need to redo everything step by step, because I would like to create a script which install everything that I mentioned here to let the users run the script to install Kaldi with one command for my project.

Any advise for that? Do you think it's safe if I upload a big tarball on a server containing a pre-build version?

Best,
Louis. 

Le vendredi 1 juin 2018 20:05:17 UTC+2, Dan Povey a écrit :
I don't really maintain that gst-plugin stuff.
Looks to me like your problems are at the debian/apt-get level.

This page
seems to have some info about the "you have held broken packages" issue.

You should probably ask on debian forums; let us know if you find something.

Dan

On Fri, Jun 1, 2018 at 1:20 PM, Louis <louis....@gmail.com> wrote:
Hello,

I'm facing an issue about the "gst-plugin".
Here is the outputs when I execute a "make depend":







Also, when I try to install "gstreamer" via "sudo apt-get install libgstreamer1.0-dev", it sounds like some dependencies are broken:

When I do a "locate gstreamer", it sounds like I already have the correct packages. However when I do a "locate gstreamer | grep ".pc"", I have no ".pc" as output.

I successfully built the tools (tools/) and the sources (src/), but I'm stuck to the "gst-plugin".

Does anyone could help me to build the "gst-plugin" properly please?

In pleasure to read you,
Louis.

--
Go to http://kaldi-asr.org/forums.html find out how to join
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.

Daniel Povey

unread,
Jun 1, 2018, 5:09:00 PM6/1/18
to kaldi-help
If I were you I'd write a script to download and compile their package.


To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+unsubscribe@googlegroups.com.

To post to this group, send email to kaldi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages