Mysql5

Ryan Schmidt ryandesign at macports.org
Wed Sep 16 22:25:10 PDT 2009


On Sep 17, 2009, at 00:23, Ryan Schmidt wrote:

>
> On Sep 17, 2009, at 00:19, Scott Haneda wrote:
>
>> On Sep 16, 2009, at 10:07 PM, Ryan Schmidt wrote:
>>
>>> On Sep 16, 2009, at 23:30, Scott Haneda wrote:
>>>
>>>> I just did this under 1.8:
>>>> 	sudo port -d install mysql5 +server
>>>>
>>>> It went ahead and did it's thing.  Should it not have hit the
>>>>
>>>> variant server description "Obsolete; install ${mysql}-server  
>>>> port instead" {
>>>> pre-configure {
>>>>     ui_msg "The +server variant is obsolete. Please install the $ 
>>>> {mysql}-server port instead."
>>>> }
>>>> }
>>>
>>> Yes it should. You did not see that message printed after the line  
>>> "--->  Configuring mysql5"?
>>
>> I was using -d so a lot went by, mysql5 was installed, I figured it  
>> should have aborted?  a port installed showed it was installed, so  
>> I removed it, and then ran sudo port install mysql5-server, which  
>> made everything mostly work.
>>
>> So this ui_msg is not designed to abort, it is just informational?
>
> It is just informational. It does not abort. mysql5 installs without  
> server support. The message reminds you if you want server support  
> you now have to additionally install mysql5-server.

I used the same approach when I removed variants from graphviz and  
php5. Would it be better to abort the installation process and force  
the user to deal with the situation right there?




More information about the macports-users mailing list