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 357593 - Generated gst-element-check.m4 installed from $(srcdir)
Generated gst-element-check.m4 installed from $(srcdir)
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal minor
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2006-09-25 11:20 UTC by Peter Kjellerstedt
Modified: 2006-09-27 10:14 UTC
See Also:
GNOME target: ---
GNOME version: ---

Install gst-element-check.m4 from the build directory (658 bytes, patch)
2006-09-25 11:20 UTC, Peter Kjellerstedt
committed Details | Review

Description Peter Kjellerstedt 2006-09-25 11:20:13 UTC
Please describe the problem:
Today I tried to build gstreamer from CVS rather than the released tar files for the first time.  This failed when it tried to installgst-element-check.m4, since it tried to copy it from  $(srcdir).  But since this is a generated file, it was only present in $(top_builddir).  The reason it works with the released tar files is that gst-element-check.m4 (and also gstreamer.spec) are included in the tar file eventhough they are really generated files...  This is probably also why make distcheck did not pick up on this.

Steps to reproduce:
1. Retrieve a fresh copy of gstreamer.
2. Run configure in another build directory than the source directory.
3. make

Actual results:
It tries to copy $(srcdir)/gst-element-check.m4 which does not exists.

Expected results:
The gst-element-check.m4 in $(top_builddir) should be used.

Does this happen every time?

Other information:
Comment 1 Peter Kjellerstedt 2006-09-25 11:20:44 UTC
Created attachment 73356 [details] [review]
Install gst-element-check.m4 from the build directory
Comment 2 Tim-Philipp Müller 2006-09-27 10:14:02 UTC
Thanks, committed:

 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
       Patch by: Peter Kjellerstedt <pkj at axis com>

         gst-element-check.m4 is generated and should therefore be
         copied from the build dir rather than the source dir (#357593).
         We haven't noticed this so far because we were disting it as
         well, so don't dist this file any longer.

Also removed gst-element-check.m4 from EXTRA_DIST while at it.