Re: [PHP4BETA] UCD_SNMP compile error in PHP-4.0B3-RC3
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] UCD_SNMP compile error in PHP-4.0B3-RC3 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6023@lists.php.net to get a copy of this message | ||
> The INCLUDES has -I/usr/local/snmp/include. However, I get the following:
>
> snmp.c:57: asn1.h: No such file or directory
> snmp.c:58: snmp_api.h: No such file or directory
> snmp.c:59: snmp_client.h: No such file or directory
> snmp.c:60: snmp_impl.h: No such file or directory
> snmp.c:61: snmp.h: No such file or directory
> snmp.c:62: parse.h: No such file or directory
> snmp.c:63: mib.h: No such file or directory
> gmake[3]: *** [snmp.lo] Error 1
>
> These files are in -I/usr/local/snmp/include/ucd-snmp/.
>
> $ /usr/local/snmp/bin/snmpget -V
> UCD-snmp version: 4.0.1
>
> Add {SNMPDIR}/include/ucd-snmp/ to this section.
A bit of an odd place for them, but ok. Where is your libsnmp.a library
file?
-Rasmus