异常/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 



发布了362 篇原创文章 · 获赞 200 · 访问量 115万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览