On Tue, February 14, 2006 11:49 am, Bowie Bailey wrote:
> 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

Old and outdated.  Especially if you've never installed any of the
updates.  Your running a box that could quite easily get rooted.

> 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.

Up2date is installed by default as is yum (I think yum, maybe yum was only
post FC3).

> The deps mysql wanted were the Perl DBI packages.  The DBI modules might
> be there, but if so, they were installed from CPAN.

Bad idea.  Put the RPM on.

> 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

Bad.  Maybe it's a good time to start clean...  Your box appears borked,
that's not really Courier's 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.

Your box is broken.  Yes, you could modify the .spec file to remove the
requires and disable the unneeded auth libs but your not really fixing the
problem, you're just working around it.  My advice would be to start clean
if you can.  Maybe give CentOS 4.2 a whirl since it has a much slower
devel. pace than Fedora Core.  Or, go for FC4 but if you're going to use
Fedora, you really should be willing to keep pace with Fedora's releases
which basically means yearly upgrades.

Jay
-- 
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--


-------------------------------------------------------
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

Reply via email to