On Wed, 17 May 2006 18:48:01 +0200, Jean-François Lemaire wrote:
On Sunday 14 May 2006 22:26, Thomas Leonard wrote:
CC'd. Mike, is using --enable-binreloc to build the binary RPM sensible? I found this post from 2004 about it:
http://permalink.gmane.org/gmane.comp.autopackage.devel/677
It doesn't look like there would be a problem building the RPM with this turned on.
I've just taken a look at the source package but I don't find where to set the option. There is no configure.in file. Any ideas?
Try the .spec file. I'm on a Debian system so I can't check, but you probably want something like this (not sure which path is taken so I added it to both!):
if [ ! -x configure ]; then CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS --prefix=%{_prefix} --localstatedir=%{_localstatedir} --sysconfdir=%{_sysconfdir} --enable-binreloc else %configure --enable-binreloc fi
HTH,