php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9511 Can't find snmp MIB modules when snmp function is called
Submitted: 2001-03-01 13:00 UTC Modified: 2001-03-02 12:31 UTC
From: daniel_cunningham at ecovate dot com Assigned:
Status: Closed Package: SNMP related
PHP Version: 4.0.4pl1 OS: RedHat 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: daniel_cunningham at ecovate dot com
New email:
PHP Version: OS:

 

 [2001-03-01 13:00 UTC] daniel_cunningham at ecovate dot 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-02 12:31 UTC] daniel_cunningham at ecovate dot com
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 13:01:30 2024 UTC