On Wed, 15 Dec 2004 09:55, you wrote:
> On Wed, 15 Dec 2004 09:30, Noah wrote:
> > On Tue, 14 Dec 2004 14:52:53 -0800, Derrick Ryalls wrote
> >
> > > > what is the cleanest way to get PHP4 installed here?  There are a lot
> > > > of programs that have dependancies on mod_php4.  how do I update all
> > > > those dependancies to the latest version of mod_php4?  and then how
> > > > do I cleanly remove all those older versions of mod_php4?
> > > >
> > > > --- snip ---
> > > >
> > > > # make install clean
> > > > ===>  Installing for php4-4.3.9_1
> > > >
> > > > ===>  php4-4.3.9_1 conflicts with installed package(s):
> > > >      mod_php4-4.3.5_7,1
> > > >      mod_php4-4.3.6_1,1
> > > >      mod_php4-4.3.8_2,1
> > > >      mod_php4-4.3.9_1,1
> > > >
> > > >      They install files into the same place.
> > > >      Please remove them first with pkg_delete(1).
> > > > *** Error code 1
> > > >
> > > > Stop in /usr/ports/lang/php4.
> > >
> > > I recommend trying portupgrade (with the -N flag I believe)
> >
> > I think I am following you correctly here?
> >
> > --- snip ---
> >
> > # portupgrade -N mod_php4-4.3.9_1,1
> > # make install clean
> > ===>  Installing for php4-4.3.9_1
> >
> > ===>  php4-4.3.9_1 conflicts with installed package(s):
> >       mod_php4-4.3.5_7,1
> >       mod_php4-4.3.6_1,1
> >       mod_php4-4.3.8_2,1
> >       mod_php4-4.3.9_1,1
> >
> >       They install files into the same place.
> >       Please remove them first with pkg_delete(1).
> > *** Error code 1
> >
> > Stop in /usr/ports/lang/php4.
> >
> > --- snip ---
>
> Try portupgrade -rR php4\*
> The -N flag is for installing new packages, not upgrading existing ones.
> -rR should resolve all dependencies above & below php4. That should also
> remove all the old versions .
>
Oops,
I shouldn't answer things before I've woken up properly!
I missed the fact you had mod_php installed rather than php.
I believe you need to pkg_delete mod_php and then install php, since the 
Makefile for mod_php says:
CONFLICTS=      php4-4* php4-cli-4* php4-cgi-4*

Cheers,

-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc

Attachment: pgpiQLWBuGW3z.pgp
Description: PGP signature

Reply via email to