Hi,
anyone know an easy way to recompile php with snmp support?
i have tried to manually compile it with --with-snmp=/usr/include/net-snmp and with --with-snmp=/usr/include/linux but when i try to make i get these kinds of errors :
/usr/local/directadmin/customapache/php-4.4.7/ext/snmp/snmp.c:85:18: asn1.h: No such file or directory
/usr/local/directadmin/customapache/php-4.4.7/ext/snmp/snmp.c:86:22: snmp_api.h: No such file or directory
/usr/local/directadmin/customapache/php-4.4.7/ext/snmp/snmp.c:87:25: snmp_client.h: No such file or directory
and so on...
any ideas?
anyone know an easy way to recompile php with snmp support?
i have tried to manually compile it with --with-snmp=/usr/include/net-snmp and with --with-snmp=/usr/include/linux but when i try to make i get these kinds of errors :
/usr/local/directadmin/customapache/php-4.4.7/ext/snmp/snmp.c:85:18: asn1.h: No such file or directory
/usr/local/directadmin/customapache/php-4.4.7/ext/snmp/snmp.c:86:22: snmp_api.h: No such file or directory
/usr/local/directadmin/customapache/php-4.4.7/ext/snmp/snmp.c:87:25: snmp_client.h: No such file or directory
and so on...
any ideas?