Subject: Re: Installing mod_perl + mod_ssl together on same apache 2 -- SOLVED
To: None <netbsd-help@netbsd.org>
From: Gan Uesli Starling <alias@starling.us>
List: netbsd-help
Date: 01/12/2004 19:18:08
>>I have already mod_ssl on apache2. Now I'd like to add mod_perl.
>>I got this when I ran "make" on /usr/pkgsrc/www/ap2-perl.
>>
>><snip>
>>===> Installing for apache-2.0.47
>>===> Becoming root@baal.amalekite.net to install apache-2.0.47.
>>/usr/pkg/bin/sudo ===> apache-2.0.47 conflicts with installed package(s):
> 
> apache-2.0.43  found.
> 
>>*** They install the same files into the same place.
>>*** Please remove apache-2.0.43  first with pkg_delete(1).
>>*** Error code 1
>></snip>
>>
>>My question is this: What will become of my ap2-ssl on that
>>server? I expect it will be wiped out, yes? And also my config
>>stuff for mod_ssl. How can I install mod_perl and not do any
>>damage to my mod_ssl and other config stuff?
>>
>>TIA,
>>
>>Gan

Daniel Eggert wrote:
> Hi Gan,
>
> First: If you deinstall a pkg you config file will not be removed. Secondly:
> What you need is to update apache (that is, what the pkgsrc system is trying
> to do, but somehow failing). I think the easiest solution would be to
>     cd /usr/pkgsrc/www/apache2
>     make clean
>     make update
> This will update www/apache2 (and packages that depend on www/apache2 such
> as your mod_ssl). Then
>     cd /usr/pkgsrc/www/ap2-perl
>     make install
> I hope this helps. If it does, please post the answer on the list.
>
> /Daniel
>

Yes. That was it exactly. In retrospect it had ought to have been obvious. I
just quailed at the prospect of messing up something which has so far worked
most reliably.

Thank you,

Gan

-- 

  Mistera Sturno - Rarest Extinct Bird

  <(+)__       Gan Uesli Starling
   ((__/)=-    Kalamazoo, MI, USA
    `||`
     ++        http://starling.us