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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Mon May 13 11:01:32 2024 UTC