Fabrizio Bartolomucci wrote:
> Thanks, but if I do so it asks me for a version; if I specify one at
> random it says it is not installed:
> $ sudo ./port activate gtk2
> --->  The following versions of gtk2 are currently installed:
> --->      gtk2 @2.12.9_0+x11
> --->      gtk2 @2.14.3_2+x11
> --->      gtk2 @2.14.5_0+x11
> Error: port activate failed: Registry error: Please specify the full
> version as recorded in the port registry.
>
> $ sudo ./port activate "gtk2 @2.14.5_0+x11"
> Error: port activate failed: Registry error: gtk2  2.14.5_0+x11 not
> registered as installed.
>
This is because you have more than one version installed. 

To activate the latest version:

sudo port activate gtk2 @2.14.5_0+x11

To remove a previous version (if you don't need it anymore)

sudo port uninstall gtk2 @2.12.9_0+x11

Dave

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to