Jay Lee wrote: > 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?
Fedora Core 2 I never configured any of the automatic update tools on this system. If I was doing it again, I would, but it's a bit late now. The deps mysql wanted were the Perl DBI packages. The DBI modules might be there, but if so, they were installed from CPAN. And, as I said, the postgres install just crashed: # rpm -i postgresql-devel-7.4.7-3.FC2.1.i386.rpm postgresql-libs-7.4.7-3.FC2.1.i386.rpm warning: postgresql-devel-7.4.7-3.FC2.1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2 Segmentation fault > > 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. Why? The courier-authlib.spec file produces several separate rpms. Why do I have to build all of them if I'm only going to install two? I'm not really adverse to installing the required packages and building everything, I just don't want to spend lots of time debugging the installation of packages that are only being installed to satisfy the build requirements of a package I will never use. -- Bowie ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
