php5 upgrade today
Mark Hattam
mark at dxradio.demon.co.uk
Fri May 23 15:21:00 PDT 2008
At 16:54 -0500 23/5/08, Ryan Schmidt wrote:
>On May 23, 2008, at 15:36, Mark Hattam wrote:
>
>>I saw Ryandesign's php update this morning, and I just ran a
>>
>>Powerbook:~ $ sudo port -d selfupdate
>>
>>then a
>>
>>Powerbook:~ $ sudo port outdated
>>The following installed ports are outdated:
>>php5 5.2.6_0 < 5.2.6_1
>>
>>But then doing a upgrade outdated failed ...
>>
>>Powerbook:~ $ sudo port upgrade outdated
>>---> Activating php5 5.2.6_0+apache2+macosx+mysql5+sqlite
>>Error: Activating php5 5.2.6_0 failed: Image error: php5
>>@5.2.6_0+apache2+macosx+mysql5+sqlite is already active.
>>
>>the "upgrade outdated" usually works for me, so what am I doing wrong
>>this time?
>
>hmm.... I have to recommend uninstalling your php5 and cleaning your
>php5 work directory, then building the new one.
>
>sudo port -f uninstall php5 @5.2.6_0+apache2+macosx+mysql5+sqlite
>sudo port clean --work php5
>sudo port install php5 +apache2 +mysql5 +sqlite
Hmm ... that started off OK, but then got much worse ...
Powerbook:~ $ sudo port outdated
The following installed ports are outdated:
php5 5.2.6_0 < 5.2.6_1
Powerbook:~ $ sudo port upgrade outdated
---> Activating php5 5.2.6_0+apache2+macosx+mysql5+sqlite
Error: Activating php5 5.2.6_0 failed: Image error: php5
@5.2.6_0+apache2+macosx+mysql5+sqlite is already active.
Powerbook:~ $ sudo port -f uninstall php5 @5.2.6_0+apache2+macosx+mysql5+sqlite
---> Deactivating php5 5.2.6_0+apache2+macosx+mysql5+sqlite
---> Uninstalling php5 5.2.6_0+apache2+macosx+mysql5+sqlite
Powerbook:~ $ sudo port clean --work php5
Portfile changed since last build; discarding previous state.
---> Cleaning php5
Powerbook:~ $ sudo port install php5 +apache2 +mysql5 +sqlite
---> Fetching XFree86
Error: Target org.macports.fetch returned:
You have an Apple X11SDK installation already.
MacPorts will not overwrite it.
If you wish to use Apple X11,
install it from your Mac OS X install disc.
If you really want to use XFree86 instead,
please move it aside first :
sudo mv /usr/X11R6 /usr/X11R6.apple
Error: The following dependencies failed to build: gd2 XFree86 fontconfig
Error: Status 1 encountered during processing.
Mark
More information about the macports-users
mailing list