Ad Widget

Collapse

Problems with configure

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lee
    Junior Member
    • Oct 2004
    • 2

    #1

    Problems with configure

    Hello,

    I am compiling zabbix with this
    ./configure --with-mysql --with-net-snmp

    Heres My output
    Code:
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output... 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 main in -lsocket... no
    checking for main in -lkstat... no
    checking for main in -lnsl... yes
    checking how to run the C preprocessor... gcc -E
    checking for egrep... 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 stdio.h usability... yes
    checking stdio.h presence... yes
    checking for stdio.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking syslog.h usability... yes
    checking syslog.h presence... yes
    checking for syslog.h... yes
    checking time.h usability... yes
    checking time.h presence... yes
    checking for time.h... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking for sys/types.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking dirent.h usability... yes
    checking dirent.h presence... yes
    checking for dirent.h... yes
    checking ctype.h usability... yes
    checking ctype.h presence... yes
    checking for ctype.h... yes
    checking mtent.h usability... no
    checking mtent.h presence... no
    checking for mtent.h... no
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking sys/mount.h usability... yes
    checking sys/mount.h presence... yes
    checking for sys/mount.h... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking sys/vfs.h usability... yes
    checking sys/vfs.h presence... yes
    checking for sys/vfs.h... yes
    checking sys/pstat.h usability... no
    checking sys/pstat.h presence... no
    checking for sys/pstat.h... no
    checking sys/sysinfo.h usability... yes
    checking sys/sysinfo.h presence... yes
    checking for sys/sysinfo.h... yes
    checking sys/statvfs.h usability... yes
    checking sys/statvfs.h presence... yes
    checking for sys/statvfs.h... yes
    checking for sys/socket.h... (cached) yes
    checking sys/loadavg.h usability... no
    checking sys/loadavg.h presence... no
    checking for sys/loadavg.h... no
    checking for netinet/in.h... (cached) yes
    checking for arpa/inet.h... (cached) yes
    checking sys/swap.h usability... yes
    checking sys/swap.h presence... yes
    checking for sys/swap.h... yes
    checking sys/vmmeter.h usability... no
    checking sys/vmmeter.h presence... no
    checking for sys/vmmeter.h... no
    checking for strings.h... (cached) yes
    checking sys/sysctl.h usability... yes
    checking sys/sysctl.h presence... yes
    checking for sys/sysctl.h... yes
    checking vm/vm_param.h usability... no
    checking vm/vm_param.h presence... no
    checking for vm/vm_param.h... no
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking kstat.h usability... no
    checking kstat.h presence... no
    checking for kstat.h... no
    checking sys/syscall.h usability... yes
    checking sys/syscall.h presence... yes
    checking for sys/syscall.h... yes
    checking sys/sysmacros.h usability... yes
    checking sys/sysmacros.h presence... yes
    checking for sys/sysmacros.h... yes
    checking sys/procfs.h usability... yes
    checking sys/procfs.h presence... yes
    checking for sys/procfs.h... yes
    checking for an ANSI C-conforming const... yes
    checking for pid_t... yes
    checking for socklen_t... yes
    checking for /proc filesystem... yes
    checking for file /proc/1/status... yes
    checking for file /proc/0/psinfo... no
    checking for file /proc/loadavg... yes
    checking for file /proc/net/dev... yes
    checking for mem_unit in struct sysinfo... yes
    checking for freeswap in struct sysinfo... yes
    checking for function sysconf() in unistd.h... yes
    checking for vmtotal in struct sys/vmmeter.h... no
    checking for struct swaptable in sys/swap.h... no
    checking for totalswap in struct sysinfo... yes
    checking for function sysctl (KERN_BOOTTIME)... no
    checking for function sysctl (KERN_MAXFILES)... no
    checking for function sysctl (KERN_MAXPROC)... no
    checking for function seteuid()... yes
    checking for function setproctitle()... no
    checking for totalram in struct sysinfo... yes
    checking for totalram in struct sysinfo... yes
    checking for sharedram in struct sysinfo... yes
    checking for bufferram in struct sysinfo... yes
    checking for freeram in struct sysinfo... yes
    checking for uptime in struct sysinfo... yes
    checking for procs in struct sysinfo... yes
    checking return type of signal handlers... void
    checking for getloadavg... yes
    checking for socket... yes
    checking for strtod... yes
    checking for snprintf... yes
    checking for MySQL support... yes
    checking for floor... no
    checking for floor in -lm... yes
    checking for compress in -lz... yes
    checking for PostgreSQL support... no
    checking for NET-SNMP support... no
    configure: error: Invalid NET-SNMP directory - unable to find net-snmp-includes.h
    Even though grep shows its installed
    rpm -qa | grep net-snmp
    net-snmp-5.0.9-2.30E.6


    Any suggestions
  • Lee
    Junior Member
    • Oct 2004
    • 2

    #2
    Solved by installing net-snmp-devel

    Comment

    Working...