#17405 [Opn->Csd]: Support netsnmp (http://www.netsnmp.org/), Previously known as "ucd-snmp".
| From: | harrie@php.net | Date: | Mon, 02 Dec 2002 10:01:43 +0000 |
| Subject: | #17405 [Opn->Csd]: Support netsnmp (http://www.netsnmp.org/), Previously known as "ucd-snmp". | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26372@lists.php.net to get a copy of this message | ||
ID: 17405
Updated by: harrie@php.net
Reported By: live@generation.net
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.2.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
NET-SNMP is supported now.
It will be in the general release from 4.3.
Previous Comments:
------------------------------------------------------------------------
[2002-05-27 17:15:28] mfischer@php.net
Changed summary/category.
------------------------------------------------------------------------
[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