Bug #67221 [Fbk->NoF]: snmp ext configure error: "SNMP sanity check failed"
| From: | php-bugs at lists dot php dot net | Date: | Tue, 30 Dec 2014 10:42:37 +0000 |
| Subject: | Bug #67221 [Fbk->NoF]: snmp ext configure error: "SNMP sanity check failed" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-189483@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67221&edit=1
ID: 67221
Updated by: php-bugs@lists.php.net
Reported by: darx+phpbugs at sent dot com
Summary: snmp ext configure error: "SNMP sanity check failed"
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: SNMP related
Operating System: linux/64
PHP Version: master-Git-2014-05-06 (Git)
Assigned To: lytboris
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2014-10-04 11:26:45] lytboris@php.net
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.
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67221&edit=1