I got this error while installing mpc-1.0.2 under ubuntu 16.04
First, I ran the following command():
sudo ./configure --prefix=/usr --docdir=/usr/share/doc/mpc-1.0.2
It didn't give any error.
Then, I ran the make
command, which gave the following error:
make all-recursive
make[1]: Entering directory '/usr/mpc-1.0.2'
Making all in src
make[2]: Entering directory '/usr/mpc-1.0.2/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. > -g -O2 -MT abs.lo -MD -MP -MF .deps/abs.Tpo -c -o abs.lo abs.c
libtool: compile: Failed to create `.libs'
Makefile:448: recipe for target 'abs.lo' failed
make[2]: * [abs.lo] Error 1
make[2]: Leaving directory '/usr/mpc-1.0.2/src'
Makefile:388: recipe for target 'all-recursive' failed
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory '/usr/mpc-1.0.2'
Makefile:298: recipe for target 'all' failed
make: *** [all] Error 2
如果您将它安装在具有 root 访问权限的文件夹中,那么您需要使用 sudo
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.