[Dovecot] configure: error: unrecognized option: --docdir=/usr/share/doc/dovecot-2.0.11

Bruce Cheng itlist at gmail.com
Thu Apr 7 15:04:37 EEST 2011


Dear Timo,

You are very top. I found the the newer version of autoconf via
http://rpmfind.remotelan.net/linux/rpm2html/search.php?query=autoconf.
After upgrading it, I can rebuild the rpms.

But when I install the rpms, it failed again.

[root at testmail SPECS]# rpm -ivh
/usr/src/redhat/RPMS/x86_64/dovecot-2.0.11-1_126.x86_64.rpm
/usr/src/redhat/RPMS/x86_64/dovecot-devel-2.0.11-1_126.x86_64.rpm
Preparing...                ########################################### [100%]
   1:dovecot                ########################################### [ 50%]
/var/tmp/rpm-tmp.63117: line 3: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.63117: line 3: `fi'
error: %post(dovecot-2.0.11-1_126.x86_64) scriptlet failed, exit status 2
   2:dovecot-devel          ########################################### [100%]

Is there any one met the same problem like this ?

Please advise me and thank you in advance.

2011/4/6 Timo Sirainen <tss at iki.fi>:
> On 6.4.2011, at 8.09, Bruce Cheng wrote:
>
>> I tried to upgrade automake and autoconf, but they all are new enough.
>>
>> Package automake-1.9.6-2.3.el5.noarch already installed and latest version
>> Package autoconf-2.59-12.noarch already installed and latest version
>
> The --docdir option exists only if you have autoconf 2.60.
>
>



-- 
Best Regards,
Bruce


More information about the dovecot mailing list