Subject: Re: help with net-snmp
To: Colin J. Raven <colin@kozy-kabin.nl>
From: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <eclipser23@web.de>
List: netbsd-help
Date: 11/14/2004 12:24:23
hi,

> Greetings all!
> I'm trying to install net-smp in order to later install and run MRTG.
> net-smp won't compile, and I don't know enough about the process to
> figure out what to do next.
> NetBSD-1.6.1/MIPS (Coablt Qube2) net-smp-5.1.2 (attempt)
> 
> What I did:
> downloaded the tarball (to my home dir as it happens, I assume this
> makes no difference)
> ./configure
> make && make install && make clean-depends
> but it got no further than make.....
> 
> Here's what I got:
> ----------------------------------------
> /home/colin/net-snmp-5.1.2/agent/mibgroup/mibII/tcpTable.c: In function
> `tcpTable_next_entry':
> /home/colin/net-snmp-5.1.2/agent/mibgroup/mibII/tcpTable.c:449:
> structure has no member named `inp_queue'
> /home/colin/net-snmp-5.1.2/agent/mibgroup/mibII/tcpTable.c: In function
> `tcpTable_free':
> /home/colin/net-snmp-5.1.2/agent/mibgroup/mibII/tcpTable.c:459:
> structure has no member named `inp_queue'
> /home/colin/net-snmp-5.1.2/agent/mibgroup/mibII/tcpTable.c: In function
> `tcpTable_load':
> /home/colin/net-snmp-5.1.2/agent/mibgroup/mibII/tcpTable.c:795:
> structure has no member named `inp_queue'
> *** Error code 1
> 
> Stop.
> make: stopped in /home/colin/net-snmp-5.1.2/agent/mibgroup
> *** Error code 1
> 
> Stop.
> make: stopped in /home/colin/net-snmp-5.1.2/agent
> *** Error code 1
> 
> Stop.
> make: stopped in /home/colin/net-snmp-5.1.2
> ----------------------------------------
> 
> Can anyone shed any light on this, and what I could possibly do in order
> to complete the make process?
> 
> Regards & TIA,
> -Colin

why didn't you use pkgsrc?

there is the appropriate package for you under /pkgsrc/net/net-snmp 
which should (the very most of the time ;) build flawlessly.

furthermore, if MRTG needs it (and you build MRTG also from pkgsrc), 
this (and possibly other) dependencies get(s) resolved automatically ;)

regards,

timo