PHP 4.0 Bug #9511 Updated: Can't find snmp MIB modules when snmp function is called
| From: | daniel_cunningham at ecovate dot com | Date: | Fri, 02 Mar 2001 17:31:32 +0000 |
| Subject: | PHP 4.0 Bug #9511 Updated: Can't find snmp MIB modules when snmp function is called | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47814@lists.php.net to get a copy of this message | ||
ID: 9511
User Update by: daniel_cunningham@ecovate.com
Old-Status: Open
Status: Closed
Bug Type: SNMP related
Description: Can't find snmp MIB modules when snmp function is called
Sorry, this is a problem with the UCD libraries, not with php per se. I do not think this needs to
be open on this list anymore. If anyone , does have info on this problem, please let me know,
thanks.
DanC
dan_cunningham@ecovate.com
Previous Comments:
---------------------------------------------------------------------------
[2001-03-01 13:00:35] daniel_cunningham@ecovate.com
Hi, I have attempted to compile php 4.0.4pl1 with snmp using ---with-snmp --enable-ucd-snmp-hack
. Everything goes fine in the build and install, but when php loads I get the following out put,
and snmp functions do not work. ALso I have done a phpinfo() and it shows snmp compiled in. Any
thoughts?
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
My configure scipt (trying to build an rpm, hence the vars)
--prefix=%{_prefix}
--with-config-file-path=%{_sysconfdir}
--disable-debug
--enable-pic
--enable-shared
--enable-inline-optimization
$*
--with-exec-dir=%{_bindir}
--with-regex=system
--with-gettext
--with-gd
--with-jpeg-dir=%{_prefix}
--with-png
--with-zlib
--with-db2
--with-db3
--with-gdbm
--enable-debugger
--enable-magic-quotes
--enable-safe-mode
--enable-sockets
--enable-sysvsem
--enable-sysvshm
--enable-track-vars
--enable-yp
--enable-ftp
--enable-wddx
--without-mysql
--without-oracle
--without-oci8
--with-xml
--with-openssl
--with-snmp
--enable-ucd-snmp-hack
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9511