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

Frank Fock fock at agentpp.com
Wed Oct 16 18:13:30 CEST 2013


Hi,

I will provide an update of Agent++ which will restore the old Makefiles 
in the
distribution tar.

To build AGENT++ with autoconf, you will have to also build SNMP++ with 
autoconf
and run "make install" to install the lib files into the configured 
lib-directory.
The definition of that directory has to be consistent across 
SNMP++/AGENT++/AgentX++.
Otherwise, the make will not find the lib(s) on which it depends and 
bail out.

Hope this helps.

Best regards,
Frank

Am 16.10.2013 18:08, schrieb Morgan, Ryan T CTR (US):
> 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
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231



More information about the AGENTPP mailing list