llamafile
llamafile copied to clipboard
ubuntu22.04 make failed!
Hello, I am in a container created by WSL and Docker, ubuntu version is 22.04
(test) root@00a6be2423a8:/home/share/projects/llamafile# cat /etc/issue Ubuntu 22.04.3 LTS \n \l
.cosmocc/3.3.3/bin/cosmoc++ -g -O3 -fexceptions -Os -iquote. -mcosmo -DGGML_MULTIPLATFORM -Wno-attributes -Xx86_64-mavx -Xx86_64-mtune=alderlake -c -o o//llama.cpp/main/main.o llama.cpp/main/main.cpp .cosmocc/3.3.3/bin/cosmoc++ -g -O3 -fexceptions -iquote. -mcosmo -DGGML_MULTIPLATFORM -Wno-attributes -Xx86_64-mavx -Xx86_64-mtune=alderlake -c -o o//llama.cpp/server/macsandbox.o llama.cpp/server/macsandbox.cpp .cosmocc/3.3.3/bin/cosmoc++ -g -O3 -fexceptions -Os -iquote. -mcosmo -DGGML_MULTIPLATFORM -Wno-attributes -Xx86_64-mavx -Xx86_64-mtune=alderlake -c -o o//llama.cpp/server/server.o llama.cpp/server/server.cpp .cosmocc/3.3.3/bin/cosmoc++ -g -O3 -fexceptions -Os -iquote. -mcosmo -DGGML_MULTIPLATFORM -Wno-attributes -Xx86_64-mavx -Xx86_64-mtune=alderlake -c -o o//llama.cpp/llava/clip.o llama.cpp/llava/clip.cpp .cosmocc/3.3.3/bin/cosmoc++: 345: .cosmocc/3.3.3/bin/mktemper: not found .cosmocc/3.3.3/bin/cosmoc++: 345: .cosmocc/3.3.3/bin/mktemper: not found .cosmocc/3.3.3/bin/cosmoc++: 345: .cosmocc/3.3.3/bin/mktemper: not found .cosmocc/3.3.3/bin/cosmoc++ -g -O3 -fexceptions -Os -iquote. -mcosmo -DGGML_MULTIPLATFORM -Wno-attributes -Xx86_64-mavx -Xx86_64-mtune=alderlake -c -o o//llama.cpp/llava/llava-cli.o llama.cpp/llava/llava-cli.cpp .cosmocc/3.3.3/bin/cosmoc++: 345: .cosmocc/3.3.3/bin/mktemper: not found .cosmocc/3.3.3/bin/cosmoc++ -g -O3 -fexceptions -Os -iquote. -mcosmo -DGGML_MULTIPLATFORM -Wno-attributes -Xx86_64-mavx -Xx86_64-mtune=alderlake -c -o o//llama.cpp/llava/llava-quantize.o llama.cpp/llava/llava-quantize.cpp make: *** [build/rules.mk:21: o//llama.cpp/main/main.o] Error 127 make: *** Waiting for unfinished jobs.... .cosmocc/3.3.3/bin/cosmoc++ -g -O3 -fexceptions -Os -iquote. -mcosmo -DGGML_MULTIPLATFORM -Wno-attributes -Xx86_64-mavx -Xx86_64-mtune=alderlake -c -o o//llama.cpp/llava/llava.o llama.cpp/llava/llava.cpp make: *** [build/rules.mk:21: o//llama.cpp/server/macsandbox.o] Error 127 make: *** [build/rules.mk:21: o//llama.cpp/server/server.o] Error 127 make: *** [build/rules.mk:21: o//llama.cpp/llava/clip.o] Error 127 .cosmocc/3.3.3/bin/cosmoc++: 345: .cosmocc/3.3.3/bin/mktemper: not found .cosmocc/3.3.3/bin/cosmoc++: 345: .cosmocc/3.3.3/bin/mktemper: not found make: *** [build/rules.mk:21: o//llama.cpp/llava/llava-cli.o] Error 127 .cosmocc/3.3.3/bin/cosmoc++: 345: .cosmocc/3.3.3/bin/mktemper: not found make: *** [build/rules.mk:21: o//llama.cpp/llava/llava-quantize.o] Error 127 make: *** [build/rules.mk:21: o//llama.cpp/llava/llava.o] Error 127 (test) root@00a6be2423a8:/home/share/projects/llamafile# ls .cosmocc/3.3.3/bin/mktemper .cosmocc/3.3.3/bin/mktemper
please help me analyze this problem, thank you.
".cosmocc/3.3.3/bin/cosmoc++: 345: .cosmocc/3.3.3/bin/mktemper: not found"
its something to do with the cosmocc install.
“.cosmocc/3.3.3/bin/cosmoc++:345:.cosmocc/3.3.3/bin/mktemper:未找到”
它与 cosmocc 安装有关。
It was successfully compiled on the VMware, possibly because the system built by wsl subsystem +docker was not supported. Thank you for your response.
“.cosmocc/3.3.3/bin/cosmoc++:345:.cosmocc/3.3.3/bin/mktemper:未找到” 它与 cosmocc 安装有关。
It was successfully compiled on the VMware, possibly because the system built by wsl subsystem +docker was not supported. Thank you for your response.
So what did you do to fix it?