Using:
 ./configure --with-default-snmp-version=3 --with-sys-contact="NA" 
--with-sys-location="NA" --with-logfile="/var/log/snmpd.log" 
--with-persistent-directory="/var/net-snmp"

My first make attempt failed as the configure script did not detect that the 
libperl-dev package was not installed producing a no -lperl error message

After installing the perl dev files, The second attempt produced:

libtool: compile:  gcc -I../include -I. -I../agent -I../agent/helpers 
-I../agent/mibgroup -I../snmplib -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -g 
-O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -c 
snmptrapd_auth.c -o snmptrapd_auth.o >/dev/null 2>&1
make[1]: *** No rule to make target `snmptrapd_sql.lo', needed by 
`libnetsnmptrapd.la'. Stop.
make[1]: Leaving directory `/home/colin/Downloads/net-snmp/net-snmp/apps'
make: *** [subdirs] Error 1

There is no snmptrapd_sql.c file in the checkout I obtained using:

 svn co https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp

Am I missing a subversion step, or is the file not in the trunk, or am I doing 
something stupid  ?

Cheers
Colin



Robert Story wrote:
> I've just committed a new trap handler to SVN for release 5.5. This handler
> will log traps to a MySQL database. See README.sql and the snmptrapd.conf man
> page for details.
>
> Feedback/testing appreciated!
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
>   

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to