php5-mysql - what satisfies the dependency

Ryan Schmidt ryandesign at macports.org
Sun Aug 30 08:12:22 PDT 2009


On Aug 29, 2009, at 11:40, Chris Janton wrote:

> I have mysql5-devel installed
>
> mac 4 # sudo port install php5-mysql +mysql5
> --->  Computing dependencies for mysql5
> --->  Fetching mysql5
> ^C
> mac 5 #
>
> So I can't figure out why it is trying to build mysql5 non-devel

I can't either. It doesn't do that for me. [1]

Have you considered using php5-mysql's default variant +mysqlnd  
instead of the +mysql5 variant? mysqlnd doesn't require the use of any  
MySQL libraries.


[1] I'm running MacPorts 1.8.0 on Snow Leopard and I have:


$ sudo port install mysql5-devel
Password:
--->  Computing dependencies for mysql5-devel
--->  Fetching mysql5-devel
--->  Verifying checksum(s) for mysql5-devel
--->  Extracting mysql5-devel
--->  Applying patches to mysql5-devel
--->  Configuring mysql5-devel
--->  Building mysql5-devel
--->  Staging mysql5-devel into destroot
Note: mysql5-devel installs files outside the common directory  
structure.
--->  Installing mysql5-devel @5.1.37_1
--->  Activating mysql5-devel @5.1.37_1
--->  Cleaning mysql5-devel
$ sudo port install php5-mysql +mysql5
--->  Computing dependencies for php5-mysql
--->  Fetching php5-mysql
--->  Verifying checksum(s) for php5-mysql
--->  Extracting php5-mysql
--->  Configuring php5-mysql
--->  Building php5-mysql
--->  Staging php5-mysql into destroot
--->  Installing php5-mysql @5.3.0_0+mysql5
--->  Activating php5-mysql @5.3.0_0+mysql5
--->  Cleaning php5-mysql
$






More information about the macports-users mailing list