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 682580 - gupnp autogen.sh fails non-sourcedir build
gupnp autogen.sh fails non-sourcedir build
Status: RESOLVED FIXED
Product: GUPnP
Classification: Other
Component: gupnp
0.18.x
Other Linux
: Normal normal
: ---
Assigned To: GUPnP Maintainers
GUPnP Maintainers
Depends on:
Blocks: 569778
 
 
Reported: 2012-08-24 02:12 UTC by Theppitak Karoonboonyanan
Modified: 2012-11-30 14:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
autogen.sh fix (1.10 KB, patch)
2012-08-24 02:16 UTC, Theppitak Karoonboonyanan
committed Details | Review

Description Theppitak Karoonboonyanan 2012-08-24 02:12:05 UTC
When building gssdp using JHBuild with buildroot set to different one from
checkoutroot, it fails at configure stage with the following message:

---8<---
/home/thep/vcs/gnome_git/gupnp/autogen.sh --prefix /home/gnome3 --libdir '/home/gnome3/lib64' --with-context-manager=network-manager --disable-static --disable-gtk-doc --disable-silent-rules 
/home/gnome3/bin/gnome-autogen.sh
checking for autoconf >= 2.64...
  testing autoconf2.50... found 2.69
checking for automake >= 1.11...
  testing automake-1.12... not found.
  testing automake-1.11... found 1.11.6
Checking for forbidden M4 macros...
Running ./configure --prefix /home/gnome3 --libdir /home/gnome3/lib64 --with-context-manager=network-manager --disable-static --disable-gtk-doc --disable-silent-rules ...
/home/gnome3/bin/gnome-autogen.sh: line 530: ./configure: No such file or directory
---8<---
Comment 1 Theppitak Karoonboonyanan 2012-08-24 02:16:56 UTC
Created attachment 222275 [details] [review]
autogen.sh fix

* Detect $srcdir from command line
* Create m4 subdir under $srcdir, not $builddir
* Source gnome-autogen.sh in the same shell so that $srcdir is applied
Comment 2 Jens Georg 2012-11-30 14:44:01 UTC
Committed slightly modified version of the patch