[Dovecot] Re: Cannot build rpm with mysql support from dovecot.spec

Erick Perez eaperezh at gmail.com
Wed Nov 2 06:28:55 EET 2005


Forgot to mention that Mailwatch, SpamAssasin and MailScanner are in
the package list.


On 11/1/05, Erick Perez <eaperezh at gmail.com> wrote:
> I've been playing for hours with the dovecot.spec file to build
> --with-mysql. The resulting RPM builds fine but when dovecot runs it
> does not recognize the passdb mysql statement.
>
> I also noted that the spec file has a version of 1.0-stable and
> rpmbuild complains about an invalid '-' in the version.
>
> Being a newbie in rpmbuild, can someone assist me in building for
> CentOS 4 on i386? standard build options but --with-mysql added.
>
> I also tried to install it from sources and it does not work (at least
> for me). Being a RPM user now I have to clean what the source
> installation did and i have no clue where the 'make install' placed
> files.
>
> BTW I am trying to build a manual (pdf, html) with the following
> config and im only stuck with dovecot, the other daemons are ready.
>
> Target Server: CentOS 4 with apache, postfix, mysql, dovecot,
> openwebmail,clamav, clamd, php,zlib,openssh, webmin and samba. All
> virtual running from mysql where possible, no local users no local
> storage (all to the mysql db/tables).
>
> Not wanted: postgresql, courier,vpopmail,kerberos,sasl,ssl (that might
> be in manual v2.0 if 1.0 ever sees the light)
> The system does not have X (no need for fancy graphs)
>
> file used: http://www.dovecot.org/nightly/stable/dovecot-stable-20051102.tar.gz
>
> RPMs Used: All RPMs that can be located in the CentOS 4 CDs so new
> users (like me) can do as much as needed without downloading.
>
> Devel RPMs: All devel (mysql, pam, openssl) are installed and they are
> recognized at building time.
>
> Your help will be appreciated in this task.
>
>
>
> Thanks,
>
>
> --
>
> -------------------------------------------
> Erick Perez
> Linux User 376588
> http://counter.li.org/  (Get counted!!!)
> Panama, Republic of Panama
>


--

-------------------------------------------
Erick Perez
Linux User 376588
http://counter.li.org/  (Get counted!!!)
Panama, Republic of Panama


More information about the dovecot mailing list