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 409234 - Fails to autogen out of tree (srcdir != builddir)
Fails to autogen out of tree (srcdir != builddir)
Status: RESOLVED FIXED
Product: pygobject
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:37 UTC by Loïc Minier
Modified: 2007-04-30 02:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use dirname $0 instead of pwd to compute srcdir in autogen (398 bytes, patch)
2007-02-18 11:38 UTC, Loïc Minier
none Details | Review

Description Loïc Minier 2007-02-18 11:37:53 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,
Comment 1 Loïc Minier 2007-02-18 11:38:21 UTC
Created attachment 82796 [details] [review]
Use dirname $0 instead of pwd to compute srcdir in autogen
Comment 2 Johan (not receiving bugmail) Dahlin 2007-04-30 02:34:27 UTC
Thanks for the patch.

This was committed on trunk as revision 655.