php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18346 Compile Error
Submitted: 2002-07-15 02:17 UTC Modified: 2002-09-11 11:37 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: dikey1 at naver dot com Assigned:
Status: No Feedback Package: SNMP related
PHP Version: 4.1.2 OS: Linux(vmlinux-2.4.18-3)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dikey1 at naver dot com
New email:
PHP Version: OS:

 

 [2002-07-15 02:17 UTC] dikey1 at naver dot com
Error occure while ./configure --with-snmp

-----------------------------------------------------
checking for SNMP support... yes
configure: error: snmp.h not found. Check your SNMP installation.
-----------------------------------------------------

Why "configure" does not work correctly ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-15 02:17 UTC] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2002-07-15 02:28 UTC] dikey1 at naver dot com
I try to compile PHP_4.1.2 using the status as follows.

# ./configure \
--with-oci8=/oracle_home \
--with-oracle=/oracle_home \
--with-gd \
--with-snmp \
--without-mysql \
--enable-ftp  \
--enable-sigchild \
--enable-track-vars \
--enable-sockets \
--disable-debug;

Without "--with-snmp" option, "configure" process was completed.

But if the option was used, then the process present some errors at "--with-snmp" option like as,

-----------------------------------------------------
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found

.....

checking for pwrite... (cached) yes
checking whether pwrite works without custom declaration... (cached) yes
checking whether pread works without custom declaration... (cached) yes
checking whether to enable shmop support... no
checking for SNMP support... yes
configure: error: snmp.h not found. Check your SNMP installation.
-----------------------------------------------------

How can I do ?
 [2002-07-15 02:31 UTC] derick@php.net
Which distribution do you use? And did you install the development package for snmp if that is needed?
Also, check config.log and please tell us what it says about snmp.

Derick
 [2002-09-11 11:37 UTC] sniper@php.net
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 "Open". Thank you.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Nov 27 12:01:23 2020 UTC