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
 [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: Thu Dec 26 11:01:30 2024 UTC