在linux ec2上安装monit失败

前端之家收集整理的这篇文章主要介绍了在linux ec2上安装monit失败前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

我正在尝试在linux上安装monit.我运行了以下命令:

  1. wget http://mmonit.com/monit/dist/monit-5.5.tar.gz
  2. tar zxvf monit-5.5.tar.gz
  3. cd monit-5.5
  4. ./configure

当我尝试:

  1. make && make install

我明白了:

  1. make: *** No targets specified and no makefile found. Stop.

monit-5.5目录包含以下内容

  1. $ls
  2. CHANGES Makefile.in bootstrap configure doc monitrc
  3. COPYING README config configure.ac libmonit src
  4. Makefile.am aclocal.m4 config.log contrib monit.1

不知道是什么问题.谢谢您的帮助.

  1. [ec2-user@...~]$sudo tar zxvf monit-5.5.tar.gz.1 monit-5.5/
  2. monit-5.5/src/
  3. monit-5.5/src/http/
  4. monit-5.5/src/http/base64.h
  5. monit-5.5/src/http/processor.h
  6. monit-5.5/src/http/base64.c
  7. monit-5.5/src/http/cervlet.c
  8. monit-5.5/src/http/cervlet.h
  9. monit-5.5/src/http/engine.h
  10. monit-5.5/src/http/engine.c
  11. monit-5.5/src/http/processor.c
  12. monit-5.5/src/http/httpstatus.h
  13. monit-5.5/src/p.y
  14. monit-5.5/src/collector.c
  15. monit-5.5/src/util.h
  16. monit-5.5/src/ssl.c
  17. monit-5.5/src/status.c
  18. monit-5.5/src/monit.h
  19. monit-5.5/src/log.c
  20. monit-5.5/src/net.c
  21. monit-5.5/src/y.tab.c
  22. monit-5.5/src/file.h
  23. monit-5.5/src/socket.h
  24. monit-5.5/src/md5_crypt.c
  25. monit-5.5/src/event.c
  26. monit-5.5/src/md5.c
  27. monit-5.5/src/daemonize.c
  28. monit-5.5/src/signal.c
  29. monit-5.5/src/process.h
  30. monit-5.5/src/sha1.c
  31. monit-5.5/src/lex.yy.c
  32. monit-5.5/src/md5_crypt.h
  33. monit-5.5/src/socket.c
  34. monit-5.5/src/control.c
  35. monit-5.5/src/config.h.in
  36. monit-5.5/src/net.h
  37. monit-5.5/src/env.c
  38. monit-5.5/src/util.c
  39. monit-5.5/src/alert.c
  40. monit-5.5/src/l.l
  41. monit-5.5/src/state.c
  42. monit-5.5/src/alert.h
  43. monit-5.5/src/md5.h
  44. monit-5.5/src/http.c
  45. monit-5.5/src/validate.c
  46. monit-5.5/src/process.c
  47. monit-5.5/src/gc.c
  48. monit-5.5/src/device/
  49. monit-5.5/src/device/device_sysdep.h
  50. monit-5.5/src/device/sysdep_LINUX.c
  51. monit-5.5/src/device/sysdep_NETBSD.c
  52. monit-5.5/src/device/device.h
  53. monit-5.5/src/device/sysdep_DARWIN.c
  54. monit-5.5/src/device/sysdep_OPENBSD.c
  55. monit-5.5/src/device/sysdep_UNKNOWN.c
  56. monit-5.5/src/device/sysdep_SOLARIS.c
  57. monit-5.5/src/device/device_common.c
  58. monit-5.5/src/device/sysdep_AIX.c
  59. monit-5.5/src/device/sysdep_FREEBSD.c
  60. monit-5.5/src/device/sysdep_HPUX.c
  61. monit-5.5/src/tokens.h
  62. monit-5.5/src/state.h
  63. monit-5.5/src/file.c
  64. monit-5.5/src/spawn.c
  65. monit-5.5/src/protocols/
  66. monit-5.5/src/protocols/rsync.c
  67. monit-5.5/src/protocols/pgsql.c
  68. monit-5.5/src/protocols/MysqL.c
  69. monit-5.5/src/protocols/ftp.c
  70. monit-5.5/src/protocols/protocol.c
  71. monit-5.5/src/protocols/apache_status.c
  72. monit-5.5/src/protocols/lmtp.c
  73. monit-5.5/src/protocols/dns.c
  74. monit-5.5/src/protocols/ntp3.c
  75. monit-5.5/src/protocols/sip.c
  76. monit-5.5/src/protocols/nntp.c
  77. monit-5.5/src/protocols/tns.c
  78. monit-5.5/src/protocols/ldap2.c
  79. monit-5.5/src/protocols/smtp.c
  80. monit-5.5/src/protocols/ldap3.c
  81. monit-5.5/src/protocols/radius.c
  82. monit-5.5/src/protocols/http.c
  83. monit-5.5/src/protocols/dwp.c
  84. monit-5.5/src/protocols/imap.c
  85. monit-5.5/src/protocols/default.c
  86. monit-5.5/src/protocols/gps.c
  87. monit-5.5/src/protocols/protocol.h
  88. monit-5.5/src/protocols/pop.c
  89. monit-5.5/src/protocols/generic.c
  90. monit-5.5/src/protocols/ssh.c
  91. monit-5.5/src/protocols/memcache.c
  92. monit-5.5/src/protocols/clamav.c
  93. monit-5.5/src/protocols/postfix_policy.c
  94. monit-5.5/src/protocols/rdate.c
  95. monit-5.5/src/event.h
  96. monit-5.5/src/xml.c
  97. monit-5.5/src/ssl.h
  98. monit-5.5/src/sha1.h
  99. monit-5.5/src/process/
  100. monit-5.5/src/process/sysdep_LINUX.c
  101. monit-5.5/src/process/sysdep_NETBSD.c
  102. monit-5.5/src/process/sysdep_DARWIN.c
  103. monit-5.5/src/process/sysdep_OPENBSD.c
  104. monit-5.5/src/process/sysdep_UNKNOWN.c
  105. monit-5.5/src/process/process_sysdep.h
  106. monit-5.5/src/process/process_common.c
  107. monit-5.5/src/process/sysdep_SOLARIS.c
  108. monit-5.5/src/process/sysdep_AIX.c
  109. monit-5.5/src/process/sysdep_FREEBSD.c
  110. monit-5.5/src/process/sysdep_HPUX.c
  111. monit-5.5/src/sendmail.c
  112. monit-5.5/src/monit.c
  113. monit-5.5/monitrc
  114. monit-5.5/CHANGES
  115. monit-5.5/monit.1
  116. monit-5.5/configure.ac
  117. monit-5.5/configure
  118. monit-5.5/aclocal.m4
  119. monit-5.5/Makefile.in
  120. monit-5.5/bootstrap
  121. monit-5.5/libmonit/
  122. monit-5.5/libmonit/src/
  123. monit-5.5/libmonit/src/thread/
  124. monit-5.5/libmonit/src/thread/Thread.h
  125. monit-5.5/libmonit/src/thread/Thread.c
  126. monit-5.5/libmonit/src/system/
  127. monit-5.5/libmonit/src/system/Time.h
  128. monit-5.5/libmonit/src/system/Net.h
  129. monit-5.5/libmonit/src/system/Mem.c
  130. monit-5.5/libmonit/src/system/Mem.h
  131. monit-5.5/libmonit/src/system/Net.c
  132. monit-5.5/libmonit/src/system/System.h
  133. monit-5.5/libmonit/src/system/Command.h
  134. monit-5.5/libmonit/src/system/Time.c
  135. monit-5.5/libmonit/src/system/System.c
  136. monit-5.5/libmonit/src/system/Process.h
  137. monit-5.5/libmonit/src/system/Command.c
  138. monit-5.5/libmonit/src/io/
  139. monit-5.5/libmonit/src/io/File.h
  140. monit-5.5/libmonit/src/io/Dir.h
  141. monit-5.5/libmonit/src/io/InputStream.h
  142. monit-5.5/libmonit/src/io/InputStream.c
  143. monit-5.5/libmonit/src/io/OutputStream.h
  144. monit-5.5/libmonit/src/io/OutputStream.c
  145. monit-5.5/libmonit/src/io/File.c
  146. monit-5.5/libmonit/src/io/Dir.c
  147. monit-5.5/libmonit/src/util/
  148. monit-5.5/libmonit/src/util/Str.h
  149. monit-5.5/libmonit/src/util/Str.c
  150. monit-5.5/libmonit/src/util/StringBuffer.h
  151. monit-5.5/libmonit/src/util/StringBuffer.c
  152. monit-5.5/libmonit/src/util/List.h
  153. monit-5.5/libmonit/src/util/List.c
  154. monit-5.5/libmonit/src/xconfig.h.in
  155. monit-5.5/libmonit/src/Bootstrap.h
  156. monit-5.5/libmonit/src/Bootstrap.c
  157. monit-5.5/libmonit/src/exceptions/
  158. monit-5.5/libmonit/src/exceptions/MemoryException.h
  159. monit-5.5/libmonit/src/exceptions/AssertException.h
  160. monit-5.5/libmonit/src/exceptions/Exception.h
  161. monit-5.5/libmonit/src/exceptions/NumberFormatException.h
  162. monit-5.5/libmonit/src/exceptions/IOException.h
  163. monit-5.5/libmonit/src/exceptions/assert.c
  164. monit-5.5/libmonit/src/exceptions/Exception.c
  165. monit-5.5/libmonit/src/exceptions/assert.h
  166. monit-5.5/libmonit/src/Config.h
  167. monit-5.5/libmonit/libtool
  168. monit-5.5/libmonit/Makefile
  169. monit-5.5/libmonit/configure.ac
  170. monit-5.5/libmonit/test/
  171. monit-5.5/libmonit/test/OutputStreamTest.c
  172. monit-5.5/libmonit/test/Makefile
  173. monit-5.5/libmonit/test/FileTest.c
  174. monit-5.5/libmonit/test/StrTest.c
  175. monit-5.5/libmonit/test/TimeTest.c
  176. monit-5.5/libmonit/test/CommandTest.c
  177. monit-5.5/libmonit/test/Makefile.in
  178. monit-5.5/libmonit/test/ListTest.c
  179. monit-5.5/libmonit/test/DirTest.c
  180. monit-5.5/libmonit/test/NetTest.c
  181. monit-5.5/libmonit/test/test.sh
  182. monit-5.5/libmonit/test/StringBufferTest.c
  183. monit-5.5/libmonit/test/ExceptionTest.c
  184. monit-5.5/libmonit/test/Makefile.am
  185. monit-5.5/libmonit/test/SystemTest.c
  186. monit-5.5/libmonit/test/InputStreamTest.c
  187. monit-5.5/libmonit/test/data/
  188. monit-5.5/libmonit/test/data/stream.data
  189. monit-5.5/libmonit/configure
  190. monit-5.5/libmonit/aclocal.m4
  191. monit-5.5/libmonit/Makefile.in
  192. monit-5.5/libmonit/bootstrap
  193. monit-5.5/libmonit/config/
  194. monit-5.5/libmonit/config/config.guess
  195. monit-5.5/libmonit/config/missing
  196. monit-5.5/libmonit/config/ltmain.sh
  197. monit-5.5/libmonit/config/install-sh
  198. monit-5.5/libmonit/config/config.sub
  199. monit-5.5/libmonit/COPYING
  200. monit-5.5/libmonit/README
  201. monit-5.5/libmonit/Makefile.am
  202. monit-5.5/libmonit/m4/
  203. monit-5.5/libmonit/m4/libtool.m4
  204. monit-5.5/libmonit/m4/lt~obsolete.m4
  205. monit-5.5/libmonit/m4/ltsugar.m4
  206. monit-5.5/libmonit/m4/ltoptions.m4
  207. monit-5.5/libmonit/m4/ltversion.m4
  208. monit-5.5/contrib/
  209. monit-5.5/contrib/monitrc-gentoo
  210. monit-5.5/contrib/rc.monit
  211. monit-5.5/contrib/packages/
  212. monit-5.5/contrib/packages/freebsd/
  213. monit-5.5/contrib/packages/freebsd/pkg-message
  214. monit-5.5/contrib/packages/freebsd/distinfo
  215. monit-5.5/contrib/packages/freebsd/Makefile
  216. monit-5.5/contrib/packages/freebsd/files/
  217. monit-5.5/contrib/packages/freebsd/files/monit.sh
  218. monit-5.5/contrib/packages/freebsd/pkg-descr
  219. monit-5.5/contrib/packages/freebsd/README.porter
  220. monit-5.5/contrib/packages/redhat/
  221. monit-5.5/contrib/packages/redhat/monit.spec
  222. monit-5.5/contrib/packages/solaris/
  223. monit-5.5/contrib/packages/solaris/README.solaris
  224. monit-5.5/contrib/packages/solaris/init.monit
  225. monit-5.5/contrib/packages/solaris/makesolpkg.sh
  226. monit-5.5/contrib/monit.upstart.in
  227. monit-5.5/contrib/monit.service.in
  228. monit-5.5/contrib/monit.service
  229. monit-5.5/contrib/monit.upstart
  230. monit-5.5/config/
  231. monit-5.5/config/config.guess
  232. monit-5.5/config/missing
  233. monit-5.5/config/ltmain.sh
  234. monit-5.5/config/install-sh
  235. monit-5.5/config/config.sub
  236. monit-5.5/COPYING
  237. monit-5.5/README
  238. monit-5.5/doc/
  239. monit-5.5/doc/monit.pod
  240. monit-5.5/doc/PLATFORMS
  241. monit-5.5/Makefile.am
  242. [ec2-user@domU-12-31-39-03-28-A1 ~]$ls
  243. crawller monit-5.5 node-v0.8.14 tmp
  244. m_2.2.0.tgz monit-5.5.tar.gz node-v0.8.14.tar.gz
  245. mongodb-linux-x86_64-2.2.0 monit-5.5.tar.gz.1 nodejs
  246. [ec2-user@domU-12-31-39-03-28-A1 ~]$cd monit-5.5
  247. [ec2-user@domU-12-31-39-03-28-A1 monit-5.5]$sudo ./configure
  248. checking for a BSD-compatible install... /usr/bin/install -c
  249. checking whether build environment is sane... yes
  250. checking for a thread-safe mkdir -p... /bin/mkdir -p
  251. checking for gawk... gawk
  252. checking whether make sets $(MAKE)... yes
  253. checking for gcc... gcc
  254. checking whether the C compiler works... yes
  255. checking for C compiler default output file name... a.out
  256. checking for suffix of executables...
  257. checking whether we are cross compiling... no
  258. checking for suffix of object files... o
  259. checking whether we are using the GNU C compiler... yes
  260. checking whether gcc accepts -g... yes
  261. checking for gcc option to accept ISO C89... none needed
  262. checking for style of include used by make... GNU
  263. checking dependency style of gcc... none
  264. checking whether make sets $(MAKE)... (cached) yes
  265. checking for bison... bison -y
  266. checking for flex... /usr/bin/flex
  267. checking for pod2man... /usr/bin/pod2man
  268. checking build system type... x86_64-unknown-linux-gnu
  269. checking host system type... x86_64-unknown-linux-gnu
  270. checking for a sed that does not truncate output... /bin/sed
  271. checking for grep that handles long lines and -e... /bin/grep
  272. checking for egrep... /bin/grep -E
  273. checking for fgrep... /bin/grep -F
  274. checking for ld used by gcc... /usr/bin/ld
  275. checking if the linker (/usr/bin/ld) is GNU ld... yes
  276. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  277. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  278. checking whether ln -s works... yes
  279. checking the maximum length of command line arguments... 1572864
  280. checking whether the shell understands some XSI constructs... yes
  281. checking whether the shell understands "+="... yes
  282. checking for /usr/bin/ld option to reload object files... -r
  283. checking for objdump... objdump
  284. checking how to recognize dependent libraries... pass_all
  285. checking for ar... ar
  286. checking for strip... strip
  287. checking for ranlib... ranlib
  288. checking command to parse /usr/bin/nm -B output from gcc object... ok
  289. checking how to run the C preprocessor... gcc -E
  290. checking for ANSI C header files... yes
  291. checking for sys/types.h... yes
  292. checking for sys/stat.h... yes
  293. checking for stdlib.h... yes
  294. checking for string.h... yes
  295. checking for memory.h... yes
  296. checking for strings.h... yes
  297. checking for inttypes.h... yes
  298. checking for stdint.h... yes
  299. checking for unistd.h... yes
  300. checking for dlfcn.h... yes
  301. checking for objdir... .libs
  302. checking if gcc supports -fno-rtti -fno-exceptions... no
  303. checking for gcc option to produce PIC... -fPIC -DPIC
  304. checking if gcc PIC flag -fPIC -DPIC works... yes
  305. checking if gcc static flag -static works... no
  306. checking if gcc supports -c -o file.o... yes
  307. checking if gcc supports -c -o file.o... (cached) yes
  308. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  309. checking whether -lc should be explicitly linked in... no
  310. checking dynamic linker characteristics... GNU/Linux ld.so
  311. checking how to hardcode library paths into programs... immediate
  312. checking whether stripping libraries is possible... yes
  313. checking if libtool supports shared libraries... yes
  314. checking whether to build shared libraries... yes
  315. checking whether to build static libraries... no
  316. checking for socket in -lsocket... no
  317. checking for socket in -linet... no
  318. checking for inet_addr in -lnsl... yes
  319. checking for inet_aton in -lresolv... yes
  320. checking for crypt in -lc... no
  321. checking for crypt in -lcrypt... yes
  322. checking for pthread_create in -lpthread... yes
  323. checking for ANSI C header files... (cached) yes
  324. checking for sys/wait.h that is POSIX.1 compatible... yes
  325. checking whether stat file-mode macros are broken... no
  326. checking whether time.h and sys/time.h may both be included... yes
  327. checking alloca.h usability... yes
  328. checking alloca.h presence... yes
  329. checking for alloca.h... yes
  330. checking arpa/inet.h usability... yes
  331. checking arpa/inet.h presence... yes
  332. checking for arpa/inet.h... yes
  333. checking asm/page.h usability... no
  334. checking asm/page.h presence... no
  335. checking for asm/page.h... no
  336. checking asm/param.h usability... yes
  337. checking asm/param.h presence... yes
  338. checking for asm/param.h... yes
  339. checking cf.h usability... no
  340. checking cf.h presence... no
  341. checking for cf.h... no
  342. checking crt_externs.h usability... no
  343. checking crt_externs.h presence... no
  344. checking for crt_externs.h... no
  345. checking ctype.h usability... yes
  346. checking ctype.h presence... yes
  347. checking for ctype.h... yes
  348. checking crypt.h usability... yes
  349. checking crypt.h presence... yes
  350. checking for crypt.h... yes
  351. checking dirent.h usability... yes
  352. checking dirent.h presence... yes
  353. checking for dirent.h... yes
  354. checking errno.h usability... yes
  355. checking errno.h presence... yes
  356. checking for errno.h... yes
  357. checking execinfo.h usability... yes
  358. checking execinfo.h presence... yes
  359. checking for execinfo.h... yes
  360. checking fcntl.h usability... yes
  361. checking fcntl.h presence... yes
  362. checking for fcntl.h... yes
  363. checking getopt.h usability... yes
  364. checking getopt.h presence... yes
  365. checking for getopt.h... yes
  366. checking glob.h usability... yes
  367. checking glob.h presence... yes
  368. checking for glob.h... yes
  369. checking grp.h usability... yes
  370. checking grp.h presence... yes
  371. checking for grp.h... yes
  372. checking kvm.h usability... no
  373. checking kvm.h presence... no
  374. checking for kvm.h... no
  375. checking paths.h usability... yes
  376. checking paths.h presence... yes
  377. checking for paths.h... yes
  378. checking kstat.h usability... no
  379. checking kstat.h presence... no
  380. checking for kstat.h... no
  381. checking sys/protosw.h usability... no
  382. checking sys/protosw.h presence... no
  383. checking for sys/protosw.h... no
  384. checking limits.h usability... yes
  385. checking limits.h presence... yes
  386. checking for limits.h... yes
  387. checking loadavg.h usability... no
  388. checking loadavg.h presence... no
  389. checking for loadavg.h... no
  390. checking locale.h usability... yes
  391. checking locale.h presence... yes
  392. checking for locale.h... yes
  393. checking mach/host_info.h usability... no
  394. checking mach/host_info.h presence... no
  395. checking for mach/host_info.h... no
  396. checking mach/mach.h usability... no
  397. checking mach/mach.h presence... no
  398. checking for mach/mach.h... no
  399. checking mach/mach_host.h usability... no
  400. checking mach/mach_host.h presence... no
  401. checking for mach/mach_host.h... no
  402. checking for memory.h... (cached) yes
  403. checking mntent.h usability... yes
  404. checking mntent.h presence... yes
  405. checking for mntent.h... yes
  406. checking netdb.h usability... yes
  407. checking netdb.h presence... yes
  408. checking for netdb.h... yes
  409. checking sys/socket.h usability... yes
  410. checking sys/socket.h presence... yes
  411. checking for sys/socket.h... yes
  412. checking netinet/in.h usability... yes
  413. checking netinet/in.h presence... yes
  414. checking for netinet/in.h... yes
  415. checking netinet/in_systm.h usability... yes
  416. checking netinet/in_systm.h presence... yes
  417. checking for netinet/in_systm.h... yes
  418. checking pam/pam_appl.h usability... no
  419. checking pam/pam_appl.h presence... no
  420. checking for pam/pam_appl.h... no
  421. checking security/pam_appl.h usability... no
  422. checking security/pam_appl.h presence... no
  423. checking for security/pam_appl.h... no
  424. checking poll.h usability... yes
  425. checking poll.h presence... yes
  426. checking for poll.h... yes
  427. checking procfs.h usability... no
  428. checking procfs.h presence... no
  429. checking for procfs.h... no
  430. checking sys/procfs.h usability... yes
  431. checking sys/procfs.h presence... yes
  432. checking for sys/procfs.h... yes
  433. checking procinfo.h usability... no
  434. checking procinfo.h presence... no
  435. checking for procinfo.h... no
  436. checking pthread.h usability... yes
  437. checking pthread.h presence... yes
  438. checking for pthread.h... yes
  439. checking pwd.h usability... yes
  440. checking pwd.h presence... yes
  441. checking for pwd.h... yes
  442. checking regex.h usability... yes
  443. checking regex.h presence... yes
  444. checking for regex.h... yes
  445. checking setjmp.h usability... yes
  446. checking setjmp.h presence... yes
  447. checking for setjmp.h... yes
  448. checking signal.h usability... yes
  449. checking signal.h presence... yes
  450. checking for signal.h... yes
  451. checking stdarg.h usability... yes
  452. checking stdarg.h presence... yes
  453. checking for stdarg.h... yes
  454. checking stddef.h usability... yes
  455. checking stddef.h presence... yes
  456. checking for stddef.h... yes
  457. checking stdio.h usability... yes
  458. checking stdio.h presence... yes
  459. checking for stdio.h... yes
  460. checking for string.h... (cached) yes
  461. checking for strings.h... (cached) yes
  462. checking stropts.h usability... no
  463. checking stropts.h presence... no
  464. checking for stropts.h... no
  465. checking sys/cfgodm.h usability... no
  466. checking sys/cfgodm.h presence... no
  467. checking for sys/cfgodm.h... no
  468. checking sys/cfgdb.h usability... no
  469. checking sys/cfgdb.h presence... no
  470. checking for sys/cfgdb.h... no
  471. checking sys/dk.h usability... no
  472. checking sys/dk.h presence... no
  473. checking for sys/dk.h... no
  474. checking sys/dkstat.h usability... no
  475. checking sys/dkstat.h presence... no
  476. checking for sys/dkstat.h... no
  477. checking sys/filio.h usability... no
  478. checking sys/filio.h presence... no
  479. checking for sys/filio.h... no
  480. checking sys/ioctl.h usability... yes
  481. checking sys/ioctl.h presence... yes
  482. checking for sys/ioctl.h... yes
  483. checking sys/loadavg.h usability... no
  484. checking sys/loadavg.h presence... no
  485. checking for sys/loadavg.h... no
  486. checking sys/lock.h usability... no
  487. checking sys/lock.h presence... no
  488. checking for sys/lock.h... no
  489. checking sys/mnttab.h usability... no
  490. checking sys/mnttab.h presence... no
  491. checking for sys/mnttab.h... no
  492. checking sys/mutex.h usability... no
  493. checking sys/mutex.h presence... no
  494. checking for sys/mutex.h... no
  495. checking sys/nlist.h usability... no
  496. checking sys/nlist.h presence... no
  497. checking for sys/nlist.h... no
  498. checking sys/param.h usability... yes
  499. checking sys/param.h presence... yes
  500. checking for sys/param.h... yes
  501. checking sys/pstat.h usability... no
  502. checking sys/pstat.h presence... no
  503. checking for sys/pstat.h... no
  504. checking sys/queue.h usability... yes
  505. checking sys/queue.h presence... yes
  506. checking for sys/queue.h... yes
  507. checking sys/resource.h usability... yes
  508. checking sys/resource.h presence... yes
  509. checking for sys/resource.h... yes
  510. checking sys/statfs.h usability... yes
  511. checking sys/statfs.h presence... yes
  512. checking for sys/statfs.h... yes
  513. checking sys/statvfs.h usability... yes
  514. checking sys/statvfs.h presence... yes
  515. checking for sys/statvfs.h... yes
  516. checking sys/sysinfo.h usability... yes
  517. checking sys/sysinfo.h presence... yes
  518. checking for sys/sysinfo.h... yes
  519. checking sys/systemcfg.h usability... no
  520. checking sys/systemcfg.h presence... no
  521. checking for sys/systemcfg.h... no
  522. checking sys/time.h usability... yes
  523. checking sys/time.h presence... yes
  524. checking for sys/time.h... yes
  525. checking sys/tree.h usability... no
  526. checking sys/tree.h presence... no
  527. checking for sys/tree.h... no
  528. checking for sys/types.h... (cached) yes
  529. checking sys/un.h usability... yes
  530. checking sys/un.h presence... yes
  531. checking for sys/un.h... yes
  532. checking sys/utsname.h usability... yes
  533. checking sys/utsname.h presence... yes
  534. checking for sys/utsname.h... yes
  535. checking sys/vmmeter.h usability... no
  536. checking sys/vmmeter.h presence... no
  537. checking for sys/vmmeter.h... no
  538. checking sys/vfs.h usability... yes
  539. checking sys/vfs.h presence... yes
  540. checking for sys/vfs.h... yes
  541. checking syslog.h usability... yes
  542. checking syslog.h presence... yes
  543. checking for syslog.h... yes
  544. checking for unistd.h... (cached) yes
  545. checking uvm/uvm.h usability... no
  546. checking uvm/uvm.h presence... no
  547. checking for uvm/uvm.h... no
  548. checking uvm/uvm_extern.h usability... no
  549. checking uvm/uvm_extern.h presence... no
  550. checking for uvm/uvm_extern.h... no
  551. checking vm/vm.h usability... no
  552. checking vm/vm.h presence... no
  553. checking for vm/vm.h... no
  554. checking for libperfstat.h... no
  555. checking for netinet/ip.h... yes
  556. checking for net/if.h... yes
  557. checking for netinet/ip_icmp.h... yes
  558. checking for sys/sysctl.h... yes
  559. checking for sys/mount.h... yes
  560. checking for sys/proc.h... no
  561. checking for sys/swap.h... yes
  562. checking for sys/ucred.h... no
  563. checking for sys/user.h... yes
  564. checking for machine/vmparam.h... no
  565. checking for vm/pmap.h... no
  566. checking for machine/pmap.h... no
  567. checking for vm/vm_map.h... no
  568. checking for vm/vm_object.h... no
  569. checking for sys/resourcevar.h... no
  570. checking for uvm/uvm_map.h... no
  571. checking for uvm/uvm_pmap.h... no
  572. checking for uvm/uvm_object.h... no
  573. checking for mode_t... yes
  574. checking for pid_t... yes
  575. checking for size_t... yes
  576. checking for pid_t... (cached) yes
  577. checking return type of signal handlers... void
  578. checking whether struct tm is in sys/time.h or time.h... time.h
  579. checking for struct tm.tm_gmtoff... no
  580. checking for error_at_line... yes
  581. checking vfork.h usability... no
  582. checking vfork.h presence... no
  583. checking for vfork.h... no
  584. checking for fork... yes
  585. checking for vfork... yes
  586. checking for working fork... yes
  587. checking for working vfork... (cached) yes
  588. checking whether lstat correctly handles trailing slash... yes
  589. checking whether stat accepts an empty string... no
  590. checking for strftime... yes
  591. checking for statfs... yes
  592. checking for statvfs... yes
  593. checking for setlocale... yes
  594. checking for getaddrinfo... yes
  595. checking for syslog... yes
  596. checking for vsyslog... yes
  597. checking for backtrace... yes
  598. checking for getloadavg... yes
  599. checking for SOL_IP... yes
  600. checking for va_copy... yes
  601. checking for an ANSI C-conforming const... yes
  602. checking whether byte ordering is bigendian... no
  603. checking pid file location... /var/run
  604. checking for large files support... enabled
  605. checking for special C compiler options needed for large files... no
  606. checking for _FILE_OFFSET_BITS value needed for large files... no
  607. checking for PAM support... enabled
  608. checking for pam_start in -lpam... no
  609. configure: error: PAM enabled but headers or library not found,install the PAM development support or run configure --without-pam
  610. [ec2-user@... monit-5.5]$make && make install
  611. make: *** No targets specified and no makefile found. Stop.
最佳答案
非常感谢,你是对的,问题是我没有安装pam和ssl头文件
所以我所做的就是解决了这个问题:

  1. sudo -s
  2. sudo yum install pam-devel
  3. sudo yum install openssl-devel
  4. sudo yum update (probably not necessary but to be on the sife side)

然后,我有monitrc文件的问题所以我把它复制到〜和

  1. chmod 0700 ~/.monitrc

猜你在找的Linux相关文章