PHP 4.0 Bug #6255: can't find SNMP includes
| From: | jluth at uswest dot net | Date: | Sat, 19 Aug 2000 19:19:08 +0000 |
| Subject: | PHP 4.0 Bug #6255: can't find SNMP includes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-29702@lists.php.net to get a copy of this message | ||
From: jluth@uswest.net
Operating system: Linux 2.2.16-3
PHP version: 4.0.1pl2
PHP Bug Type: Compile Failure
Bug description: can't find SNMP includes
The UCD SNMP package installs its header files into /usr/local/include/ucd-snmp. I tried specifying
this to configure with
--with-snmp=/usr/local/include/ucd-snmp
configure finishes, but make aborts complaining that it can't find various header files for
SNMP. Closer inspection shows that make is looking in /usr/local/include/ucd-snmp/include (appending
the 'include' onto the specified path). The only work around I could think of was to
create a /usr/local/include/ucd-snmp/include dir and cp evrything from /usr/local/include/ucd-snmp
into it. This happened with some other options as well (IMAP, I believe). When I specify a directory
to configure, I expect it to look there without appending its own subdirs on.