异常/usr/bin/install: cannot create regular file `/usr/local/jpeg6/include/jconfig.h'

出现下列异常:

/usr/bin/install -c -m 644 jconfig.h /usr/local/jpeg6/include/jconfig.h

/usr/bin/install: cannot create regular file `/usr/local/jpeg6/include/jconfig.h‘: No such file or directory

make: *** [install-headers] Error 1

原来要创建对应的目录,命令如下:

mkdir -p /usr/local/jpeg6/bin

mkdir /usr/local/jpeg6/lib

mkdir /usr/local/jpeg6/inculde

mkdir /usr/local/jpeg6/man

mkdir /usr/local/jpeg6/man/man1

继续安装原来的方式安装就OK啦。

./configure --prefix=/usr/local/jpeg6

make && make install

异常/usr/bin/install: cannot create regular file `/usr/local/jpeg6/include/jconfig.h',码迷,mamicode.com

异常/usr/bin/install: cannot create regular file `/usr/local/jpeg6/include/jconfig.h'

时间: 2024-08-02 15:10:16

异常/usr/bin/install: cannot create regular file `/usr/local/jpeg6/include/jconfig.h'的相关文章

Cannot install NodeJs: /usr/bin/env: node: No such file or directory

安装doxmate时,doxmate地址是:https://github.com/JacksonTian/doxmatenpm install doxmate -g 安装完后把错误:Cannot install NodeJs: /usr/bin/env: node: No such file or directory 解决方法:ln -s /usr/bin/nodejs /usr/bin/node或者sudo apt-get install nodejs-legacy 地址是:http://st

Linux_新手上路_/usr/bin/env: escript:No such file or directory问题

通过make编译mochiweb项目出现了/usr/bin/env: escript:No such file or directory问题. 由于escrpt是erlang的一种高级特性,于是想到是否erlang安装不成功? 重装了几次erlang并没有发现什么异常. 于是去到erlang的安装目录下查找escript的解析器,结果他是存在的且/usr/bin/env也是存在的,但在命令行下去找不到这个命令. 查看系统默认安装目录/usr/local/bin/发现只有erl, wx-confi

/usr/bin/env python no such file or directory: dos格式导致的!

最近修改了几个python文件,发现在linux上只能用python file来执行,直接./file提示错误"no such file or directory",而脚本是用"#!/usr/bin/env python"开头的,应该是可以直接执行的.    一般情况下,这个错误是由于没有权限导致的.但是这个脚本是有执行权限的.google后发现,原来是格式的问题!之前有几次我把文件ftp到windows上编辑,估计是不小型点了转换格式的按钮...手贱啊.. htt

Linux上运行python出现错误“/usr/bin/env: python3: No such file or directory"

If you see the error ": No such file or directory" (with nothing before the colon), it means that your shebang line has a carriage return at the end, presumably because it was edited under Windows (which uses CR,LF as a line separator). The CR c

python升级带来的yum异常:File "/usr/bin/yum", line 30

问题: $ yum File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: ^ SyntaxError: invalid syntax 原因: 这是因为yum采用Python作为命令解释器,这可以从/usr/bin/yum文件中第一行#!/usr/bin/python发现.而python版本之间兼容性不太好,使得2.X版本与3.0版本之间存在语法不一致问题.而CentOS 5自带的yum采用的是python2.4,当系统将py

使用yum命令报错File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: SyntaxError: invalid syntax问题

背景: CentOS 7升级Python到3.6.2后,需要在/usr/bin/python创建了一个指向Python 3的软连接,然后将/usr/bin/yum的顶部的: !/usr/bin/python 遇到的问题报错如下: File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: 通过看报错可以了解到是使用了python2的语法,所以了解到当前yum使用的Python2,因为我单独安装了python3,且python3设置

yum安装报错error: unpacking of archive failed on file /usr/bin/xxxx: cpio: open Failed

Bash漏洞爆出来了,赶紧更新一下补丁,#yum -y update bash 报错了 error: unpacking of archive failed on file /usr/bin/bashbug-64;54254708: cpio: open 参考了网上资料,原来是以前加固时给/usr/bin加了i权限 # lsattr /usr | grep bin ----i-----I-- /usr/bin # chattr -i /usr/bin 然后yum安装就OK了 参考资料:http:

常规问题解决:File "/usr/bin/yum", line 30

在执行yum命令时忽然发现出现以下报错: [[email protected] ~]# yum list File "/usr/bin/yum", line 30 except KeyboardInterrupt, e: ^ SyntaxError: invalid syntax 原因: 这是因为yum采用Python作为命令解释器,这可以从/usr/bin/yum文件中第一行#!/usr/bin/python发现.而python版本之间兼容性不太好,使得2.X版本与3.0版本之间存在

-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory

报错:-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory python多版本造成额问题 找不到python的路径 所以保持 -查找python#whereis pythonpython: /usr/bin/python /usr/bin/python2.4 /usr/lib/python2.4 /usr/local/bin/python2.7 /usr/local/bin/python