永发信息网

没有指明目标并且找不到makefile

答案:2  悬赏:70  手机版
解决时间 2021-01-05 03:36
  • 提问者网友:人傍凄凉立暮秋
  • 2021-01-04 08:33
下面是我的linux界面:

before@linux-flly:~> cd Desktop
before@linux-flly:~/Desktop> ls
cbt.desktop openssl-0.9.8k.tar.gz xsupplicant-1.2.8.tar.gz
openssl-0.9.8k xsupplicant-1.2.8
before@linux-flly:~/Desktop> cd xsupplicant-1.2.8
before@linux-flly:~/Desktop/xsupplicant-1.2.8> ls
aclocal.m4 config.guess configure depcomp etc install-sh Makefile.am mkinstalldirs TODO
AUTHORS config.log configure.in doc gui_tools lib Makefile.in README tools
CHANGELOG config.sub COPYING drivers INSTALL LICENSE missing src
before@linux-flly:~/Desktop/xsupplicant-1.2.8> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether byte ordering is bigendian... no
checking user defined path to OpenSSL...
checking user defined path to OpenSSL libraries...
checking user defined path to OpenSSL headers...
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 Operating System... Linux
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for iwlib.h... yes
checking iwlib version... 3 params
checking for CRYPTO_new_ex_data in -lcrypto... no
configure: error: library 'crypto' is required for Open1x
before@linux-flly:~/Desktop/xsupplicant-1.2.8> make
make: *** 没有指明目标并且找不到 makefile。 停止。
before@linux-flly:~/Desktop/xsupplicant-1.2.8>

我是先安装OpenSSL再装xsupplicant的,但是显示这个错误,网上说是缺少什么库之类的,有知道的还望指教,最好说清楚具体解决方法!!!

我在安装软件里装了下面几个软件。
libgcrypt
cryptconfig
libxcrypt
显示已经成功安装。
我再按上面的代码运行,结果是一样的。
还是显示那个错误!!
我现在该怎么解决???
最佳答案
  • 五星知识达人网友:污到你湿
  • 2021-01-04 09:13
这两行你认真看:
checking for CRYPTO_new_ex_data in -lcrypto... no
configure: error: library 'crypto' is required for Open1x

需要安装crypto库
全部回答
  • 1楼网友:空山清雨
  • 2021-01-04 10:10
那就是没有找到makefile咯,你看下configure的时候有没有报错呀,是不是提示有什么依赖的包没有装,先把依赖的包装了,再configure,试试,看有没有makefile。里面应该也有readme或者install这种文件,可以看看有没有什么帮助信息,或者需要什么特殊设置
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯