[AGENT++] scatch build failed for snmp++-3.3.4 with configure and make on OSX

Frank Fock fock at agentpp.com
Sun Nov 9 20:28:23 CET 2014


Hi Claus,

the lib.snmp.h file is part of the SNMP++ 3.3.4 download file.

Best regards,
Frank


Am 09.11.2014 18:14, schrieb Claus Klein:
> Hi all
>
> I have problems to build the snmp++-3.3.4.tar.gz distribution from scratch on MAC OSX V10.9.5:
>
> mkdir -p build && cd build
> ../configure
>> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating include/Makefile
> config.status: creating include/snmp_pp/Makefile
> config.status: creating consoleExamples/Makefile
> config.status: creating src/Makefile
> config.status: creating snmp++-3.pc
> config.status: creating include/snmp_pp/config_snmp_pp.h
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> claus-mbp:build clausklein$ tree
> .
> |-- Makefile
> |-- config.h
> |-- config.log
> |-- config.status
> |-- consoleExamples
> |   `-- Makefile
> |-- include
> |   |-- Makefile
> |   `-- snmp_pp
> |       |-- Makefile
> |       `-- config_snmp_pp.h
> |-- libtool
> |-- snmp++-3.pc
> |-- src
> |   `-- Makefile
> `-- stamp-h1
>
> 4 directories, 12 files
> claus-mbp:build clausklein$ make
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
> Making all in include
> Making all in snmp_pp
> make[3]: Nothing to be done for `all'.
> make[3]: Nothing to be done for `all-am'.
> Making all in src
> /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src -I..  -I/Users/clausklein/Workspace/cpp/AgentProV4/snmp++/build/../include -D_THREAD_SAFE     -g -O2 -D_THREAD_SAFE  -MT address.lo -MD -MP -MF .deps/address.Tpo -c -o address.lo ../../src/address.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -I/Users/clausklein/Workspace/cpp/AgentProV4/snmp++/build/../include -D_THREAD_SAFE -g -O2 -D_THREAD_SAFE -MT address.lo -MD -MP -MF .deps/address.Tpo -c ../../src/address.cpp  -fno-common -DPIC -o .libs/address.o
> ../../src/address.cpp:53:10: fatal error: 'libsnmp.h' file not found
> #include <libsnmp.h>
>          ^
> 1 error generated.
> make[2]: *** [address.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> claus-mbp:build clausklein$ find .. -name libsnmp.h
> ../include/system/libsnmp.h
> ../libsnmp.h
> claus-mbp:build clausklein$
>
>
> NOTE: I don’t have installed any version on my computer!
>
> claus-mbp:build clausklein$ pwd
> /Users/clausklein/Workspace/cpp/AgentProV4/snmp++/build
> claus-mbp:build clausklein$ find /opt/local/include -name libsnmp.h
> claus-mbp:build clausklein$ find /usr/local/include -name libsnmp.h
> claus-mbp:build clausklein$ find /usr/include -name libsnmp.h
>
>
> With regards
>
> Claus
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> https://oosnmp.net/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