ID: 9511
User Update by: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]

Previous Comments:
---------------------------------------------------------------------------

[2001-03-01 13:00:35] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to