MacPorts 1.8.0

Mark Hattam mark at dxradio.demon.co.uk
Fri Aug 28 17:40:53 PDT 2009


On 28 Aug 2009, at 16:06, William Davis wrote:

>
> On Aug 28, 2009, at 10:48 AM, Frank J. R. Hanstick wrote:
>
>> sudo port upgrade --enforce-variants
>
>
> You need to type:
>
> sudo port upgrade outdated --enforce-variants
>
> As is, you are telling port to upgrade the port "nul" for which you  
> got the currently scheduled error mesg.
>
> William Davis


That command doesn't appear to work. I just upgraded MySQL5 and php5,  
found I had "skipping upgrade" lines due to non-matching variants, but  
when I then tried to use the --enforce-variants line it didn't do  
anything, and errored saying that "Error: --enforce-variants is not  
installed".


MacPorts base version 1.8.0 installed,
MacPorts base version 1.8.0 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you  
should run
   port upgrade outdated
The following installed ports are outdated:
mysql5                         5.0.84_0 < 5.0.85_0
mysql5-server                  5.0.84_0 < 5.0.85_0
php5                           5.3.0_1 < 5.3.0_2

iMac:~ mark$ sudo port upgrade outdated
Warning: Skipping upgrade since openssl 0.9.8k_0 >= openssl 0.9.8k_0,  
even though installed variants "" do not match "+darwin". Use 'upgrade  
--enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since readline 6.0.000_1 >= readline  
6.0.000_1, even though installed variants "" do not match "+darwin".  
Use 'upgrade --enforce-variants' to switch to the requested variants.
--->  Computing dependencies for mysql5
--->  Fetching mysql5
--->  Attempting to fetch mysql-5.0.85.tar.gz from http://ftp.plusline.de/mysql/Downloads/MySQL-5.0/
--->  Verifying checksum(s) for mysql5
--->  Extracting mysql5
--->  Applying patches to mysql5
--->  Configuring mysql5
The +server variant is obsolete. Please install the mysql5-server port  
instead.
--->  Building mysql5
--->  Staging mysql5 into destroot
--->  Deactivating mysql5 @5.0.84_0+server
--->  Computing dependencies for mysql5
--->  Installing mysql5 @5.0.85_0+server
--->  Activating mysql5 @5.0.85_0+server
--->  Cleaning mysql5
--->  Computing dependencies for mysql5-server
--->  Fetching mysql5-server
--->  Verifying checksum(s) for mysql5-server
--->  Extracting mysql5-server
--->  Configuring mysql5-server
--->  Building mysql5-server
--->  Staging mysql5-server into destroot
--->  Creating launchd control script
###########################################################
# A startup item has been generated that will aid in
# starting mysql5-server with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo launchctl load -w /Library/LaunchDaemons/ 
org.macports.mysql5.plist
###########################################################
--->  Deactivating mysql5-server @5.0.84_0
--->  Computing dependencies for mysql5-server
--->  Installing mysql5-server @5.0.85_0
******************************************************
* In order to setup the database, you might want to run
* sudo -u mysql mysql_install_db5
* if this is a new install
******************************************************
--->  Activating mysql5-server @5.0.85_0
--->  Cleaning mysql5-server
Warning: Skipping upgrade since bzip2 1.0.5_2 >= bzip2 1.0.5_2, even  
though installed variants "" do not match "+darwin". Use 'upgrade -- 
enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since apache2 2.2.11_0 >= apache2 2.2.11_0,  
even though installed variants "+darwin_9" do not match "+darwin 
+darwin_9". Use 'upgrade --enforce-variants' to switch to the  
requested variants.
--->  Computing dependencies for php5
--->  Fetching php5
--->  Verifying checksum(s) for php5
--->  Extracting php5
--->  Applying patches to php5
--->  Configuring php5
The +mysql5 variant has been replaced by the php5-mysql port
--->  Building php5
--->  Staging php5 into destroot
Note: php5 installs files outside the common directory structure.
--->  Deactivating php5 @5.3.0_1+apache2+macosx+mysql5
--->  Computing dependencies for php5
--->  Installing php5 @5.3.0_2+apache2+macosx+mysql5
--->  Activating php5 @5.3.0_2+apache2+macosx+mysql5
You may need to update your php.ini for any changes that have been made
in this version of php. Compare /opt/local/etc/php5/php.ini with
/opt/local/etc/php5/php.ini-development (if this is a development  
server) or
/opt/local/etc/php5/php.ini-production (if this is a production server).

If this is your first install, you need to activate PHP in your web  
server.

To enable PHP in Apache, run
   cd /opt/local/apache2/modules
   /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so
--->  Cleaning php5


iMac:~ mark$ sudo port upgrade outdated --enforce-variants
Error: --enforce-variants is not installed
iMac:~ mark$






More information about the macports-users mailing list