[Xfce-bugs] [Bug 10899] New: can't build xfce4-dev-tools in an alternate location
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Wed May 21 21:46:51 CEST 2014
https://bugzilla.xfce.org/show_bug.cgi?id=10899
Bug ID: 10899
Summary: can't build xfce4-dev-tools in an alternate location
Classification: Xfce
Product: Xfce4-dev-tools
Version: 4.10.0
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Medium
Component: General
Assignee: xfce-bugs at xfce.org
Reporter: naj at snapcon.com
Created attachment 5493
--> https://bugzilla.xfce.org/attachment.cgi?id=5493&action=edit
fix xdt-autogen dependency in scripts/Makefile.am
While trying to build xfce4-dev-tools on Solaris and Linux, I found that I was
unable to build in a location other than the source directory. The GNU auto*
tools are designed so that software can be unpacked in one location and built
in a separate location.
To reproduce this perform the following:
$ git clone git://git.xfce.org/xfce/xfce4-dev-tools
$ mkdir -p build/$(uname -s)-$(uname -p)
$ cd xfce-4-dev-tools
$ NOCONFIGURE=true ./autogen.sh
$ cd ../build/$(uname -s)-$(uname -p)
$ ../../xfce4-dev-tools/configure
$ make
Making all in m4macros
make[1]: Entering directory `/tmp/test/build/Linux-x86_64/m4macros'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/test/build/Linux-x86_64/m4macros'
Making all in scripts
make[1]: Entering directory `/tmp/test/build/Linux-x86_64/scripts'
make[1]: *** No rule to make target
`../../../xfce4-dev-tools/scripts/xdt-autogen.in', needed by `xdt-autogen'.
Stop.
make[1]: Leaving directory `/tmp/test/build/Linux-x86_64/scripts'
make: *** [all-recursive] Error 1
When it gets to building in the 'scripts' directory, it can't make the
$(srcdir)/xdt-autogen.in target because it was generated in the current
directory by configure, which is not the source directory. This appears to
have been initially checked in this way.
The fix is to remove $(srcdir) from the name of the dependency in the
xdt-autogen target in scripts/Makefile.am.
I have attached a patch.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list