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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
35 + 2 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 26 21:01:29 2024 UTC