在linux ec2上安装monit失败

在linux ec2上安装monit失败,第1张

概述我正在尝试在linux上安装monit.我运行了以下命令:wget http://mmonit.com/monit/dist/monit-5.5.tar.gz tar zxvf monit-5.5.tar.gz cd monit-5.5 ./configure 当我尝试:make && make install 我明白了:make: *** @H_404_0@

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

wget http://mmonit.com/monit/dist/monit-5.5.tar.gztar zxvf monit-5.5.tar.gzcd monit-5.5./configure

当我尝试:

make && make install

我明白了:

make: *** No targets specifIEd and no makefile found.  Stop.

monit-5.5目录包含以下内容:

$lsCHANGES      Makefile.in  bootstrap   configure     doc       monitrccopYING      README       config      configure.ac  libmonit  srcMakefile.am  aclocal.m4   config.log  contrib       monit.1

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

[ec2-user@...~]$sudo tar zxvf monit-5.5.tar.gz.1 monit-5.5/monit-5.5/src/monit-5.5/src/http/monit-5.5/src/http/base64.hmonit-5.5/src/http/processor.hmonit-5.5/src/http/base64.cmonit-5.5/src/http/cervlet.cmonit-5.5/src/http/cervlet.hmonit-5.5/src/http/engine.hmonit-5.5/src/http/engine.cmonit-5.5/src/http/processor.cmonit-5.5/src/http/httpstatus.hmonit-5.5/src/p.ymonit-5.5/src/collector.cmonit-5.5/src/util.hmonit-5.5/src/ssl.cmonit-5.5/src/status.cmonit-5.5/src/monit.hmonit-5.5/src/log.cmonit-5.5/src/net.cmonit-5.5/src/y.tab.cmonit-5.5/src/file.hmonit-5.5/src/socket.hmonit-5.5/src/md5_crypt.cmonit-5.5/src/event.cmonit-5.5/src/md5.cmonit-5.5/src/daemonize.cmonit-5.5/src/signal.cmonit-5.5/src/process.hmonit-5.5/src/sha1.cmonit-5.5/src/lex.yy.cmonit-5.5/src/md5_crypt.hmonit-5.5/src/socket.cmonit-5.5/src/control.cmonit-5.5/src/config.h.inmonit-5.5/src/net.hmonit-5.5/src/env.cmonit-5.5/src/util.cmonit-5.5/src/alert.cmonit-5.5/src/l.lmonit-5.5/src/state.cmonit-5.5/src/alert.hmonit-5.5/src/md5.hmonit-5.5/src/http.cmonit-5.5/src/valIDate.cmonit-5.5/src/process.cmonit-5.5/src/gc.cmonit-5.5/src/device/monit-5.5/src/device/device_sysdep.hmonit-5.5/src/device/sysdep_liNUX.cmonit-5.5/src/device/sysdep_NETBSD.cmonit-5.5/src/device/device.hmonit-5.5/src/device/sysdep_DARWIN.cmonit-5.5/src/device/sysdep_OPENBSD.cmonit-5.5/src/device/sysdep_UNKNowN.cmonit-5.5/src/device/sysdep_SolARIS.cmonit-5.5/src/device/device_common.cmonit-5.5/src/device/sysdep_AIX.cmonit-5.5/src/device/sysdep_FREEBSD.cmonit-5.5/src/device/sysdep_HPUX.cmonit-5.5/src/tokens.hmonit-5.5/src/state.hmonit-5.5/src/file.cmonit-5.5/src/spawn.cmonit-5.5/src/protocols/monit-5.5/src/protocols/rsync.cmonit-5.5/src/protocols/pgsql.cmonit-5.5/src/protocols/MysqL.cmonit-5.5/src/protocols/ftp.cmonit-5.5/src/protocols/protocol.cmonit-5.5/src/protocols/apache_status.cmonit-5.5/src/protocols/lmtp.cmonit-5.5/src/protocols/dns.cmonit-5.5/src/protocols/ntp3.cmonit-5.5/src/protocols/sip.cmonit-5.5/src/protocols/nntp.cmonit-5.5/src/protocols/tns.cmonit-5.5/src/protocols/ldap2.cmonit-5.5/src/protocols/smtp.cmonit-5.5/src/protocols/ldap3.cmonit-5.5/src/protocols/radius.cmonit-5.5/src/protocols/http.cmonit-5.5/src/protocols/DWp.cmonit-5.5/src/protocols/imap.cmonit-5.5/src/protocols/default.cmonit-5.5/src/protocols/gps.cmonit-5.5/src/protocols/protocol.hmonit-5.5/src/protocols/pop.cmonit-5.5/src/protocols/generic.cmonit-5.5/src/protocols/ssh.cmonit-5.5/src/protocols/memcache.cmonit-5.5/src/protocols/clamav.cmonit-5.5/src/protocols/postfix_policy.cmonit-5.5/src/protocols/rdate.cmonit-5.5/src/event.hmonit-5.5/src/xml.cmonit-5.5/src/ssl.hmonit-5.5/src/sha1.hmonit-5.5/src/process/monit-5.5/src/process/sysdep_liNUX.cmonit-5.5/src/process/sysdep_NETBSD.cmonit-5.5/src/process/sysdep_DARWIN.cmonit-5.5/src/process/sysdep_OPENBSD.cmonit-5.5/src/process/sysdep_UNKNowN.cmonit-5.5/src/process/process_sysdep.hmonit-5.5/src/process/process_common.cmonit-5.5/src/process/sysdep_SolARIS.cmonit-5.5/src/process/sysdep_AIX.cmonit-5.5/src/process/sysdep_FREEBSD.cmonit-5.5/src/process/sysdep_HPUX.cmonit-5.5/src/sendmail.cmonit-5.5/src/monit.cmonit-5.5/monitrcmonit-5.5/CHANGESmonit-5.5/monit.1monit-5.5/configure.acmonit-5.5/configuremonit-5.5/aclocal.m4monit-5.5/Makefile.inmonit-5.5/bootstrapmonit-5.5/libmonit/monit-5.5/libmonit/src/monit-5.5/libmonit/src/thread/monit-5.5/libmonit/src/thread/Thread.hmonit-5.5/libmonit/src/thread/Thread.cmonit-5.5/libmonit/src/system/monit-5.5/libmonit/src/system/Time.hmonit-5.5/libmonit/src/system/Net.hmonit-5.5/libmonit/src/system/Mem.cmonit-5.5/libmonit/src/system/Mem.hmonit-5.5/libmonit/src/system/Net.cmonit-5.5/libmonit/src/system/System.hmonit-5.5/libmonit/src/system/Command.hmonit-5.5/libmonit/src/system/Time.cmonit-5.5/libmonit/src/system/System.cmonit-5.5/libmonit/src/system/Process.hmonit-5.5/libmonit/src/system/Command.cmonit-5.5/libmonit/src/io/monit-5.5/libmonit/src/io/file.hmonit-5.5/libmonit/src/io/Dir.hmonit-5.5/libmonit/src/io/inputStream.hmonit-5.5/libmonit/src/io/inputStream.cmonit-5.5/libmonit/src/io/OutputStream.hmonit-5.5/libmonit/src/io/OutputStream.cmonit-5.5/libmonit/src/io/file.cmonit-5.5/libmonit/src/io/Dir.cmonit-5.5/libmonit/src/util/monit-5.5/libmonit/src/util/Str.hmonit-5.5/libmonit/src/util/Str.cmonit-5.5/libmonit/src/util/StringBuffer.hmonit-5.5/libmonit/src/util/StringBuffer.cmonit-5.5/libmonit/src/util/List.hmonit-5.5/libmonit/src/util/List.cmonit-5.5/libmonit/src/xconfig.h.inmonit-5.5/libmonit/src/bootstrap.hmonit-5.5/libmonit/src/bootstrap.cmonit-5.5/libmonit/src/exceptions/monit-5.5/libmonit/src/exceptions/MemoryException.hmonit-5.5/libmonit/src/exceptions/AssertException.hmonit-5.5/libmonit/src/exceptions/Exception.hmonit-5.5/libmonit/src/exceptions/NumberFormatException.hmonit-5.5/libmonit/src/exceptions/IOException.hmonit-5.5/libmonit/src/exceptions/assert.cmonit-5.5/libmonit/src/exceptions/Exception.cmonit-5.5/libmonit/src/exceptions/assert.hmonit-5.5/libmonit/src/Config.hmonit-5.5/libmonit/libtoolmonit-5.5/libmonit/Makefilemonit-5.5/libmonit/configure.acmonit-5.5/libmonit/test/monit-5.5/libmonit/test/OutputStreamTest.cmonit-5.5/libmonit/test/Makefilemonit-5.5/libmonit/test/fileTest.cmonit-5.5/libmonit/test/StrTest.cmonit-5.5/libmonit/test/TimeTest.cmonit-5.5/libmonit/test/CommandTest.cmonit-5.5/libmonit/test/Makefile.inmonit-5.5/libmonit/test/ListTest.cmonit-5.5/libmonit/test/DirTest.cmonit-5.5/libmonit/test/NetTest.cmonit-5.5/libmonit/test/test.shmonit-5.5/libmonit/test/StringBufferTest.cmonit-5.5/libmonit/test/ExceptionTest.cmonit-5.5/libmonit/test/Makefile.ammonit-5.5/libmonit/test/SystemTest.cmonit-5.5/libmonit/test/inputStreamTest.cmonit-5.5/libmonit/test/data/monit-5.5/libmonit/test/data/stream.datamonit-5.5/libmonit/configuremonit-5.5/libmonit/aclocal.m4monit-5.5/libmonit/Makefile.inmonit-5.5/libmonit/bootstrapmonit-5.5/libmonit/config/monit-5.5/libmonit/config/config.guessmonit-5.5/libmonit/config/missingmonit-5.5/libmonit/config/ltmain.shmonit-5.5/libmonit/config/install-shmonit-5.5/libmonit/config/config.submonit-5.5/libmonit/copYINGmonit-5.5/libmonit/READMEmonit-5.5/libmonit/Makefile.ammonit-5.5/libmonit/m4/monit-5.5/libmonit/m4/libtool.m4monit-5.5/libmonit/m4/lt~obsolete.m4monit-5.5/libmonit/m4/ltsugar.m4monit-5.5/libmonit/m4/ltoptions.m4monit-5.5/libmonit/m4/ltversion.m4monit-5.5/contrib/monit-5.5/contrib/monitrc-gentoomonit-5.5/contrib/rc.monitmonit-5.5/contrib/packages/monit-5.5/contrib/packages/freebsd/monit-5.5/contrib/packages/freebsd/pkg-messagemonit-5.5/contrib/packages/freebsd/distinfomonit-5.5/contrib/packages/freebsd/Makefilemonit-5.5/contrib/packages/freebsd/files/monit-5.5/contrib/packages/freebsd/files/monit.shmonit-5.5/contrib/packages/freebsd/pkg-descrmonit-5.5/contrib/packages/freebsd/README.portermonit-5.5/contrib/packages/redhat/monit-5.5/contrib/packages/redhat/monit.specmonit-5.5/contrib/packages/solaris/monit-5.5/contrib/packages/solaris/README.solarismonit-5.5/contrib/packages/solaris/init.monitmonit-5.5/contrib/packages/solaris/makesolpkg.shmonit-5.5/contrib/monit.upstart.inmonit-5.5/contrib/monit.service.inmonit-5.5/contrib/monit.servicemonit-5.5/contrib/monit.upstartmonit-5.5/config/monit-5.5/config/config.guessmonit-5.5/config/missingmonit-5.5/config/ltmain.shmonit-5.5/config/install-shmonit-5.5/config/config.submonit-5.5/copYINGmonit-5.5/READMEmonit-5.5/doc/monit-5.5/doc/monit.podmonit-5.5/doc/PLATFORMSmonit-5.5/Makefile.am[ec2-user@domU-12-31-39-03-28-A1 ~]$lscrawller                    monit-5.5           node-v0.8.14         tmpm_2.2.0.tgz                 monit-5.5.tar.gz    node-v0.8.14.tar.gzmongodb-linux-x86_64-2.2.0  monit-5.5.tar.gz.1  nodeJs[ec2-user@domU-12-31-39-03-28-A1 ~]$cd monit-5.5[ec2-user@domU-12-31-39-03-28-A1 monit-5.5]$sudo ./configurechecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking for style of include used by make... GNUchecking dependency style of gcc... nonechecking whether make sets $(MAKE)... (cached) yeschecking for bison... bison -ychecking for flex... /usr/bin/flexchecking for pod2man... /usr/bin/pod2manchecking build system type... x86_64-unkNown-linux-gnuchecking host system type... x86_64-unkNown-linux-gnuchecking for a sed that does not truncate output... /bin/sedchecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for fgrep... /bin/grep -Fchecking for ld used by gcc... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name Lister (nm)... /usr/bin/nm -Bchecking the name Lister (/usr/bin/nm -B) interface... BSD nmchecking whether ln -s works... yeschecking the maximum length of command line arguments... 1572864checking whether the shell understands some XSI constructs... yeschecking whether the shell understands "+="... yeschecking for /usr/bin/ld option to reload object files... -rchecking for objdump... objdumpchecking how to recognize dependent librarIEs... pass_allchecking for ar... archecking for strip... stripchecking for ranlib... ranlibchecking command to parse /usr/bin/nm -B output from gcc object... okchecking how to run the C preprocessor... gcc -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for dlfcn.h... yeschecking for objdir... .libschecking if gcc supports -fno-rtti -fno-exceptions... nochecking for gcc option to produce PIC... -fPIC -DPICchecking if gcc PIC flag -fPIC -DPIC works... yeschecking if gcc static flag -static works... nochecking if gcc supports -c -o file.o... yeschecking if gcc supports -c -o file.o... (cached) yeschecking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared librarIEs... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether stripPing librarIEs is possible... yeschecking if libtool supports shared librarIEs... yeschecking whether to build shared librarIEs... yeschecking whether to build static librarIEs... nochecking for socket in -lsocket... nochecking for socket in -linet... nochecking for inet_addr in -lnsl... yeschecking for inet_aton in -lresolv... yeschecking for crypt in -lc... nochecking for crypt in -lcrypt... yeschecking for pthread_create in -lpthread... yeschecking for ANSI C header files... (cached) yeschecking for sys/wait.h that is POSIX.1 compatible... yeschecking whether stat file-mode macros are broken... nochecking whether time.h and sys/time.h may both be included... yeschecking alloca.h usability... yeschecking alloca.h presence... yeschecking for alloca.h... yeschecking arpa/inet.h usability... yeschecking arpa/inet.h presence... yeschecking for arpa/inet.h... yeschecking asm/page.h usability... nochecking asm/page.h presence... nochecking for asm/page.h... nochecking asm/param.h usability... yeschecking asm/param.h presence... yeschecking for asm/param.h... yeschecking cf.h usability... nochecking cf.h presence... nochecking for cf.h... nochecking crt_externs.h usability... nochecking crt_externs.h presence... nochecking for crt_externs.h... nochecking ctype.h usability... yeschecking ctype.h presence... yeschecking for ctype.h... yeschecking crypt.h usability... yeschecking crypt.h presence... yeschecking for crypt.h... yeschecking dirent.h usability... yeschecking dirent.h presence... yeschecking for dirent.h... yeschecking errno.h usability... yeschecking errno.h presence... yeschecking for errno.h... yeschecking execinfo.h usability... yeschecking execinfo.h presence... yeschecking for execinfo.h... yeschecking fcntl.h usability... yeschecking fcntl.h presence... yeschecking for fcntl.h... yeschecking getopt.h usability... yeschecking getopt.h presence... yeschecking for getopt.h... yeschecking glob.h usability... yeschecking glob.h presence... yeschecking for glob.h... yeschecking grp.h usability... yeschecking grp.h presence... yeschecking for grp.h... yeschecking kvm.h usability... nochecking kvm.h presence... nochecking for kvm.h... nochecking paths.h usability... yeschecking paths.h presence... yeschecking for paths.h... yeschecking kstat.h usability... nochecking kstat.h presence... nochecking for kstat.h... nochecking sys/protosw.h usability... nochecking sys/protosw.h presence... nochecking for sys/protosw.h... nochecking limits.h usability... yeschecking limits.h presence... yeschecking for limits.h... yeschecking loadavg.h usability... nochecking loadavg.h presence... nochecking for loadavg.h... nochecking locale.h usability... yeschecking locale.h presence... yeschecking for locale.h... yeschecking mach/host_info.h usability... nochecking mach/host_info.h presence... nochecking for mach/host_info.h... nochecking mach/mach.h usability... nochecking mach/mach.h presence... nochecking for mach/mach.h... nochecking mach/mach_host.h usability... nochecking mach/mach_host.h presence... nochecking for mach/mach_host.h... nochecking for memory.h... (cached) yeschecking mntent.h usability... yeschecking mntent.h presence... yeschecking for mntent.h... yeschecking netdb.h usability... yeschecking netdb.h presence... yeschecking for netdb.h... yeschecking sys/socket.h usability... yeschecking sys/socket.h presence... yeschecking for sys/socket.h... yeschecking netinet/in.h usability... yeschecking netinet/in.h presence... yeschecking for netinet/in.h... yeschecking netinet/in_systm.h usability... yeschecking netinet/in_systm.h presence... yeschecking for netinet/in_systm.h... yeschecking pam/pam_appl.h usability... nochecking pam/pam_appl.h presence... nochecking for pam/pam_appl.h... nochecking security/pam_appl.h usability... nochecking security/pam_appl.h presence... nochecking for security/pam_appl.h... nochecking poll.h usability... yeschecking poll.h presence... yeschecking for poll.h... yeschecking procfs.h usability... nochecking procfs.h presence... nochecking for procfs.h... nochecking sys/procfs.h usability... yeschecking sys/procfs.h presence... yeschecking for sys/procfs.h... yeschecking procinfo.h usability... nochecking procinfo.h presence... nochecking for procinfo.h... nochecking pthread.h usability... yeschecking pthread.h presence... yeschecking for pthread.h... yeschecking pwd.h usability... yeschecking pwd.h presence... yeschecking for pwd.h... yeschecking regex.h usability... yeschecking regex.h presence... yeschecking for regex.h... yeschecking setjmp.h usability... yeschecking setjmp.h presence... yeschecking for setjmp.h... yeschecking signal.h usability... yeschecking signal.h presence... yeschecking for signal.h... yeschecking stdarg.h usability... yeschecking stdarg.h presence... yeschecking for stdarg.h... yeschecking stddef.h usability... yeschecking stddef.h presence... yeschecking for stddef.h... yeschecking stdio.h usability... yeschecking stdio.h presence... yeschecking for stdio.h... yeschecking for string.h... (cached) yeschecking for strings.h... (cached) yeschecking stropts.h usability... nochecking stropts.h presence... nochecking for stropts.h... nochecking sys/cfgodm.h usability... nochecking sys/cfgodm.h presence... nochecking for sys/cfgodm.h... nochecking sys/cfgdb.h usability... nochecking sys/cfgdb.h presence... nochecking for sys/cfgdb.h... nochecking sys/dk.h usability... nochecking sys/dk.h presence... nochecking for sys/dk.h... nochecking sys/dkstat.h usability... nochecking sys/dkstat.h presence... nochecking for sys/dkstat.h... nochecking sys/filio.h usability... nochecking sys/filio.h presence... nochecking for sys/filio.h... nochecking sys/ioctl.h usability... yeschecking sys/ioctl.h presence... yeschecking for sys/ioctl.h... yeschecking sys/loadavg.h usability... nochecking sys/loadavg.h presence... nochecking for sys/loadavg.h... nochecking sys/lock.h usability... nochecking sys/lock.h presence... nochecking for sys/lock.h... nochecking sys/mnttab.h usability... nochecking sys/mnttab.h presence... nochecking for sys/mnttab.h... nochecking sys/mutex.h usability... nochecking sys/mutex.h presence... nochecking for sys/mutex.h... nochecking sys/nList.h usability... nochecking sys/nList.h presence... nochecking for sys/nList.h... nochecking sys/param.h usability... yeschecking sys/param.h presence... yeschecking for sys/param.h... yeschecking sys/pstat.h usability... nochecking sys/pstat.h presence... nochecking for sys/pstat.h... nochecking sys/queue.h usability... yeschecking sys/queue.h presence... yeschecking for sys/queue.h... yeschecking sys/resource.h usability... yeschecking sys/resource.h presence... yeschecking for sys/resource.h... yeschecking sys/statfs.h usability... yeschecking sys/statfs.h presence... yeschecking for sys/statfs.h... yeschecking sys/statvfs.h usability... yeschecking sys/statvfs.h presence... yeschecking for sys/statvfs.h... yeschecking sys/sysinfo.h usability... yeschecking sys/sysinfo.h presence... yeschecking for sys/sysinfo.h... yeschecking sys/systemcfg.h usability... nochecking sys/systemcfg.h presence... nochecking for sys/systemcfg.h... nochecking sys/time.h usability... yeschecking sys/time.h presence... yeschecking for sys/time.h... yeschecking sys/tree.h usability... nochecking sys/tree.h presence... nochecking for sys/tree.h... nochecking for sys/types.h... (cached) yeschecking sys/un.h usability... yeschecking sys/un.h presence... yeschecking for sys/un.h... yeschecking sys/utsname.h usability... yeschecking sys/utsname.h presence... yeschecking for sys/utsname.h... yeschecking sys/vmmeter.h usability... nochecking sys/vmmeter.h presence... nochecking for sys/vmmeter.h... nochecking sys/vfs.h usability... yeschecking sys/vfs.h presence... yeschecking for sys/vfs.h... yeschecking syslog.h usability... yeschecking syslog.h presence... yeschecking for syslog.h... yeschecking for unistd.h... (cached) yeschecking uvm/uvm.h usability... nochecking uvm/uvm.h presence... nochecking for uvm/uvm.h... nochecking uvm/uvm_extern.h usability... nochecking uvm/uvm_extern.h presence... nochecking for uvm/uvm_extern.h... nochecking vm/vm.h usability... nochecking vm/vm.h presence... nochecking for vm/vm.h... nochecking for libperfstat.h... nochecking for netinet/ip.h... yeschecking for net/if.h... yeschecking for netinet/ip_icmp.h... yeschecking for sys/sysctl.h... yeschecking for sys/mount.h... yeschecking for sys/proc.h... nochecking for sys/swap.h... yeschecking for sys/ucred.h... nochecking for sys/user.h... yeschecking for machine/vmparam.h... nochecking for vm/pmap.h... nochecking for machine/pmap.h... nochecking for vm/vm_map.h... nochecking for vm/vm_object.h... nochecking for sys/resourcevar.h... nochecking for uvm/uvm_map.h... nochecking for uvm/uvm_pmap.h... nochecking for uvm/uvm_object.h... nochecking for mode_t... yeschecking for pID_t... yeschecking for size_t... yeschecking for pID_t... (cached) yeschecking return type of signal handlers... voIDchecking whether struct tm is in sys/time.h or time.h... time.hchecking for struct tm.tm_gmtoff... nochecking for error_at_line... yeschecking vfork.h usability... nochecking vfork.h presence... nochecking for vfork.h... nochecking for fork... yeschecking for vfork... yeschecking for working fork... yeschecking for working vfork... (cached) yeschecking whether lstat correctly handles trailing slash... yeschecking whether stat accepts an empty string... nochecking for strftime... yeschecking for statfs... yeschecking for statvfs... yeschecking for setlocale... yeschecking for getaddrinfo... yeschecking for syslog... yeschecking for vsyslog... yeschecking for backtrace... yeschecking for getloadavg... yeschecking for Sol_IP... yeschecking for va_copy... yeschecking for an ANSI C-conforming const... yeschecking whether byte ordering is bigendian... nochecking pID file location... /var/runchecking for large files support... enabledchecking for special C compiler options needed for large files... nochecking for _file_OFFSET_BITS value needed for large files... nochecking for PAM support... enabledchecking for pam_start in -lpam... noconfigure: error: PAM enabled but headers or library not found,install the PAM development support or run configure --without-pam[ec2-user@... monit-5.5]$make && make installmake: *** No targets specifIEd and no makefile found.  Stop.
最佳答案非常感谢,你是对的,问题是我没有安装pam和ssl头文件
所以我所做的就是解决了这个问题:

sudo -ssudo yum install pam-develsudo yum install openssl-develsudo yum update (probably not necessary but to be on the sife sIDe)

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

chmod 0700 ~/.monitrc
总结

以上是内存溢出为你收集整理的在linux ec2上安装monit失败全部内容,希望文章能够帮你解决在linux ec2上安装monit失败所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1048105.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存