php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6167 SNMP compile failure using UCD-SNMP 3.6.2-5cl RPM
Submitted: 2000-08-15 10:58 UTC Modified: 2000-08-25 13:57 UTC
From: webmaster at jazzmonkey dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: Linux Redhat 6.2
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: webmaster at jazzmonkey dot com
New email:
PHP Version: OS:

 

 [2000-08-15 10:58 UTC] webmaster at jazzmonkey dot com
The default installation of the UCD-SNMP 3.6.2-5cl development libraries is in /usr/include/ucd-snmp

However the current php compiler will never allow includement of this directory

./configure --with-snmp=/usr/include/ucd-snmp

Causes the makefile to instead have -> /usr/include/ucd-snmp/include 
(that in itself is the way configure should work...so that isn't an issue)

A simple hack to the snmp makefile to have the /usr/include/ucd-snmp directory made the compilation successful

Fix:

Have SNMP makefile contain includes for both ~PREIX/ and ~PREFIX/include

(Perhaps this would be a potential fix to have added to all makefiles to allow flexibility if the header files are not contained within an include directory)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-25 13:57 UTC] sniper@php.net
Please try the latest CVS. This should be fixed.
Reopen this report if not.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 08:00:02 2026 UTC