Peer Oliver Schmidt writes:

Thanks Matt.
On Mon, Mar 24, 2003 at 06:20:00PM +0100, Peer Oliver Schmidt enlightened us:
today, I tried to build RPMs for Redhat 7.2 with the following command:
--without-authpwd --with-authpgsql --with-authldap --without-authmysql downloads/courier-0.42.0.20030319.tar.bz2
error: failed build dependencies:
mysql-devel is needed by courier-0.42.0.20030319-1.7.2
The .spec file specifically requires mysql-devel (check for a BuildRequires:
line). You can probably edit it, shove it back in the tarball, and continue
along happily.

Anyone know if there is a reason for this, or just a small error in the .spec file?

The reason is so that an rpmbuild of the source tarball should explicitly compile and build everything, with all the bells-and-whistles enabled. MySQL authentication support gets built into an optional subpackage. The target installation machine does not need to have MySQL installed, but the build matchine, where all the software is compiled, needs to have all the software libraries installed.


Otherwise, someone who wants to have MySQL authentication, but forgets to install the MySQL development libraries (only the MySQL runtime) will wonder why the MySQL subpackage is empty and doesn't contain anything.



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to