ID: 20357 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: SNMP related Operating System: Linux RedHat 8.0 PHP Version: 4CVS-2002-11-11 New Comment:
Heh, now you definately do have ucd-snmp and net-snmp installed..at least the headers. You really should clean that mess and try again. PHP compiles fine with both, as long as you don't have them under same prefix.. Previous Comments: ------------------------------------------------------------------------ [2002-11-11 23:05:30] [EMAIL PROTECTED] ok, this is really a pain, I update to 5.0.6 and now I obtain this In file included from /usr/include/net-snmp/library/snmp_impl.h:39, from /usr/include/ucd-snmp/snmp_impl.h:3, from /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:86: /usr/include/net-snmp/types.h:11:2: #error "Please include <net-snmp/net-snmp-config.h> before this file" In file included from /usr/src/redhat/BUILD/php-4.3.0/ext/snmp/snmp.c:90: /usr/include/ucd-snmp/version.h:5: initializer element is not constant make: *** [ext/snmp/snmp.lo] Error 1 ------------------------------------------------------------------------ [2002-11-11 18:07:06] [EMAIL PROTECTED] Apparently the net-snmp people changed that somewhere between 5.0.1 and 5.0.6. Just get 5.0.6 and it works. ------------------------------------------------------------------------ [2002-11-11 10:44:02] [EMAIL PROTECTED] Hi, yes I'm sure, I'm just using net-snmp version 5.0.1-6 wich comes with RedHat8.0, with the past php-4.2.4dev everything was fine... ------------------------------------------------------------------------ [2002-11-11 10:00:13] [EMAIL PROTECTED] And what snmp library do you have installed? net-snmp? And what version? Are you sure you don't have both ucd-snmp and net-snmp installed? ------------------------------------------------------------------------ [2002-11-11 09:59:00] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20357 -- Edit this bug report at http://bugs.php.net/?id=20357&edit=1