求助大神 ./configure的问题

gxcss 2018-04-15 12:27:20
不知道哪里错了,但是make一直显示没有指明目标,但是实际上libconfig-master文件夹内是有makefile文件的,求助大神,万分感谢
root@guo-virtual-machine:/home/guo/libconfig-master# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
./configure: line 2320: AM_INIT_AUTOMAKE: command not found
configure: libconfig - made with pride in Colorado
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
./configure: line 3589: syntax error near unexpected token `ac_ext=c'
./configure: line 3589: `ac_ext=c'
root@guo-virtual-machine:/home/guo/libconfig-master# make
make: *** 没有指明目标并且找不到 makefile。 停止。
root@guo-virtual-machine:/home/guo/libconfig-master# sudo make

...全文
907 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
幽饮烛 2018-04-17
  • 打赏
  • 举报
回复
configure 文件有问题,需要重新生成,一般 configure 由 autoconf 生成的。依赖 automake 包。 先确认已经正确安装了 autoconf 和 automake 然后运行 autoreconf -fi 生成 configure 接下来 ./configure make

18,773

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧