On 15/11/12 13:37, Phil Mayers wrote:
On 15/11/12 13:15, Alan DeKok wrote:
Phil Mayers wrote:
Making all in src/include...
gmake[4]: *** [features.h] Error 1

   Ah.  I had fixed that for the new make, but not the old system.  I've
pushed a fix.

That's not it sadly :o(



Ok, I know what it is.

If your locale is UTF-8, grep defaults to using PCRE regexps it seems. The existing regexp is such:

  grep "^\#define\s*WITH_.*" autoconf.h

Note the "\s". However, inside the rpmbuild environment, this doesn't work, though "grep -P" explicitly does.

I suspect it would be safer to avoid PCRE in grep, and use this:

  egrep '^#define[[:space:]]+WITH_.*'

...which also works. I had to hook onto the "Makefile" with a "bash" callout to find this out!
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to