centos *** these critical programs are missing or too old: compiler *** check the install file for required versions.


It looks like you're trying to install or compile software on a CentOS system, but you're encountering an error indicating that the required compiler is missing or too old. Here are the steps you can follow to resolve this issue: 1. **Check the Installation File**: First, refer to the installation file or documentation for the software you're trying to install. It should specify the required versions of the compiler and other dependencies. 2. **Install/Update GCC**: The most common compiler on Linux systems is GCC (GNU Compiler Collection). You can install or update it using the package manager `yum` or `dnf`. ```sh sudo yum install gcc ``` Or if you're using CentOS 8 or later: ```sh sudo dnf install gcc ``` 3. **Check the Version**: After installing, verify that the installed version of GCC meets the requirements specified in the installation file. ```sh gcc --version ``` 4. **Install Development Tools**: Sometimes, additional development tools are required. You can install them using: ```sh sudo yum groupinstall "Development Tools" ``` Or for CentOS 8 and later: ```sh sudo dnf groupinstall "Development Tools" ``` 5. **Specific Versions**: If the software requires a specific version of GCC, you might need to install it from a different repository or build it from source. For example, to install GCC 9 on CentOS 7, you could use the Software Collections (SCL): ```sh sudo yum install centos-release-scl sudo yum install devtoolset-9 scl enable devtoolset-9 bash ``` 6. **Retry Installation**: Once you have ensured that the required compiler is installed and up to date, retry the installation or compilation process. If you continue to experience issues, please provide more details about the specific software you're trying to install and any error messages you're seeing. This will help in giving more targeted advice. [2024-11-21 15:56:42 | AI写代码神器 | 508点数解答]
- centos configure: error: *** these critical programs are missing or too old: compiler *** check the install file for required versions.(165点数解答 | 2024-11-21 15:54:45)139
- centos *** these critical programs are missing or too old: compiler *** check the install file for required versions.(508点数解答 | 2024-11-21 15:56:42)100
- centos *** these critical programs are missing or too old: compiler *** check the install file for required versions.(337点数解答 | 2024-11-21 15:56:47)250
- configure: error: *** these critical programs are missing or too old: compiler *** check the install file for required versions.(61点数解答 | 2024-11-21 15:54:05)127
- configure: error: *** these critical programs are missing or too old: compiler *** check the install file for required versions.(135点数解答 | 2024-11-21 15:54:24)103
- c:\python\venv\zzz\scripts\python.exe c:\python\main.py traceback (most recent call last): file "c:\users\意\appdata\local\programs\python\python311\lib\site-packages\urllib3\connection.py", line 199, in _new_conn sock = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ file "c:\users\意\appdata\local\programs\python\python311\lib\site-packages\urllib3\util\connection.py", line 85, in create_connection raise err file "c:\users\意\appdata\local\programs\python\pyt(161点数解答 | 2024-10-31 00:39:36)250
- error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [7 lines of output] traceback (most recent call last): file "<string>", line 2, in <module> file "<pip-setuptools-caller>", line 34, in <module> file "/tmp/pip-install-f_bzlwxx/pypiwin32_47ac0d70f6d549d9b5ac346414056e3a/setup.py", line 121 print "building pywin32", pywin32_version ^ syntaxerror: missing parentheses in(559点数解答 | 2024-11-22 20:16:30)181
- npm err! code elifecycle npm err! errno 1 npm err! node-sass@9.0.0 install: `node scripts/install.js` npm err! exit status 1 npm err! npm err! failed at the node-sass@9.0.0 install script. npm err! this is probably not a problem with npm. there is likely additional logging output above.(552点数解答 | 2024-02-22 09:55:10)294
- npm err! code elifecycle npm err! errno 1 npm err! node-sass@9.0.0 install: `node scripts/install.js` npm err! exit status 1 npm err! npm err! failed at the node-sass@9.0.0 install script. npm err! this is probably not a problem with npm. there is likely additional logging output above.(337点数解答 | 2024-02-22 09:55:21)324
- npm err! code elifecycle npm err! errno 1 npm err! node-sass@9.0.0 install: `node scripts/install.js` npm err! exit status 1 npm err! npm err! failed at the node-sass@9.0.0 install script. npm err! this is probably not a problem with npm. there is likely additional logging output above.(141点数解答 | 2024-02-22 09:55:21)238
- npm err! node-sass@6.0.0 install: `node scripts/install.js` npm err! exit status 1 npm err! npm err! failed at the node-sass@6.0.0 install script. npm err! this is probably not a problem with npm. there is likely additional logging output above.(184点数解答 | 2024-02-22 10:23:20)235
- k8s升级api-server kube-apiserver: error: [--etcd-servers must be specified, service-account-issuer is a required flag, --service-account-signing-key-file and --service-account-issuer are required flags](240点数解答 | 2024-05-21 17:28:28)379