PHP 4.0 Bug #6049: configure does not correctly set SNMP directories
| From: | peter dot marschall at mayn dot de | Date: | Thu, 10 Aug 2000 01:53:27 +0000 |
| Subject: | PHP 4.0 Bug #6049: configure does not correctly set SNMP directories | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28257@lists.php.net to get a copy of this message | ||
From: peter.marschall@mayn.de
Operating system: Linux 2.2
PHP version: 4.0.1pl2
PHP Bug Type: Installation problem
Bug description: configure does not correctly set SNMP directories
Configuring PHP4 with --snmp-dir=/path/to/snmp, the paths to snmp will
not correctly be set. Especially, the keyword "shared" is not filtered out.
Solution is simple. Apply the follwoing patch
--- configure
+++ configure Tue Aug 8 13:02:39 2000
@@ -33897,7 +33897,7 @@
test -f /usr/local/snmp/lib/libsnmp.so && SNMP_LIBDIR=/usr/local/snmp/lib
else
SNMP_INCDIR=$PHP_SNMP/include
- test -d $PHP_SNMP/include/ucd-snmp && SNMP_INCDIR=$withval/include/ucd-snmp
+ test -d $PHP_SNMP/include/ucd-snmp && SNMP_INCDIR=$PHP_SNMP/include/ucd-snmp
SNMP_LIBDIR=$PHP_SNMP/lib
fi
cat >> confdefs.h <<\EOF