On Fri, Feb 21, 2003 at 11:46:03AM -0500, S. William Schulz wrote: > Hello, > > Trying to build courier-imap 1.7.0 on a RH 7.3 (plus updates) system. > When I try to start the build, I get the following error: > > [ss@rigel ss]$ rpm -ta courier-imap-1.7.0.tar.bz2 > error: failed build dependencies: > fam-devel is needed by courier-imap-1.7.0-1.7.3 > postgresql-devel is needed by courier-imap-1.7.0-1.7.3 > mysql-devel is needed by courier-imap-1.7.0-1.7.3 > openldap-servers is needed by courier-imap-1.7.0-1.7.3 > > > I'd expect this if I had fam, postgresql, mysql, etc installed without > the -devel packages, but none of them are installed: > > [ss@rigel ss]$ rpm -qa | grep -i mysql > [ss@rigel ss]$ rpm -qa | grep -i postgres > [ss@rigel ss]$ rpm -qa | grep -i fam > > I'm not sure why they all end up in the BuildPreReq's: > > BuildPreReq: textutils openssl-devel fileutils rpm >= 4.0.2 sed perl > gdbm-devel pam-devel fam-devel postgresql-devel openldap-devel > mysql-devel openldap-servers > > > Is there something I'm missing or a way to turn that off other than by > editing the spec file? Or is that the preferred method?
Strictly speaking, if you're not going to use postgresql, mysql or ldap, you don't need the -devel packages, and you can build courier without them. fam provides enhanced functionality for courier-imap, but again, it's not necessary. I think Sam added all these dependencies in because a lot of people were trying to build without the -devel packages, and failing, and then asking for help on the list. You can build without them by extracting and editing the spec file. Alternatively (this is more trouble than it's worth, I think), you can use rpm to do a pseudo-installation of the -devel packages (ie. don't install the files, just update the RPM database) and this will keep RPM happy, but when courier-imap is built, it won't find the files, and it will be built without support for those packages. -- Anand Buddhdev http://anand.org ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
