[Dovecot] BUG: Bad grep when building dovecot?

Andrew Lentvorski bsder at allcaps.org
Mon May 12 02:19:27 EEST 2008


Is dovecot *really* that picky about grep, or did it just happen to pick 
up an autoconf that's being overly pedantic?

I saw this message a couple of times when googling, but no particularly 
good solution presents itself.  I'll probably give it a new GNU grep 
just to get it to shut up, but I'm a bit surprised.

I tried to compile dovecot in an OpenSolaris 2008.5 system in a zone 
(which is quite a bit more minimal than base OpenSolaris).

bash-3.2# uname -a
SunOS postfix-s0 5.11 snv_86 i86pc i386 i86pc

bash-3.2# ./configure --help
`configure' configures dovecot 1.0.12 to adapt to many kinds of systems.

bash-3.2# which grep
/usr/bin/grep
bash-3.2# grep -v
Usage: grep -hblcnsviw pattern file . . .
bash-3.2# which egrep
/usr/bin/egrep

Error in configure:
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) none
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... configure: error: no 
acceptable grep could be found in 
/opt/SunStudioExpress/bin:/usr/sbin:/usr/bin:/usr/xpg4/bin

Thanks,
-a




More information about the dovecot mailing list