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 158321 - [build] Does not build out of src directory
[build] Does not build out of src directory
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: NONE
Assigned To: Thomas Vander Stichele
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-15 01:21 UTC by Marco Pesenti Gritti
Modified: 2005-11-14 10:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marco Pesenti Gritti 2004-11-15 01:21:22 UTC
When I try to build gstreamer and gstreamer-plugins out of their source
directory, autogen fails.
Comment 1 Ronald Bultje 2004-11-15 09:31:19 UTC
How does it fail? Which version of the different autotools (libtool, autoconf,
automake)?
Comment 2 Marco Pesenti Gritti 2004-11-15 10:22:48 UTC
/home/devel/sources/gstreamer/autogen.sh --prefix /home/devel/install --
--disable-plugin-builddir --disable-tests --disable-static --disable-gtk-doc
+ getting common from cvs
There is something wrong with your source tree.
You are missing common/gst-autogen.sh
cvs checkout: No CVSROOT specified!  Please use the `-d' option
cvs [checkout aborted]: or set the CVSROOT environment variable.

It fails before using any auto* so I dont think it's relevant. Anyway, I'm using
jhbuild so I have every auto* jhbuild bootstrap installs.

if test ! -f common/gst-autogen.sh

The autogen script seem to assume that we are ever building inside source directory.
Comment 3 David Schleef 2004-11-16 01:59:22 UTC
I think this is a valid assumption.  You can, of course, run configure from a
non-source directory, but not any of the autotools.
Comment 4 Marco Pesenti Gritti 2004-11-16 11:22:49 UTC
Yeah, but I think the autogen.sh scripts should take care of it. It should cd to
the source directory when running auto* and then cd back to the build dir before
running configure. That's how gnome-autogen.sh works (and all the other
autogen.sh in my GNOME tree).
Comment 5 Ronald Bultje 2005-01-17 15:23:03 UTC
Thomas, any comments on this?
Comment 6 Andy Wingo 2005-07-15 16:17:30 UTC
I didn't think it was possible at all to run automake etc from outside the
source directory. Anyway, assigning to thomas!
Comment 7 Thomas Vander Stichele 2005-09-17 15:29:32 UTC
Marco,

a patch would be accepted, but it's not a high priority for me.

Note that you can do:

./autogen.sh --noconfigure
cd build
../configure

Comment 8 Andy Wingo 2005-11-14 10:33:57 UTC
Given the --noconfigure option, marking as NOTABUG.