ID: 22955
Updated by: [EMAIL PROTECTED]
Reported By: alietss at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: SNMP related
Operating System: Linux RedHat 8.0
PHP Version: 4CVS-2003-03-29 (stable)
New Comment:
Check config.log as the error tells you to do.
Previous Comments:
------------------------------------------------------------------------
[2003-03-29 16:19:32] alietss at yahoo dot com
Hi all the PHP people:
I'm building rpms for Linux RedHat 8.0 httpd-2.0.40-11 of php-4.3.2
latest sables sources, but when I use --with-snmp the configure script
fails with this error...
checking for SNMP support... yes
checking for net-snmp-config... /usr/bin/net-snmp-config
checking for snmp_parse_oid... no
checking for init_snmp in -lnetsnmp... no
configure: error: SNMP sanity check failed. Please check config.log for
more information.
I tested alone and the error is still there, my net-snmp is 5.0.6-8
from RedHat rpms I built php-4.3.1 ok with this same configuration.
Here my configure line...
%configure \
--prefix=%{_prefix} \
--cache-file=../config.cache \
--with-config-file-path=%{_sysconfdir} \
--with-config-file-scan-dir=%{_sysconfdir}/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2 \
--with-db4 \
--with-curl \
--with-dom=%{_prefix} \
--with-exec-dir=%{_bindir} \
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-pdflib=shared \
--with-tiff-dir=%{_prefix} \
--with-ncurses \
--with-gmp \
--with-iconv \
--enable-xslt=shared \
--with-jpeg-dir=%{_prefix} \
--with-openssl \
--with-png \
--with-pspell \
--with-regex \
--with-xml \
--with-expat-dir=%{_prefix} \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mcal=shared,%{_prefix} \
--with-mcrypt=shared,%{_prefix} \
--with-mhash=shared,%{_prefix} \
--with-mssql=shared,%{_prefix} \
--with-mysql=shared,%{_prefix} \
%if %{oracle}
--with-oci8=shared \
%endif
--with-pgsql=shared \
--with-snmp=shared,%{_prefix} \
--with-snmp=shared \
--with-xslt-sablot=shared,%{_prefix} \
--with-sablot-js=shared,%{_prefix} \
--enable-ucd-snmp-hack \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
Any Ideas
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22955&edit=1