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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun May 12 19:01:30 2024 UTC