Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cyrus sasl2 configure/make errors

Status
Not open for further replies.

Borvik

Programmer
Jan 2, 2002
1,392
US
hey all,

I'm trying to setup a mail server on FC4, with cyrus sasl2, postfix, and dbmail.

I've successfully done postfix and dbmail on another server (which I plan on taking down as soon as I get this other one setup).

According to a howto in the dbmail wiki I should start with cyrus - so that's what I'm doing.

I've downloaded the cyrus-sasl-2.1.21.tar.gz, and followed the instructions as close as possible. At first I had problems getting the configure script to find and incorporate the mysqlclient (which I had to modify the configure script more than just what the wiki howto showed), but it now finds it.

So next, I run make.

However, make exits with several errors with something about static declaration of 'global_callbacks' as well as some other errors after that (which I can post if needed).

Does anyone know of a good HowTo to install cyrus-sasl2 with mysql support? Or do they know how to do it, and can point me in the right direction?

thanks
 
When I installed cyrus-imapd integrated with postfix and mysql via SASL I used the pam_mysql module to do the database access. I think that's the preferred method.

As far as your actual problem, however, do you have all the devel rpms for mysql, sasl, etc. installed? You may also consider using the src rpms for the packages you need to build and modify the spec files, since the rpm maintainers do a lot of Fedora specific fixups on the source.
 
Thanks for the reply ericbrunson!

I did have the devel rpms installed for MySQL.

At the point of trying to install cyrus-sasl2 I had the following installed:

FC4 - stock with default development packages (I think it was like 48/58 packages).
MySQL server 5 (via RPM)
MySQL client 5 (via RPM)
MySQL devel 5 (via RPM)
Apache 2 (via source)
PHP 5 (via source)

I won't be using the cyrus-imapd, rather I'll be using the dbmail pop3 and imap daemons.

How is the pam_mysql different from the integrated sql that I was trying to do?
Also - where might I find the src rpms for cyrus-sasl2 as well as a how-to on what to change to accomplish what I need?

I have the src RPM for postfix that I have modified to work with mysql, so that won't be a problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top