[AGENT++] Agent++ 4.0.1 not building on Ubuntu

Morgan, Ryan T CTR (US) ryan.t.morgan3.ctr at mail.mil
Wed Oct 16 18:08:09 CEST 2013


I'm running Ubuntu 12.04 64-bit.  SNMP++ 3.3.0 builds fine using the default Makefile.linux.  Agent++ 4.0.1, however, does not.

First off, agent++-4.0.1/INSTALL provides instructions for building Agent++ without autoconf, using pre-supplied Makefile.<platform> files.  But these files do not exist.  With no other option, I tried to build with autoconf using the instructions in agent++-4.0.1/README.autoconf.  When I run the configure script, it dies with


$ ./configure
...
checking if libsnmp++ is wanted... (cached) yes
checking if libsnmp++ wants a prefix... (cached) no
checking for snmp... no
checking if libsnmp++ is in /usr/local... no
checking if libsnmp++ is in /usr... no
configure: error: Cannot find suitable libsnmp++ library


even though I've put the snmp++ and agent++-4.0.1 directories right next to each other, as suggested.  I tried again, specifying the location of snmp++; this time it dies with


$ ./configure --with-libsnmp-prefix=../snmp++
...
checking if libsnmp++ is wanted... (cached) yes
checking if libsnmp++ wants a prefix... (cached) ../snmp++
checking for snmp... no
checking if libsnmp++ is in ../snmp++... yes
checking if libsnmp++ can be linked alone... no
checking if libsnmp++ is in /usr/local... no
checking if libsnmp++ is in /usr... no
configure: error: Cannot find suitable libsnmp++ library


Any suggestions?

Thank you!!


Ryan Morgan
Booz | Allen | Hamilton
US Army CERDEC


More information about the AGENTPP mailing list