ui_msg

Bradley Giesbrecht brad at pixilla.com
Thu Mar 12 11:29:24 PDT 2009


Is there anyone else who thinks it would be nice to collect ui_msg and  
display the messages at the very end of the port run?

Or make it an option? Or is there a way to do this already?

Maybe even write them to a ui_message log along with a time stamp and  
the original port command.

So if you install something that has a bunch of dependencies, and  
especially if you use the -v or -d flags you can read all the messages  
at the end.

Removing and rebuilding things to test perl5.8 as an example:
port -f uninstall installed
port -k install mysql5-devel @5.1.30_1+partition+server apache2 php5  
@5.2.8_1+apache2+imap+macosx+mysql5+pear+pspell+readline+sqlite+tidy  
perl5.8 @5.8.9_2+db+gdbm+shared+threads php5 @5.2.8_1+apache2+imap 
+macosx+mysql5+pear+pspell+readline+sqlite+tidyport -vk install mysql5- 
devel @5.1.30_1+partition+server apache2 php5 @5.2.8_1+apache2+imap 
+macosx+mysql5+pear+pspell+readline+sqlite+tidy perl5.8 @5.8.9_2+db 
+gdbm+shared+threads php5 @5.2.8_1+apache2+imap+macosx+mysql5+pear 
+pspell+readline+sqlite+tidy
---> normal output without us_msg ............

and at the end of the port run

--->. Message from port mysql5-devel
******************************************************
* In order to setup the database, you might want to run
* sudo -u mysql mysql_install_db5
* if this is a new install
******************************************************
---> Message from port foo
******************************************************
* foo suggests you do something
******************************************************

//Brad


More information about the macports-dev mailing list