Replies: 1 comment
-
Same problem exists even today (original sdkman issue: sdkman/sdkman-cli#790) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Additional Info
Output of
brew config
Output of
brew doctor
Description of issue
Hello.
I am using
brew
in Windows WSL2 Ubuntu environment and I also installedunzip
usingbrew
.In such an environment, installing Java 17 Temurin using SDKMan always gives the error below.
It was said that lchmod could not be used in the Ubuntu environment anyway, so I modified the
brew
file in the local environment./home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/unzip.rb
-DNO_LCHMOD
macro at the end.After adding the macro as above, I deleted the
unzip
and reinstalled it with the modifiedunzip.rb
.Installing Java 17 Temurin using SDKMan no longer caused any errors.
Is it okay to use it like this?
I thought it would be nice to conditionally include the
-DNO_LCHMOD
macro on Linux systems that don't supportlchmod
... I'm not sure if that's a good idea.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions