problem using gcc_select

Dan Ports dports at ambulatoryclam.net
Sun May 16 21:12:08 PDT 2010


On Sun, May 16, 2010 at 10:15:01PM -0400, David Sagan wrote:
> ~> gcc_select -n
> /opt/local/bin/gcc_select: line 83: [: ==: unary operator expected
> /opt/local/bin/gcc_select: line 83: [: ==: unary operator expected
> /opt/local/bin/gcc_select: line 83: [: ==: unary operator expected
> /opt/local/bin/gcc_select: line 83: [: ==: unary operator expected
> version "" is invalid!

That's not exactly an intuitive error messsage, but it's trying to tell
you that you need to provide an argument, namely the version of gcc to
select. gcc_select -l lists available options.

Dan

-- 
Dan R. K. Ports              MIT CSAIL                http://drkp.net/


More information about the macports-users mailing list