GNOME Bugzilla – Bug 570332
accerciser's autogen.sh should provide $srcdir
Last modified: 2009-02-03 14:46:58 UTC
When configuring accerciser from outside source dir, such as by using jhbuild with 'buildroot' set, it tries to call "./configure" at the build dir, after successfully calling autotools at source dir. This fails because "configure" is generated at source dir, not build dir, and it should be invoked with source dir path prefix. Error log: ---8<--- $ /home/thep/vcs/gnome_svn/accerciser/autogen.sh --prefix /home/gnome2 --libdir '${exec_prefix}/lib64' --disable-static --disable-gtk-doc checking for autoconf >= 2.53... testing autoconf2.50... /usr/bin/autoconf2.50: line 493: echo: write error: Broken pipe found 2.61 checking for automake >= 1.7.2... testing automake-1.10... found 1.10.1 checking for gnome-common >= 2.3.0... testing gnome-doc-common... found 2.25.0 Checking for forbidden M4 macros... Running ./configure --enable-maintainer-mode --prefix /home/gnome2 --libdir ${exec_prefix}/lib64 --disable-static --disable-gtk-doc ... /home/gnome2/bin/gnome-autogen.sh: line 491: ./configure: No such file or directory ---8<--- With autogen.sh providing proper $srcdir, gnome-autogen.sh should invoke configure at the correct path.
Created attachment 127822 [details] [review] Adding $srcdir
Thank you! I committed your patch to trunk.