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 409235 - Fails to autogen out of tree (srcdir != builddir)
Fails to autogen out of tree (srcdir != builddir)
Status: RESOLVED DUPLICATE of bug 496162
Product: pygtk
Classification: Bindings
Component: general
Git Master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks: 414139
 
 
Reported: 2007-02-18 11:43 UTC by Loïc Minier
Modified: 2007-11-12 17:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Autogen out of tree (395 bytes, patch)
2007-10-03 12:15 UTC, Loïc Minier
none Details | Review

Description Loïc Minier 2007-02-18 11:43:59 UTC
+++ This bug was initially created as a clone of Bug #409234 +++

Hi,

When jhbuilding pygtk with a builddir different of srcdir, I hit a but in the custom autogen.sh script of pygtk:
Running aclocal-1.8...
aclocal: couldn't open directory `/home/lool/jhbuild-gnome-2.18/build/pygtk/m4': Aucun fichier ou répertoire de ce type
*** error during stage configure of pygtk: ########## Error running /home/lool/jhbuild-gnome-2.18/checkout/pygtk/autogen.sh --prefix /home/lool/jhbuild-gnome-2.18/prefix  --disable-static --disable-gtk-doc *** [29/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,
Comment 1 Kjartan Maraas 2007-10-03 10:59:17 UTC
Did you forget the patch?
Comment 2 Loïc Minier 2007-10-03 12:15:41 UTC
Created attachment 96565 [details] [review]
Autogen out of tree

I probably did, and I wiped my jhbuild trees last time my hard disk crashed; I found a patch in my patch dir which looks related though.
Comment 3 Johan (not receiving bugmail) Dahlin 2007-11-12 17:40:34 UTC

*** This bug has been marked as a duplicate of 496162 ***