php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6050 -I$SNMP_INCDIR missing when checking for default_store.h
Submitted: 2000-08-09 21:58 UTC Modified: 2000-08-25 13:25 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:58 UTC] peter dot marschall at mayn dot de
When configuring PHP4 with --with-snmp=/path/to/snmp, the given path is not honoured when doing the checks for the include file default_store.h

The problem may be cured in two ways:
* Adding -I$SNMP_INCDIR to $INCLUDES before doing the test
* Apllying the following patch
--- configure
+++ configure   Tue Aug  8 13:02:39 2000
@@ -34010,7 +34010,7 @@


        old_CPPFLAGS="$CPPFLAGS"
-       CPPFLAGS="$INCLUDES $CPPFLAGS"
+       CPPFLAGS="$INCLUDES -I$SNMP_INCDIR $CPPFLAGS"
        for ac_hdr in default_store.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-25 13:25 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 Dec 08 15:01:28 2024 UTC