gamemode icon indicating copy to clipboard operation
gamemode copied to clipboard

Error meson.build:1:0: Unknown compiler(s): ['cc', 'gcc', 'clang', 'pgcc', 'icc'] in Lubuntu 20.10

Open YukaNiki opened this issue 3 years ago • 9 comments

  • meson builddir --prefix=/usr --buildtype debugoptimized -Dwith-systemd-user-unit-dir=/etc/systemd/user The Meson build system Version: 0.55.3 Source dir: /media/yuka/Backup de arquivos/gamemode-1.6.1 Build dir: /media/yuka/Backup de arquivos/gamemode-1.6.1/builddir Build type: native build Project name: gamemode Project version: 1.6.1

meson.build:1:0: ERROR: Unknown compiler(s): ['cc', 'gcc', 'clang', 'pgcc', 'icc'] The follow exceptions were encountered: Running "cc --version" gave "[Errno 2] No such file or directory: 'cc'" Running "gcc --version" gave "[Errno 2] No such file or directory: 'gcc'" Running "clang --version" gave "[Errno 2] No such file or directory: 'clang'" Running "pgcc --version" gave "[Errno 2] No such file or directory: 'pgcc'" Running "icc --version" gave "[Errno 2] No such file or directory: 'icc'"

A full log can be found at /media/yuka/Backup de arquivos/gamemode-1.6.1/builddir/meson-logs/meson-log.txt

This is what happened when I tried to execute the ./bootstrap.sh I don´t know exactly what happened Could somebody help me?

YukaNiki avatar Mar 28 '21 19:03 YukaNiki

you need to install the build-essentials.

DevDorrejo avatar Apr 28 '21 18:04 DevDorrejo

you need to install the build-essentials.

how? where? (btw im on windows 10 and trying to do something else and my error is identical except Errno 2 is WinError 2)

XnoobSpeakable avatar Aug 01 '21 14:08 XnoobSpeakable

Just run sudo apt install build-essentials in your terminal

mdiluz avatar Aug 01 '21 16:08 mdiluz

sudo apt install build-essentials

Maybe sudo apt install build-essential?

AAbramSS avatar Sep 08 '21 16:09 AAbramSS

sudo apt install build-essentials

Maybe sudo apt install build-essential?

Right! No s

ansonhorse avatar Jan 12 '22 04:01 ansonhorse

"sudo apt install build-essential" not "sudo apt install build-essentials"

tapas-rana avatar May 27 '22 12:05 tapas-rana

all these answers are not give solution..

sharavan1 avatar Jan 11 '23 11:01 sharavan1

output/build/libglib2-2.72.3/meson.build:1:0: ERROR: Unknown compiler(s): [['/home/sharvan/Downloads/buildroot-2022.11/output/host/bin/riscv64-buildroot-linux-gnu-gcc']] The following exception(s) were encountered: Running /home/sharvan/Downloads/buildroot-2022.11/output/host/bin/riscv64-buildroot-linux-gnu-gcc --version gave "[Errno 2] No such file or directory: '/home/sharvan/Downloads/buildroot-2022.11/output/host/bin/riscv64-buildroot-linux-gnu-gcc'"

A full log can be found at /home/sharvan/Downloads/buildroot-2022.11/output/build/libglib2-2.72.3/build/meson-logs/meson-log.txt make[1]: *** [package/pkg-generic.mk:283: /home/sharvan/Downloads/buildroot-2022.11/output/build/libglib2-2.72.3/.stamp_configured] Error 1 make: *** [Makefile:84: _all] Error 2

sharavan1 avatar Jan 11 '23 11:01 sharavan1