ID: 17405
Updated by: mfischer@php.net
-Summary: net-snmp include directory not found
Reported By: live@generation.net
Status: Open
-Bug Type: SNMP related
+Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.2.1
New Comment:
Changed summary/category.
Previous Comments:
------------------------------------------------------------------------
[2002-05-27 13:03:38] danny@estadao.com.br
Ah, I changed VersionInfo to NetSnmpVersionInfo in ext/snmp/snmp.c too.
------------------------------------------------------------------------
[2002-05-27 13:00:57] danny@estadao.com.br
I change directory from snmp.c, so it take files correctly and modify
configure script to use -lnetsnmp and not -lsnmp
------------------------------------------------------------------------
[2002-05-24 05:16:03] live@generation.net
Hmm, looking at things a bit more in detail and basing myself on what I
see in the configure script...
A detail to mention, the snmp.h file is located in
/usr/local/include/net-snmp/library/ while the files that it fails to
find at compilation time are located either in
/usr/local/include/net-snmp/ (version.h) or
/usr/local/include/net-snmp/library/ (asn.h, snmp_api.h, snmp_client.h,
snmp_impl.h, snmp.h, parse.h, mib.h)...
------------------------------------------------------------------------
[2002-05-24 05:01:53] live@generation.net
With the net-snmp package replacing ucd-snmp (well, simply a new name),
is there any possibility to add support for this package? I've tried
to make it work, but I basically run into issues when compiling as it
seems it just can't find the include files which are located in
/usr/local/include/net-snmp by default.
Looking around, I see the configure script has some paths specified
where to look for snmp include files, and the paths in there relate to
ucd-snmp but there's no mention of net-snmp. Any chance of getting
this added?
This is loosely the same issue as bug #13821, as far as the type goes.
Thanks!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17405&edit=1