[Dovecot] Error Building v2.2
Nikolaos Milas
nmilas at noa.gr
Tue Mar 26 21:40:34 EET 2013
On 26/3/2013 4:42 μμ, Christian Wiese wrote:
> most probably calling autogen.sh right after the "pushd
> dovecot-2.2-pigeonhole-0.3.4" might be a good idea
I found I needed to add:
%{_builddir}/%{name}-%{version}/dovecot-2.2-pigeonhole-%{pigeonholever}/autogen.sh
....at the suggested point (calling autogen.sh alone would not work).
Also I had to add (at the %files section):
%{_libdir}/dovecot/libssl_iostream_openssl.so
...because otherwise I got the error:
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/lib64/dovecot/libssl_iostream_openssl.so
And, finally, build was finished successfully.
I haven't installed/tested it yet, but at least RPMs were created fine.
I'll post the final package soon in case someone would like to use it.
However, on CentOS 5, it didn't work. autoreconf did not output errors
after I installed gettext-devel but it again threw:
+ ./configure --build=x86_64-redhat-linux-gnu
--host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info 'INSTALL_DATA=install -c -p -m644'
--docdir=/usr/share/doc/dovecot-2.2.0 --disable-static --disable-rpath
--with-nss --with-shadow --with-pam --with-gssapi=plugin
--with-ldap=plugin --with-sql=plugin --with-pgsql --with-mysql
--with-sqlite --with-zlib --with-libcap --with-ssl=openssl
--with-ssldir=/etc/pki/dovecot --with-solr --with-docs --with-bzlib
configure: error: unrecognized option: --docdir=/usr/share/doc/dovecot-2.2.0
Any other suggestions?
Thanks again for your valuable guidance.
Nick
More information about the dovecot
mailing list