GVKun编程网logo

CentOS提示:./configure *: No such file or directory(centos no such file or directory该怎么解决)

7

对于想了解CentOS提示:./configure*:Nosuchfileordirectory的读者,本文将是一篇不可错过的文章,我们将详细介绍centosnosuchfileordirectory

对于想了解CentOS提示:./configure *: No such file or directory的读者,本文将是一篇不可错过的文章,我们将详细介绍centos no such file or directory该怎么解决,并且为您提供关于CentOS -bash: ./xxx/make: No such file or directory、centos 6.2 安装scrapy error: Python.h: No such file or directory、CentOS cp 复制隐藏文件提示 cp: cannot stat ?.xxx*?. No such file or directory、Centos fatal error: Python.h: No such file or directory的有价值信息。

本文目录一览:

CentOS提示:./configure *: No such file or directory(centos no such file or directory该怎么解决)

CentOS提示:./configure *: No such file or directory(centos no such file or directory该怎么解决)

今天在CentOS下安装Nginx时,遇到了类似以下的问题:

./configure auto/unix: No such file or directory

./configure auto/options: No such file or directory

之前在另一台服务器上安装的时候也没有遇到此问题,

安装过程参考:CentOS6.5下Nginx1.7.4安装记录

于是网上搜索解决方案,但是搜索了很久也没有找到解决方案,

当我使用“mkdir auto/unix”之后,还是提示类似的错误,但目录名又变了。

纠结了好久,后来让朋友帮忙看看,才发现是解压的时候就有好多文件没有解压出来,判断应该是安装包压缩文件坏了,

所以解压的时候就少了好多的文件或目录,重新下载一个解压安装问题就解决了。

当遇到问题迟迟解决不了的时候,不如让别人帮忙看看,或许问题就很容易得到解决了。

CentOS -bash: ./xxx/make: No such file or directory

CentOS -bash: ./xxx/make: No such file or directory

在安装mpfr时出现以下错误:
-bash: ./mpfr-3.1.2/make: No such file or directory

[root@localhost opt]# ./mpfr-3.1.2/make -bash: ./mpfr-3.1.2/make: No such file or directory [root@localhost opt]# /opt/mpfr-3.1.2/make -bash: /opt/mpfr-3.1.2/make: No such file or directory [root@localhost opt]# ../mpfr-3.1.2/make -bash: ../mpfr-3.1.2/make: No such file or directory [root@localhost opt]# mpfr-3.1.2/make -bash: mpfr-3.1.2/make: No such file or directory [root@localhost opt]# mpfr-3.1.2/configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes configure: error: source directory already configured; run "make distclean" there first [root@localhost opt]# ./mpfr-3.1.2/configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes configure: error: source directory already configured; run "make distclean" there first [root@localhost opt]#

注意: configure可 以像下面这样执行: mpfr-3.1.2/configure 或: ./mpfr-3.1.2/configure

但是make和make install 就不能像下面这样执行: mpfr-3.1.2/make 或: ./mpfr-3.1.2/make

mpfr-3.1.2/make install 或: ./mpfr-3.1.2/make install

centos 6.2 安装scrapy error: Python.h: No such file or directory

centos 6.2 安装scrapy error: Python.h: No such file or directory

Running Twisted-12.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5d2sWW/Twisted-12.2.0/egg-dist-tmp-k7LYZq

twisted/runner/portmap.c:10:20: error: Python.h: No such file or directory

Solution

目录/usr/include/python2.6/缺少Python.h文件

# CentOS 使用下面命令# yum install python-devel
 

解决 Python.h:没有那个文件或目录 错误的方法

今天在实验室的ubuntu机子上安装Eventlet,在安装依赖包greenlet时出现错误,出现编译错误。

错误如下:

In file included from greenlet.c:5:0:

greenlet.h:8:20: 致命错误: Python.h:没有那个文件或目录

编译中断。

error: Setup script exited with error: command ''gcc'' failed with exit status 1

解决方法是安装python-dev,这是Python的头文件和静态库包:

sudo apt-get install python-dev

CentOS cp 复制隐藏文件提示 cp: cannot stat ?.xxx*?. No such file or directory

CentOS cp 复制隐藏文件提示 cp: cannot stat ?.xxx*?. No such file or directory

执行的命令与错误信息:

# cp -a /etc/skel/* /home/postgres
cp: cannot stat ?.etc/skel/*?. No such file or directory


使用cp复制普通文件时,可以使用 * 号通配符,
而在复制隐藏文件时,需要使用.,英文半角的点;
例如:

sudo cp -a /etc/skel/. /home/postgres/
查看隐藏文件:

ls -a /etc/skel/

======================文档信息======================

版权声明:非商用自由转载-保持署名-注明出处

署名(BY) :testcs_dn(微wx笑)

文章出处:[无知人生,记录点滴](http://blog.csdn.NET/testcs_dn)

==============欢迎关注我的个人微信订阅号(微wx笑)==========

Centos fatal error: Python.h: No such file or directory

Centos fatal error: Python.h: No such file or directory

Fatal error: Python.h: No such file or directory

问题解决方法: python2 yum install python-devel

python3 yum install python34-devel

今天关于CentOS提示:./configure *: No such file or directorycentos no such file or directory该怎么解决的讲解已经结束,谢谢您的阅读,如果想了解更多关于CentOS -bash: ./xxx/make: No such file or directory、centos 6.2 安装scrapy error: Python.h: No such file or directory、CentOS cp 复制隐藏文件提示 cp: cannot stat ?.xxx*?. No such file or directory、Centos fatal error: Python.h: No such file or directory的相关知识,请在本站搜索。

本文标签: