出现下列异常:
/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
转载:http://www.voidcn.com/article/p-gnezhzxy-dn.html