首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >替换发生在这里,因为在配置中无法使用完全扩展的联尼in。

替换发生在这里,因为在配置中无法使用完全扩展的联尼in。
EN

Stack Overflow用户
提问于 2015-06-25 10:48:22
回答 1查看 930关注 0票数 2

刚才,我已经在云平台上建立了Linux。

我正在CentOS 6.4上安装python3.4。

我不能在这种情况下出去。

我不明白下面的意思是什么。

我怎么解决这个问题?

代码语言:javascript
复制
$yum install gcc
...
$./configure
...
...
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Modules/Setup.config
config.status: creating Misc/python.pc
config.status: creating Misc/python-config.sh
config.status: creating Modules/ld_so_aix
config.status: creating pyconfig.h
config.status: pyconfig.h is unchanged
creating Modules/Setup
creating Modules/Setup.local
creating Makefile

$make
...
# Substitution happens here, as the completely-expanded BINDIR
# is not available in configure
sed -e "s,@EXENAME@,/usr/local/bin/python3.4m," < ./Misc/python-        config.in >python-config.py
# Replace makefile compat. variable references with shell script  compat. ones;  -> 
sed -e 's,\$(\([A-Za-z0-9_]*\)),\$\{\1\},g' < Misc/python-config.sh     >python-config
# On Darwin, always use the python version of the script, the shell
# version doesn't use the compiler customizations that are provided
# in python (_osx_support.py).
if test `uname -s` = Darwin; then \
            cp python-config.py python-config; \
    fi

我又试过了。奇怪的是,错误信息已经消失了。

EN

回答 1

Stack Overflow用户

发布于 2016-09-25 03:54:08

首先:make然后:make install而不是:make & make install

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31048213

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档