After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758762 - missing -lasound when building the test application to decide if flite exists.
missing -lasound when building the test application to decide if flite exists.
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.6.1
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-11-28 06:05 UTC by vgdoqd
Modified: 2015-11-30 09:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description vgdoqd 2015-11-28 06:05:56 UTC
option -lasound shall be provided when configure script tries to build the test application to decide if flite is in the system. flite depends on libasound. Without libasound, a compile-error is doomed to happen, and because of it configure script will falsely assume that flite isn't there, so the flite plugin of gst-plugins-bad won't be built.
Comment 1 Tim-Philipp Müller 2015-11-28 09:46:25 UTC
Why would this be needed? if flite depends on libasound wouldn't it link against it itself?

What's the error you get?
Comment 2 Nicolas Dufresne (ndufresne) 2015-11-28 14:58:14 UTC
I believe flite is not built properly on you platform / target. It libflite.so should be linked to libasound.so already, no need for this. There exist some theories that flat linking is faster, though this cannot be supported by flite until this library provides a flite.pc file which would provide the extra -l. I suggest this bug is invalid.
Comment 3 vgdoqd 2015-11-30 08:46:58 UTC
(In reply to Nicolas Dufresne (stormer) from comment #2)
> I believe flite is not built properly on you platform / target. It
> libflite.so should be linked to libasound.so already, no need for this.
> There exist some theories that flat linking is faster, though this cannot be
> supported by flite until this library provides a flite.pc file which would
> provide the extra -l. I suggest this bug is invalid.

You're right. I've modified some setting of the Makefile of flite to make it deal with its own dependencies. Now, the configure script of gst-plugins-bad accepts flite now.

Sorry for the noise. Really sorry.
Comment 4 Tim-Philipp Müller 2015-11-30 09:38:46 UTC
Great, thanks for confirming.