php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6049 configure does not correctly set SNMP directories
Submitted: 2000-08-09 21:53 UTC Modified: 2000-08-25 13:20 UTC
From: peter dot marschall at mayn dot de Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.1pl2 OS: Linux 2.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: peter dot marschall at mayn dot de
New email:
PHP Version: OS:

 

 [2000-08-09 21:53 UTC] peter dot marschall at mayn dot de
Configuring PHP4 with --snmp-dir=/path/to/snmp, the paths to snmp will
not correctly be set. Especially, the keyword "shared" is not filtered out.
Solution is simple.  Apply the follwoing patch
--- configure
+++ configure   Tue Aug  8 13:02:39 2000
@@ -33897,7 +33897,7 @@
          test -f /usr/local/snmp/lib/libsnmp.so && SNMP_LIBDIR=/usr/local/snmp/lib
     else
       SNMP_INCDIR=$PHP_SNMP/include
-      test -d $PHP_SNMP/include/ucd-snmp && SNMP_INCDIR=$withval/include/ucd-snmp
+      test -d $PHP_SNMP/include/ucd-snmp && SNMP_INCDIR=$PHP_SNMP/include/ucd-snmp
       SNMP_LIBDIR=$PHP_SNMP/lib
     fi
     cat >> confdefs.h <<\EOF

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-25 13:20 UTC] sniper@php.net
This should be fixed in the CVS. 
Please try it or wait for 4.0.2.
Reopen this bug report if problem still exists.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 03:00:02 2026 UTC