macos – zsh: command not discovered: clang_select

[ad_1]

I’ve tried to put in clang_select in macOS 13.4.1 like this:

> sudo port set up clang_select
--->  Cleansing clang_select
--->  Scanning binaries for linking errors
--->  No damaged recordsdata discovered.
--->  No damaged ports discovered.

however once I use this command in terminal:

> clang_select 16
zsh: command not discovered: clang_select

I’ve already add the trail /choose/native/bin, why nonetheless incorporates this concern? that is the $PATH settings:

> echo $PATH

/choose/native/bin:/choose/native/sbin:/Customers/xiaoqiangjiang/Library/pnpm:/Customers/xiaoqiangjiang/.yarn/bin:/Customers/xiaoqiangjiang/.config/yarn/international/node_modules/.bin:/Customers/xiaoqiangjiang/anaconda3/bin:/Customers/xiaoqiangjiang/.sdkman/candidates/java/present/bin:/Customers/xiaoqiangjiang/.nvm/variations/node/v16.14.2/bin:/Customers/xiaoqiangjiang/fvm/default/bin:/choose/homebrew/choose/openssl@3/bin:/choose/homebrew/choose/ruby/bin:/choose/native/bin:/choose/native/sbin:/Library/Frameworks/Python.framework/Variations/3.10/bin:/choose/homebrew/bin:/choose/homebrew/sbin:/usr/native/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Functions/VMware Fusion.app/Contents/Public:/Library/TeX/texbin:/Library/Apple/usr/bin:/var/run/com.apple.safety.cryptexd/codex.system/bootstrap/usr/native/bin:/var/run/com.apple.safety.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.safety.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Customers/xiaoqiangjiang/.cargo/bin:/Functions/iTerm.app/Contents/Sources/utilities:/Customers/xiaoqiangjiang/Library/Software Assist/JetBrains/Toolbox/scripts:/Customers/xiaoqiangjiang/.orbstack/bin:/Customers/xiaoqiangjiang/Library/Python/3.10/bin:/Customers/xiaoqiangjiang/.native/bin:/Customers/xiaoqiangjiang/.pub-cache/bin:/Customers/xiaoqiangjiang/.yarn/bin:/Customers/xiaoqiangjiang/supply/third-party/depot_tools:/Customers/xiaoqiangjiang/Library/Python/3.10/bin:/Customers/xiaoqiangjiang/.native/bin

that is the port model:

> port model
Model: 2.9.3

I additionally tried like this:

> echo 'export PATH="/choose/native/bin:/choose/native/sbin:$PATH"' >> ~/.zshrc

> supply .zshrc

> clang_select
zsh: command not discovered: clang_select

nonetheless couldn’t use the clang_select command.

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *