Hello<br><br>I'm attempting to configure Dovecot with mysql support so I'm able to have a single database of users and point both postfix and dovecot to this db.<br><br>I currently have an rpm src that I have download and placed in my RPMBUILDROOT of my linux box.
<br><br>Next I configured the .spec file and attempted to run a rpmbuild -bb<br><br>Near the end of the install phase I receive an error which has me stumped.<br><br>I ran rpmbuild again and used the -bi --short-circuit options and logged the output for you to see.
<br><br>Any help would be greatly appreciated.....<br><br>rpmbuild -bi --short-circuit dovecot-fc5.spec<br><br>Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.44599 Making install in src<br>make[1]: Entering directory `/usr/src/redhat/BUILD/dovecot-
1.0.beta7/src'<br>Making install in lib<br>make[2]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib'<br>make[3]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib'<br>make[3]: Nothing to be done for `install-exec-am'.
<br>make[3]: Nothing to be done for `install-data-am'.<br>make[3]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib'<br>make[2]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib'<br>Making install in lib-dict
<br>make[2]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-dict'<br>make[3]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-dict'<br>make[3]: Nothing to be done for `install-exec-am'.
<br>make[3]: Nothing to be done for `install-data-am'.<br>make[3]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-dict'<br>make[2]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-dict'
<br>Making install in lib-sql<br>make[2]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-sql'<br>make[3]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-sql'<br>make[3]: Nothing to be done for `install-exec-am'.
<br>make[3]: Nothing to be done for `install-data-am'.<br>make[3]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-sql'<br>make[2]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-sql'
<br>Making install in lib-ntlm<br>make[2]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-ntlm'<br>make[3]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-ntlm'<br>make[3]: Nothing to be done for `install-exec-am'.
<br>make[3]: Nothing to be done for `install-data-am'.<br>make[3]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-ntlm'<br>make[2]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-ntlm'
<br>Making install in lib-settings<br>make[2]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-settings'<br>make[3]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-settings'<br>
make[3]: Nothing to be done for `install-exec-am'.<br>make[3]: Nothing to be done for `install-data-am'.<br>make[3]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-settings'<br>make[2]: Leaving directory
<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-settings'<br>Making install in lib-charset<br>make[2]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-charset'<br>make[3]: Entering directory<br>
`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-charset'<br>make[3]: Nothing to be done for `install-exec-am'.<br>make[3]: Nothing to be done for `install-data-am'.<br>make[3]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-
1.0.beta7/src/lib-charset'<br>make[2]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-charset'<br>Making install in lib-mail<br>make[2]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7
/src/lib-mail'<br>make[3]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-mail'<br>make[3]: Nothing to be done for `install-exec-am'.<br>make[3]: Nothing to be done for `install-data-am'.<br>make[3]: Leaving directory
<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-mail'<br>make[2]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-mail'<br>Making install in lib-imap<br>make[2]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-
1.0.beta7/src/lib-imap'<br>make[3]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-imap'<br>make[3]: Nothing to be done for `install-exec-am'.<br>make[3]: Nothing to be done for `install-data-am'.<br>
make[3]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-imap'<br>make[2]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-imap'<br>Making install in lib-index<br>make[2]: Entering directory
<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-index'<br>make[3]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-index'<br>make[3]: Nothing to be done for `install-exec-am'.<br>make[3]: Nothing to be done for `install-data-am'.
<br>make[3]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-index'<br>make[2]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-index'<br>Making install in lib-storage<br>make[2]: Entering directory
<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage'<br>Making install in index<br>make[3]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index'<br>Making install in maildir<br>make[4]: Entering directory
<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index/maildir'<br>make[5]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index/maildir'<br>make[5]: Nothing to be done for `install-exec-am'.
<br>make[5]: Nothing to be done for `install-data-am'.<br>make[5]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index/maildir'<br>make[4]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-
1.0.beta7/src/lib-storage/index/maildir'<br>Making install in mbox<br>make[4]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index/mbox'<br>make[5]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-
1.0.beta7/src/lib-storage/index/mbox'<br>make[5]: Nothing to be done for `install-exec-am'.<br>make[5]: Nothing to be done for `install-data-am'.<br>make[5]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index/mbox'
<br>make[4]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index/mbox'<br>Making install in dbox<br>make[4]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index/dbox'
<br>make[5]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index/dbox'<br>make[5]: Nothing to be done for `install-exec-am'.<br>make[5]: Nothing to be done for `install-data-am'.<br>make[5]: Leaving directory
<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index/dbox'<br>make[4]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index/dbox'<br>make[4]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-
1.0.beta7/src/lib-storage/index'<br>make[5]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index'<br>make[5]: Nothing to be done for `install-exec-am'.<br>make[5]: Nothing to be done for `install-data-am'.
<br>make[5]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index'<br>make[4]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index'<br>make[3]: Leaving directory
<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/index'<br>Making install in subscription-file<br>make[3]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/subscription-file'<br>make[4]: Entering directory
<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/subscription-file'<br>make[4]: Nothing to be done for `install-exec-am'.<br>make[4]: Nothing to be done for `install-data-am'.<br>make[4]: Leaving directory<br>
`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/subscription-file'<br>make[3]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/subscription-file'<br>Making install in register<br>make[3]: Entering directory
<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/register'<br>make&nbsp; install-am<br>make[4]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/register'<br>make[5]: Entering directory
<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/register'<br>make[5]: Nothing to be done for `install-exec-am'.<br>make[5]: Nothing to be done for `install-data-am'.<br>make[5]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-
1.0.beta7/src/lib-storage/register'<br>make[4]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/register'<br>make[3]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage/register'
<br>make[3]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage'<br>make[4]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage'<br>make[4]: Nothing to be done for `install-exec-am'.
<br>make[4]: Nothing to be done for `install-data-am'.<br>make[4]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage'<br>make[3]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage'
<br>make[2]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-storage'<br>Making install in lib-auth<br>make[2]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-auth'<br>make[3]: Entering directory
<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-auth'<br>make[3]: Nothing to be done for `install-exec-am'.<br>make[3]: Nothing to be done for `install-data-am'.<br>make[3]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-
1.0.beta7/src/lib-auth'<br>make[2]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/lib-auth'<br>Making install in auth<br>make[2]: Entering directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/auth'
<br>/bin/sh ../../libtool --mode=link --tag=CC gcc&nbsp; -std=gnu99 -O2 -g<br>-march=i386 -mcpu=i686 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 <br>-Wbad-function-cast -I/usr/kerberos/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -o dovecot-auth&nbsp; 
auth.o <br>auth-cache.o auth-client-connection.o auth-master-connection.o auth-master-listener.o auth-module.o auth-request.o auth-request-handler.o auth-stream.o auth-worker-client.o auth-worker-server.o db-ldap.o db-sql.o
 db-passwd-file.o main.o mech.o mech-anonymous.o mech-plain.o mech-login.o mech-cram-md5.o mech-digest-md5.o mech-ntlm.o mech-gssapi.o mech-rpa.o mech-apop.o passdb.o passdb-blocking.o passdb-bsdauth.o passdb-cache.o passdb-ldap.o
 passdb-passwd.o passdb-passwd-file.o passdb-pam.o passdb-checkpassword.o passdb-shadow.o passdb-vpopmail.o passdb-sql.o userdb.o userdb-blocking.o userdb-ldap.o userdb-passwd.o userdb-passwd-file.o userdb-prefetch.o userdb-static.o
 userdb-vpopmail.o userdb-sql.o libpassword.a ../lib-settings/libsettings.a ../lib-ntlm/libntlm.a ../lib-sql/libsql.a ../lib/liblib.a -lcrypt&nbsp; -lpam -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lldap&nbsp; -L/usr/lib/mysql -lmysqlclient -lz -lm&nbsp; -export-dynamic -ldl gcc -std=gnu99 -O2 -g -march=i386 -mcpu=i686 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/kerberos/include -o dovecot-auth 
auth.o auth-cache.o auth-client-connection.o auth-master-connection.o auth-master-listener.o auth-module.o auth-request.o auth-request-handler.o auth-stream.o auth-worker-client.o auth-worker-server.o db-ldap.o db-sql.o db-passwd-file.o
 main.o mech.o mech-anonymous.o mech-plain.o mech-login.o mech-cram-md5.o mech-digest-md5.o mech-ntlm.o mech-gssapi.o mech-rpa.o mech-apop.o passdb.o passdb-blocking.o passdb-bsdauth.o passdb-cache.o passdb-ldap.o passdb-passwd.o
 passdb-passwd-file.o passdb-pam.o passdb-checkpassword.o passdb-shadow.o passdb-vpopmail.o passdb-sql.o userdb.o userdb-blocking.o userdb-ldap.o userdb-passwd.o userdb-passwd-file.o userdb-prefetch.o userdb-static.o userdb-vpopmail.o
 userdb-sql.o -Wl,--export-dynamic&nbsp; libpassword.a ../lib-settings/libsettings.a ../lib-ntlm/libntlm.a ../lib-sql/libsql.a ../lib/liblib.a -lpam<br>-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lldap -L/usr/lib/mysql /usr/lib/mysql/libmysqlclient.a -lcrypt -lnsl -lc -lnss_files -lnss_dns -lresolv -lz -lm -ldl
<br>make[2]: Leaving directory<br>`/usr/src/redhat/BUILD/dovecot-1.0.beta7/src/auth'<br>make[1]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.beta7/src'<br><br><br>RPM build errors:<br>/BUILD/dovecot-1.0.beta7/src/lib/sha1.c:233: first defined here
<br>/usr/bin/ld: Warning: size of symbol `sha1_result' changed from 190 in<br>../lib/liblib.a(sha1.o) to 126 in /usr/lib/mysql/libmysqlclient.a(sha1.o)<br>collect2: ld returned 1 exit status<br>make[2]: *** [dovecot-auth] Error 1
<br>make[1]: *** [install-recursive] Error 1<br>make: *** [install-recursive] Error 1<br>error: Bad exit status from /var/tmp/rpm-tmp.44599 (%install)<br>&nbsp;&nbsp;&nbsp; Bad exit status from /var/tmp/rpm-tmp.44599 (%install)<br><br>Thanks,
<br><br>-m3