The problem is that it refuses to recognize the uninstall command.  I don't really want to go through the hassle of reinstalling macports because I have other ports installed on my machine and I don't want to have to wait until sometime tomorrow for everything to finish compiling. But if that is the only way to fix this php and uninstall issue then I guess that is what I will have to do.

$ sudo /opt/local/bin/port -f uninstall pcre @4.5_0                                
Password:
Error: port uninstall failed: invalid command name "portuninstall::uninstall"

I am really sorry for taking up so much of your time but I appreciate the help.

thanks,
Evan

On 6/2/07, Jyrki Wahlstedt <jwa@macports.org> wrote:

On 2.6.2007, at 20.49, Evan Burrows wrote:

> Here are the dependencies for php5 on my machine:
>
> php5 has library dependencies on:
>        libxml2
>        libxslt
>        openssl
>        zlib
>        libiconv
>        expat
>        gettext
>        tiff
>        mhash
>        libmcrypt
>        curl
>        pcre
>        jpeg
>        libpng
>        freetype
>
> When i originally tried installing php5 again it required a higher
> version
> of pcre than i had.  so I deactivated the old version and installed
> the new
> version:
> The following ports are currently installed:
>  pcre @4.5_0 (active)
>  pcre @7.1_1+utf8
>
>
>
> But I can't see to deactivate the 4.5_0 version because i get the
> error i
> stated earlier.  I did a selfupdate yesterday and again this
> morning before
> trying to uninstall and install php5 but still had the same
> problems.  Like
> I said earlier I have been able to install other ports so it isn't
> like my
> whole macports installation is busted.  Just php5 is giving me an
> issue
> right now.
>
Hi,
looking at this, I'd suggest the following: 'port -f uninstall pcre
@4.5_0' followed by 'port activate pcre @7.1_1+utf8'. Good that other
ports behave well!

!
! Jyrki Wahlstedt
!       skype:jyrkiwahlstedt
!       http://www.wahlstedt.fi/jyrki/
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0  A780
6366 EFD9 139C C386