Grokbase Groups PHP php-bugs May 2014
FAQ
Edit report at https://bugs.php.net/bug.php?id=67221&edit=1

  ID: 67221
  Updated by: lytboris@php.net
  Reported by: darx+phpbugs at sent dot com
  Summary: snmp ext configure error: "SNMP sanity check failed"
  Status: Open
  Type: Bug
  Package: SNMP related
  Operating System: linux/64
  PHP Version: master-Git-2014-05-06 (Git)
-Assigned To:
+Assigned To: lytboris
  Block user comment: N
  Private report: N

  New Comment:

Please check with current master and if the issue stil persists, please attach full config.log. There should be an explanation of the failure there.


Previous Comments:
------------------------------------------------------------------------
[2014-05-06 16:18:20] darx+phpbugs at sent dot com

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



------------------------------------------------------------------------

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
groupphp-bugs @
categoriesphp
postedMay 6, '14 at 4:18p
activeDec 30, '14 at 10:45a
posts4
users3
websitephp.net

People

Translate

site design / logo © 2019 Grokbase