From: alietss at yahoo dot com Operating system: Linux RedHat 8.0 PHP version: 4CVS-2003-03-29 (stable) PHP Bug Type: SNMP related Bug description: Configure fails with error when used --with-snmp
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 bug report at http://bugs.php.net/?id=22955&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22955&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22955&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22955&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22955&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22955&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22955&r=support Expected behavior: http://bugs.php.net/fix.php?id=22955&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22955&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22955&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22955&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22955&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22955&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22955&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22955&r=gnused