Re: [PHP4BETA] UCD_SNMP compile error in PHP-4.0B3-RC3
| From: | Jeff Johnson | Date: | Tue, 09 Nov 1999 15:46:24 +0000 |
| Subject: | Re: [PHP4BETA] UCD_SNMP compile error in PHP-4.0B3-RC3 | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6026@lists.php.net to get a copy of this message | ||
On Tue, Nov 09, 1999 at 10:37:51AM -0500, Rasmus Lerdorf wrote:
> > 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
It's /usr/local/snmp/lib/libsnmp.a. I don't know exactly why they are there.
I believe it's a default install of UCD SNMP 4.0.1 with current patches.