PHP / Net-SNMP problem.

From: Date: Thu, 24 Oct 2002 13:04:07 +0000
Subject: PHP / Net-SNMP problem.
Groups: php.install 
Request: Send a blank email to php-install+get-8905@lists.php.net to get a copy of this message
I am trying to get snmp in to PHP, but the make does not like to go through net-snmp code correctly. I get make[3]: Entering directory `/PCDISK/Linux/PHP/php-4.2.3/ext/snmp' /bin/sh /PCDISK/Linux/PHP/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/PCDISK/Linux/PHP/php-4.2.3/ext/snmp -I/PCDISK/Linux/PHP/php-4.2.3/main -I/PCDISK/Linux/PHP/php-4.2.3 -I/usr/include/apache -I/PCDISK/Linux/PHP/php-4.2.3/Zend -I/PCDISK/Linux/MySQL/mysql-3.23.52-pc-linux-gnu-i686/include -I/PCDISK/Linux/Net-SNMP/net-snmp-5.0.6/include/ucd-snmp -I/PCDISK/Linux/PHP/php-4.2.3/ext/xml/expat -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/PCDISK/Linux/PHP/php-4.2.3/TSRM -g -O2 -prefer-pic -c snmp.c In file included from snmp.c:62: /PCDISK/Linux/Net-SNMP/net-snmp-5.0.6/include/ucd-snmp/asn1.h:7:2: #error "Please update your headers or configure using --enable-ucd-snmp-compatibility" In file included from snmp.c:63: /PCDISK/Linux/Net-SNMP/net-snmp-5.0.6/include/ucd-snmp/snmp_api.h:7:2: #error "Please update your headers or configure using --enable-ucd-snmp-compatibility" In file included from snmp.c:64: /PCDISK/Linux/Net-SNMP/net-snmp-5.0.6/include/ucd-snmp/snmp_client.h:7:2: #error "Please update your headers or configure using --enable-ucd-snmp-compatibility" In file included from snmp.c:65: /PCDISK/Linux/Net-SNMP/net-snmp-5.0.6/include/ucd-snmp/snmp_impl.h:7:2: #error "Please update your headers or configure using --enable-ucd-snmp-compatibility" In file included from snmp.c:66: /PCDISK/Linux/Net-SNMP/net-snmp-5.0.6/include/ucd-snmp/snmp.h:7:2: #error "Please update your headers or configure using --enable-ucd-snmp-compatibility" In file included from snmp.c:67: /PCDISK/Linux/Net-SNMP/net-snmp-5.0.6/include/ucd-snmp/parse.h:7:2: #error "Please update your headers or configure using --enable-ucd-snmp-compatibility" In file included from snmp.c:68: /PCDISK/Linux/Net-SNMP/net-snmp-5.0.6/include/ucd-snmp/mib.h:7:2: #error "Please update your headers or configure using --enable-ucd-snmp-compatibility" In file included from snmp.c:69: /PCDISK/Linux/Net-SNMP/net-snmp-5.0.6/include/ucd-snmp/version.h:9:2: #error "Please update your headers or configure using --enable-ucd-snmp-compatibility" make[3]: *** [snmp.lo] Error 1 make[3]: Leaving directory `/PCDISK/Linux/PHP/php-4.2.3/ext/snmp' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/PCDISK/Linux/PHP/php-4.2.3/ext/snmp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/PCDISK/Linux/PHP/php-4.2.3/ext' make: *** [all-recursive] Error 1 and i have the header files in the location specified. What do i do wrong ?? Regards. Per

« previous php.install (#8905) next »