歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> 安裝jpeg.tar.gz時報錯的原因

安裝jpeg.tar.gz時報錯的原因

日期:2017/3/3 15:47:04   编辑:關於Linux

安裝jpeg.tar.gz的時候報錯:make: Nothing to be done for `unix';./libtool: Command not found make: *** [jcapimin.lo] Error 127

[root@localhost src]# make

./libtool --mode=compile gcc -O2 -I. -c ./jcapimin.c

make: ./libtool: Command not found

make: *** [jcapimin.lo] Error 127

出現這個問題的原因可能是

1.沒有安裝libtool,解決方法yum install libtool -y

2.libtool的版本太舊了,重新下載新的版本然後安裝

3.[root@localhost src]# cp /usr/share/libtool/config/config.sub ./

cp: overwrite `./config.sub'? yes

[root@localhost src]# cp /usr/share/libtool/config/config.guess ./

cp: overwrite `./config.guess'? yes

然後重新編譯安裝

[root@localhost src]# ./configure --enable-shared && make && make install

編譯freetype的時候報錯

make: Nothing to be done for `unix'

解決方法

make clean

make

make install

本欄目更多精彩內容:http://www.bianceng.cn/OS/Linux/

Copyright © Linux教程網 All Rights Reserved