前提・実現したいこと
プログラミング初心者です。
XserverとPython3.6でWebアプリを作成しようとしています。
macのターミナルからsshログインを行いbrewコマンドを使用すると、/bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
が頻繁に出てきます。
これが原因なのか、brew install git
がうまく実行されません。
その他のbrew install python3
やbrew install pipenv
なども全て失敗します。
どうすれば良いのでしょうか?
エラーメッセージ
-bash-4.2$ brew install git /home/<user_xxx>/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 15: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory /home/<user_xxx>/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 15: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) /bin/bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) /home/<user_xxx>/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 15: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory /home/<user_xxx>/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 15: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) /bin/bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) /home/<user_xxx>/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 15: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory /home/<user_xxx>/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 15: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) 省略 ==> make Last 15 lines from /home/<user_xxx>/.cache/Homebrew/Logs/binutils/02.make: /bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) rm -f libgold.a ar cru libgold.a archive.o attributes.o binary.o common.o compressed_output.o copy-relocs.o cref.o defstd.o descriptors.o dirsearch.o dynobj.o dwarf_reader.o ehframe.o errors.o expression.o fileread.o gc.o gdb-index.o gold.o gold-threads.o icf.o incremental.o int_encoding.o layout.o mapfile.o merge.o nacl.o object.o options.o output.o parameters.o plugin.o readsyms.o reduced_debug_output.o reloc.o resolve.o script-sections.o script.o stringpool.o symtab.o target.o target-select.o timer.o version.o workqueue.o workqueue-threads.o yyscript.o ranlib libgold.a g++ -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=dwp -I./../zlib -pthread -g -O2 -o dwp dwp.o libgold.a ../libiberty/libiberty.a -L./../zlib -lz -ldl /bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) g++ -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=ld-new -I./../zlib -pthread -g -O2 -o ld-new main.o i386.o x86_64.o sparc.o powerpc.o arm.o arm-reloc-property.o tilegx.o mips.o aarch64.o aarch64-reloc-property.o s390.o libgold.a ../libiberty/libiberty.a -L./../zlib -lz -ldl g++ -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=incremental-dump -I./../zlib -pthread -g -O2 -pthread -o incremental-dump incremental-dump.o i386.o x86_64.o sparc.o powerpc.o arm.o arm-reloc-property.o tilegx.o mips.o aarch64.o aarch64-reloc-property.o s390.o libgold.a ../libiberty/libiberty.a -L./../zlib -lz -ldl /bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) /bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) make[4]: Leaving directory `/tmp/binutils-20200804-9884-nqcya8/binutils-2.34/gold' make[3]: Leaving directory `/tmp/binutils-20200804-9884-nqcya8/binutils-2.34/gold' make[2]: Leaving directory `/tmp/binutils-20200804-9884-nqcya8/binutils-2.34/gold' make[1]: Leaving directory `/tmp/binutils-20200804-9884-nqcya8/binutils-2.34' make: *** [all] Error 2 sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) READ THIS: https://docs.brew.sh/Troubleshooting
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。