pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build failure for net/net-snmp on Mac OS X 10.4.7



On Sat, 2006-07-29 at 20:31, Mark E. Perkins wrote:
> When attempting to build net-snmp-5.3.1, I get the following error:
> 
>  gcc -pipe -I../../include -I. -I../../agent -I../../agent/mibgroup
> -I../../snmplib -no-cpp-precomp
> -I/Volumes/NetBSD/pkgsrc/net/net-snmp/work/.buildlink/include -O2 -Ddarwin8 -c
> host/hr_storage.c  -fno-common -DPIC -o host/.libs/hr_storage.o
> host/hr_storage.c: In function 'var_hrstore':

...Yep.   Welcome to Net-SNMP v.s. Pkgsrc.  See:

.endif
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+=        --with-mib-modules="smux host ucd-snmp/diskio"
.else
CONFIGURE_ARGS+=        --with-mib-modules="smux host"
.endif
.if !empty(MACHINE_PLATFORM:MDarwin-[567].*)
CONFIGURE_ARGS+=        --with-out-mib-modules="ucd-snmp/diskio mibII"
.endif

..in Makefile.  Check your config.log in work/net-snmp-5.3.1*/config.log
for your --with-out-modules and --with-mib-modules.





Home | Main Index | Thread Index | Old Index