当前位置: 代码迷 >> 综合 >> make: Nothing to be done for `unix';./libtool: Command not found make: *** [jcapimin.lo] Error 127
  详细解决方案

make: Nothing to be done for `unix';./libtool: Command not found make: *** [jcapimin.lo] Error 127

热度:51   发布时间:2023-12-08 21:33:50.0

安装jpeg.tar.gz的时候报错

[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


  相关解决方案