Fwd: more woes with php 5.2.6

Harry van der Wolf hvdwolf at gmail.com
Sat Aug 2 07:17:12 PDT 2008


Sorry, I can't get used to not directly hit reply instead of first selecting
the macports-users......   mail address.


---------- Forwarded message ----------
From: Harry van der Wolf <hvdwolf at gmail.com>
Date: 2008/8/2
Subject: Re: more woes with php 5.2.6
To: Tabitha McNerney <tabithamc at gmail.com>





$ port -v install php5 +macosx+apache2+mysql5+postgresql81
>
> I receive this error:
>
> *Error*: *Requested variants do not match original selection*.
> Please perform 'port clean php5' or specify the force option.
> Error: Status 1 encountered during processing.
>
> Indeed, if I rebuild with the force option like this:
>
> $ port -v -f install php5 +macosx+apache2+mysql5+postgresql81
>
> Then everything builds and installs to expectation, no errors.
>
> I was wondering why the initial attempt (without the force) gives me the
> Error message? Just what is the "original selection" and why would the
> variants not match?
>

You tried to build php5  before and it "broke" somewhere in the entire
fetch, configure, build, destroot, install fases.  It broke in such a way
that MacPorts can't pick it up and that's why it is saying: Please perform
'port clean php5'.
If you do a clean it will remove all fases (in this case: remove the mess)
of the process.
After the "sudo port clean <portname>", you can do a normal, regular "port
-v install php5 +macosx+apache2+mysql5+postgresql81"  without the force
setting.

Harry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080802/3a1b8197/attachment.html 


More information about the macports-users mailing list