<i id='pc2UP'><tr id='pc2UP'><dt id='pc2UP'><q id='pc2UP'><span id='pc2UP'><b id='pc2UP'><form id='pc2UP'><ins id='pc2UP'></ins><ul id='pc2UP'></ul><sub id='pc2UP'></sub></form><legend id='pc2UP'></legend><bdo id='pc2UP'><pre id='pc2UP'><center id='pc2UP'></center></pre></bdo></b><th id='pc2UP'></th></span></q></dt></tr></i><div id='pc2UP'><tfoot id='pc2UP'></tfoot><dl id='pc2UP'><fieldset id='pc2UP'></fieldset></dl></div>

      <small id='pc2UP'></small><noframes id='pc2UP'>

    1. <legend id='pc2UP'><style id='pc2UP'><dir id='pc2UP'><q id='pc2UP'></q></dir></style></legend>
        <tfoot id='pc2UP'></tfoot>
        • <bdo id='pc2UP'></bdo><ul id='pc2UP'></ul>
      1. 当我尝试安装 readline-6.2 时出现 gcc 错误

        时间:2023-09-12

          <small id='0fx7o'></small><noframes id='0fx7o'>

        1. <tfoot id='0fx7o'></tfoot>

            <i id='0fx7o'><tr id='0fx7o'><dt id='0fx7o'><q id='0fx7o'><span id='0fx7o'><b id='0fx7o'><form id='0fx7o'><ins id='0fx7o'></ins><ul id='0fx7o'></ul><sub id='0fx7o'></sub></form><legend id='0fx7o'></legend><bdo id='0fx7o'><pre id='0fx7o'><center id='0fx7o'></center></pre></bdo></b><th id='0fx7o'></th></span></q></dt></tr></i><div id='0fx7o'><tfoot id='0fx7o'></tfoot><dl id='0fx7o'><fieldset id='0fx7o'></fieldset></dl></div>
              • <bdo id='0fx7o'></bdo><ul id='0fx7o'></ul>
                  <legend id='0fx7o'><style id='0fx7o'><dir id='0fx7o'><q id='0fx7o'></q></dir></style></legend>
                    <tbody id='0fx7o'></tbody>

                  本文介绍了当我尝试安装 readline-6.2 时出现 gcc 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  当我尝试在 CentOS 服务器中为我新安装的 python2.7 安装 readline 模块时,谁能帮我解决 gcc 的问题?

                  Could anyone kindly help me out what's wrong with the gcc when I am trying to install readline module for my newly installed python2.7 in the CentOS server?

                  <代码> GCC -pthread -fno严格走样-g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict的原型-fPIC -DHAVE_RL_CALLBACK -DHAVE_RL_CATCH_SIGNAL -DHAVE_RL_COMPLETION_APPEND_CHARACTER - DHAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK -DHAVE_RL_COMPLETION_MATCHES - DHAVE_RL_COMPLETION_SUPPRESS_APPEND -DHAVE_RL_PRE_INPUT_HOOK -一世.-I/usr/local/include/python2.7 -c Modules/2.x/readline.c -o build/temp.linux-x86_64-2.7/Modules/2.x/readline.o -Wno-strict-prototypesgcc -pthread -shared build/temp.linux-x86_64-2.7/Modules/2.x/readline.o readline/libreadline.a readline/libhistory.a -lncurses -o build/lib.linux-x86_64-2.7/readline.所以gcc: readline/libreadline.a: 没有这样的文件或目录gcc:readline/libhistory.a:没有这样的文件或目录错误:命令gcc"失败,退出状态为 1

                  非常感谢!

                  推荐答案

                  readline 与 Python 模块捆绑在一起,它会尝试为您构建它,但如果您的系统无法完成构建,您将看到此错误显示.就我而言,系统中缺少 patch.yum install patch帮我解决了.

                  readline is bundled with the Python module and it attempts to build it for you, but you'll see this error display if your system was unable to complete the build. In my case, patch was missing from the system. yum install patch solved it for me.

                  这篇关于当我尝试安装 readline-6.2 时出现 gcc 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:带有变量分配的机器人框架中的 IF ELSE 下一篇:gcc 找不到 cc1plus

                  相关文章

                  最新文章

                  <tfoot id='tlGLR'></tfoot>

                  • <bdo id='tlGLR'></bdo><ul id='tlGLR'></ul>

                    <small id='tlGLR'></small><noframes id='tlGLR'>

                    <i id='tlGLR'><tr id='tlGLR'><dt id='tlGLR'><q id='tlGLR'><span id='tlGLR'><b id='tlGLR'><form id='tlGLR'><ins id='tlGLR'></ins><ul id='tlGLR'></ul><sub id='tlGLR'></sub></form><legend id='tlGLR'></legend><bdo id='tlGLR'><pre id='tlGLR'><center id='tlGLR'></center></pre></bdo></b><th id='tlGLR'></th></span></q></dt></tr></i><div id='tlGLR'><tfoot id='tlGLR'></tfoot><dl id='tlGLR'><fieldset id='tlGLR'></fieldset></dl></div>

                      <legend id='tlGLR'><style id='tlGLR'><dir id='tlGLR'><q id='tlGLR'></q></dir></style></legend>