首页 > 代码库 > 异常/usr/bin/install: cannot create regular file `/usr/local/jpeg6/include/jconfig.h'
异常/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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。