port diagnose and xcode

xplora at wak.co.nz xplora at wak.co.nz
Sun Mar 13 20:46:07 UTC 2022


I forgot to ad, the reason, at a unix level, the Finder alias just just another boring file, not the intended alias. This is similar to how Windows shortcuts look on Macs, where they come through as a .lnk file that the Mac doesn’t understand.

-- 
Richard Smith
xplora at wak.co.nz




> On 14/03/2022, at 09:43, xplora at wak.co.nz wrote:
> 
> Is it a Mac Alias, or a unix ln ? (i.e. the former is created with a drag-n-drop of the App holding down the Command & Option keys, while the former is created with the command ln -s /path/to/app lnfile, and that is a lowercase L, not an uppercase i). MacPorts will work better with the latter ln alias, not the former finder created alias.
> 
> -- 
> Richard Smith
> xplora at wak.co.nz <mailto:xplora at wak.co.nz>
> 
> 
> 
> 
>> On 14/03/2022, at 06:41, James Secan <james.secan at gmail.com <mailto:james.secan at gmail.com>> wrote:
>> 
>> I do have the full Xcode package installed (8.2.1) on the El Capitan system, although I have it as an alias in the Applications directory (on a smallish SSD) linking to the actual Xcode files on an internal HD because it requires a lot of disk real estate and I never use Xcode.  Would that confuse port diagnose?  (I just checked, and if I click on the Xcode alias it works just as one would expect, so the alias linkage is OK.)
>> 
>> Jim
>> 3222 NE 89th St
>> Seattle, WA 98115
>> (206) 430-0109
>> 
>>> On Mar 12, 2022, at 6:42 PM, Ryan Schmidt <ryandesign at macports.org <mailto:ryandesign at macports.org>> wrote:
>>> 
>>> On Mar 10, 2022, at 18:40, James Secan wrote:
>>> 
>>>> In working my way through my recent “phantom ports” issue I ran the command “port diagnose” and was more than a bit surprised by the output line:
>>>> 
>>>> Error: currently installed version of Xcode, none, is not supported by MacPorts.
>>>> 
>>>> followed by a list of the version supported under my version of macOS (El Capitan, in this case).  Where is port getting this information?  I have Xcode 8.2.0 installed, and none of my attempts to install ports have run into any trouble related to Xcode not being installed.  I ran "pkgutil -v --pkg-info=com.apple.pkg.CLTools_Executables” which shows that I have 8.2.0 installed, and the appropriate MacOSX.sdk files are in /Library/Developer/CommandLineTools/SDKs.  I also tried this on my test Catalina system, with the same result.
>>>> 
>>>> Is something wrong with my ports setup?
>>> 
>>> 
>>> Both com.apple.pkg.CLTools_Executables and /Library/Developer/CommandLineTools/SDKs are related to the Xcode command line tools, which are separate from Xcode. So I guess you have the Xcode command line tools installed but do not have Xcode installed. For many ports, this is fine. For those where it is not, they should tell you to install Xcode.
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220314/2327d339/attachment.htm>


More information about the macports-users mailing list