合 在openEuler 22.03上编译碰到的故障集合
PG
configure: error: C compiler cannot create executables
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | checking whether the C compiler works... no configure: error: in `/soft/postgresql-15.4': configure: error: C compiler cannot create executables See `config.log' for more details more config.log | grep error gcc: fatal error: cannot execute 'as': execvp: No such file or directory dnf install -y binutils isl [root@lhropeneuler22 /]# rpm -qf /usr/bin/as binutils-2.37-6.oe2203.x86_64 |
configure: error: C preprocessor "/lib/cpp" fails sanity check
1 2 3 4 5 6 7 | configure: error: in `/soft/postgresql-15.4': configure: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details dnf install -y clang kernel-headers |