Re: error running make on mac osx 10.11.3 - hardware/memory/memory_freebsd.c:12:10: fatal error: 'kvm.h' file not found

2016-02-23 Thread Niels Baggesen
Den 15-02-2016 kl. 20:55 skrev Dave Karokkae:
> 
> Hi,
> I was hoping an expert here can help me in the right direction, either a
> configure flag to avoid kvh, or a fix in the code ?
> 
> BACKGROUND:
> 
> I was able to configure using these flags:
> # ./configure --with-persistent-directory=/var/db/net-snmp \
> --with-defaults \
> --without-rpm \
> --with-mib-modules="host ucd-snmp/diskio" \
> --with-out-mib-modules="mibII/icmp host/hr_swrun" \
> --without-kmem-usage

Any reason you are not using 5.7.3? There were a number of fixes for
Darwin in that release. It might even allow you to drop those
--with-out-mib-modules options :-)

/Niels


-- 
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


error running make on mac osx 10.11.3 - hardware/memory/memory_freebsd.c:12:10: fatal error: 'kvm.h' file not found

2016-02-19 Thread Dave Karokkae

Hi,I was hoping an expert here can help me in the right direction, either a 
configure flag to avoid kvh, or a fix in the code ?
BACKGROUND:
I was able to configure using these flags:# ./configure 
--with-persistent-directory=/var/db/net-snmp \                        
--with-defaults \                        --without-rpm \                        
--with-mib-modules="host ucd-snmp/diskio" \                        
--with-out-mib-modules="mibII/icmp host/hr_swrun" \                        
--without-kmem-usage

but when I tried to run make, it errored:
# make makemaking all in /Users//SNMP/net-snmp-5.6.2.1/snmplibmaking all in 
/Users//SNMP/net-snmp-5.6.2.1/agentmaking all in 
/Users//SNMP/net-snmp-5.6.2.1/agent/helpersmaking all in 
/Users//SNMP/net-snmp-5.6.2.1/agent/mibgroup/bin/sh ../../libtool  
--mode=compile gcc -I../../include -I. -I../../agent -I../../agent/mibgroup 
-I../../snmplib   -fno-strict-aliasing -g -O2 -Udarwin15 -Ddarwin15=darwin15  
-arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing 
-fstack-protector  -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE  
 -c -o mibII/tcp.lo mibII/tcp.clibtool: compile:  gcc -I../../include -I. 
-I../../agent -I../../agent/mibgroup -I../../snmplib -fno-strict-aliasing -g 
-O2 -Udarwin15 -Ddarwin15=darwin15 -arch x86_64 -arch i386 -g -pipe -fno-common 
-DPERL_DARWIN -fno-strict-aliasing -fstack-protector 
-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -c mibII/tcp.c  
-fno-common -DPIC -o mibII/.libs/tcp.olibtool: compile:  gcc -I../../include 
-I. -I../../agent -I../../agent/mibgroup -I../../snmplib -fno-strict-aliasing 
-g -O2 -Udarwin15 -Ddarwin15=darwin15 -arch x86_64 -arch i386 -g -pipe 
-fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I
/bin/sh ../../libtool  --mode=compile gcc -I../../include -I. -I../../agent 
-I../../agent/mibgroup -I../../snmplib   -fno-strict-aliasing -g -O2 -Udarwin15 
-Ddarwin15=darwin15  -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN 
-fno-strict-aliasing -fstack-protector  
-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE   -c -o 
hardware/memory/memory_freebsd.lo hardware/memory/memory_freebsd.clibtool: 
compile:  gcc -I../../include -I. -I../../agent -I../../agent/mibgroup 
-I../../snmplib -fno-strict-aliasing -g -O2 -Udarwin15 -Ddarwin15=darwin15 
-arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing 
-fstack-protector -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE 
-c hardware/memory/memory_freebsd.c  -fno-common -DPIC -o 
hardware/memory/.libs/memory_freebsd.ohardware/memory/memory_freebsd.c:12:10: 
fatal error: 'kvm.h' file not found#include          ^1 error 
generated.make[2]: *** [hardware/memory/memory_freebsd.lo] Error 1make[1]: *** 
[subdirs] Error 1make: *** [subdirs] Error 1-macbookpro:net-snmp-5.6.2.1$ --
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders