You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
definstall# These macros also follow Ubuntu, and are required:# - to correctly handle large archives (> 4GB)# - extract & print archive contents with non-latin charactersloc_macros=%w[-DLARGE_FILE_SUPPORT-DUNICODE_SUPPORT-DUNICODE_WCHAR-DUTF8_MAYBE_NATIVE-DNO_WORKING_ISPRINT-DNO_LCHMOD]
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 support lchmod... I'm not sure if that's a good idea.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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