3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Build authlib rpm...
FromSent OnAttachments
Bowie BaileyFeb 14, 2006 8:11 am 
Jay LeeFeb 14, 2006 8:20 am 
Jeff JansenFeb 14, 2006 8:59 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Build authlib rpm without mysql and postgresqlActions...
From:Jay Lee (jl@pbu.edu)
Date:Feb 14, 2006 8:20:50 am
List:net.sourceforge.lists.courier-users

On Tue, February 14, 2006 11:11 am, Bowie Bailey wrote:

I am trying to update my main mailserver, but I am having problems building the rpms. $ rpmbuild -tb courier-authlib-0.58.tar.bz2 error: Failed build dependencies: mysql-devel is needed by courier-authlib-0.58-1.2 postgresql-devel is needed by courier-authlib-0.58-1.2 I am not intending on using either mysql or postgres on this system and I would prefer not to have to install them.

You can install them for the build and remove them later. Or do as Sam recommends and have a devel. machine that you build the RPMs on and a production machine that you install just the RPMs you need on. Common Unix wisdom says that you should not have even a compiler on a production machine but few follow this practice nowadays.

I attempted to install the rpms, but mysql gave me dependency problems and the postgres install produced a seg fault.

What distro? Did you follow the deps? Why don't you use a tool like apt-get, yum or up2date so that the deps are automatically installed also?

Can I modify the courier-authlib.spec file so that it does not require or build these modules? (All I really need is the userdb module)

Bad idea, your much better off just installing the neccessary rpms to build Courier normally.

Jay