GNOME Bugzilla – Bug 409234
Fails to autogen out of tree (srcdir != builddir)
Last modified: 2007-04-30 02:34:27 UTC
Hi, When jhbuilding pygobject with a builddir different of srcdir, I hit a but in the custom autogen.sh script of pygobject: Running aclocal-1.8... aclocal: couldn't open directory `/home/lool/jhbuild-gnome-2.18/build/pygobject/m4': Aucun fichier ou répertoire de ce type *** error during stage configure of pygobject: ########## Error running /home/lool/jhbuild-gnome-2.18/checkout/pygobject/autogen.sh --prefix /home/lool/jhbuild-gnome-2.18/prefix --disable-static --disable-gtk-doc *** [26/147] This is because the autogen script uses `pwd` to compute srcdir. I'll attach a patch which updates autogen.sh to use `dirname $0` instead. Of course, it would be better to use a more standard autogen on the long term. Bye,
Created attachment 82796 [details] [review] Use dirname $0 instead of pwd to compute srcdir in autogen
Thanks for the patch. This was committed on trunk as revision 655.