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 570332 - accerciser's autogen.sh should provide $srcdir
accerciser's autogen.sh should provide $srcdir
Status: RESOLVED FIXED
Product: accerciser
Classification: Applications
Component: general
1.5.x
Other Linux
: Normal trivial
: ---
Assigned To: Eitan Isaacson
Accerciser Developers
Depends on:
Blocks: 569778
 
 
Reported: 2009-02-03 09:44 UTC by Theppitak Karoonboonyanan
Modified: 2009-02-03 14:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adding $srcdir (376 bytes, patch)
2009-02-03 09:45 UTC, Theppitak Karoonboonyanan
none Details | Review

Description Theppitak Karoonboonyanan 2009-02-03 09:44:54 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.
Comment 1 Theppitak Karoonboonyanan 2009-02-03 09:45:33 UTC
Created attachment 127822 [details] [review]
Adding $srcdir
Comment 2 Eitan Isaacson 2009-02-03 14:46:58 UTC
Thank you! I committed your patch to trunk.