不知道哪里错了,但是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
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
解决方案 »
- 在远程连接Ubuntu时出现的问题,是不是xrdp的配置出现错误了
- 求助mysql初始化问题
- error while loading shared libraries: libclntsh.so.11.1 错误!
- kmemleak工具查询内存泄露,该如何解决?
- 在aix6.1上安装apache2.4.3失败
- 请问windows系统的bat文件怎么转成Linux的sh文件
- centos图形界面无法登录
- 哪位大佬教一下怎么用shell关闭USB
- Centos系统问题
- 如何编译linux kernel时将设备树也一起编译
- keepalived+haproxy实现高可用主备
- 在远程连接Ubuntu时出现的问题,是不是xrdp的配置出现错误了
先确认已经正确安装了 autoconf 和 automake
然后运行 autoreconf -fi 生成 configure
接下来
./configure make