Bug #67221 [NEW]: snmp ext configure error: "SNMP sanity check failed"

From: Date: Tue, 06 May 2014 16:18:21 +0000
Subject: Bug #67221 [NEW]: snmp ext configure error: "SNMP sanity check failed"
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185674@lists.php.net to get a copy of this message
From: darx+phpbugs at sent dot com Operating system: linux/64 PHP version: master-Git-2014-05-06 (Git) Package: SNMP related Bug Type: Bug Bug description:snmp ext configure error: "SNMP sanity check failed" Description: ------------ I've DL'd php 5.6 from src tree git log | head commit 78cb0c1dbc00e5c10830a622c458958e4559d7d1 Author: Michael Wallner <mike@php.net> Date: Tue May 6 12:39:23 2014 +0200 NEWS commit 66c177c77064cd7435f924c7d94d6366296d7963 Author: Michael Wallner <mike@php.net> Date: Tue May 6 12:19:53 2014 +0200 I've installed prereq net-snmp 5.7.2.1/LTS export SNMP_CONFIG="/usr/local/net-snmp/bin/net-snmp-config" ${SNMP_CONFIG} --version 5.7.2.1 I'm attempting to build php with the snmp extension, ./configure \ ... --with-snmp=shared,/usr/local/net-snmp ./configure FAILS with ... checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for SNMP support... yes, shared checking OpenSSL dir for SNMP... /usr/local/ssl checking for init_snmp in -lnetsnmp... no configure: error: SNMP sanity check failed. Please check config.log for more information. and in config.log ... configure:84647: result: no configure:84665: error: SNMP sanity check failed. Please check config.log for more information. ... which is recursive, and not particularly helpful. This config for net-snmp USED to work, with the extension building without error; obviously, something's changed -- Edit bug report at https://bugs.php.net/bug.php?id=67221&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67221&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67221&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67221&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=67221&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=67221&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=67221&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=67221&r=needscript Try newer version: https://bugs.php.net/fix.php?id=67221&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=67221&r=support Expected behavior: https://bugs.php.net/fix.php?id=67221&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=67221&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=67221&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=67221&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67221&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=67221&r=dst IIS Stability: https://bugs.php.net/fix.php?id=67221&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=67221&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=67221&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=67221&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=67221&r=mysqlcfg

« previous php.bugs (#185674) next »