[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-dev
Subject:    port select integration query
From:       John Patrick <nhoj.patrick () gmail ! com>
Date:       2011-07-25 20:34:15
Message-ID: CAH9u10=xmH7iZfbbAvygB7a=9E93NyOag_xFpQpV2=OFQ5goAg () mail ! gmail ! com
[Download RAW message or body]

I'm looking for more detail documentation and help about how port
select should be used, and how ports should use it.

Basically, the following example, install maven2, select maven2,
uninstall maven2, install maven3. Then if you try and select maven3,
it complains because it is currently selecting maven2 which isn't
available anymore.

$ sudo port install maven2
 [...]
$ sudo port select --set maven maven2
Selecting 'maven2' for 'maven' succeeded. 'maven2' is now active.
$ sudo port uninstall maven2
$ sudo port install maven3
 [...]
$ sudo port select --set maven maven3
Selecting 'maven3' for 'maven' failed: symlink:
/opt/local/etc/select/maven/current -> maven3: file already exists
$

Those are the 5 commands I execute and want to fix, I don't know if it
is a integration issue with maven2 or maven3, or an underlying port
select issue not handling uninstall selected ports.

The only way I found to fix this is, install maven2 or manually delete
"/opt/local/etc/select/maven/current".

John
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic