#38291 [NEW]: Segfault at compiling PHP with SNMP
| From: | mail at dirkje dot net | Date: | Wed, 02 Aug 2006 08:26:15 +0000 |
| Subject: | #38291 [NEW]: Segfault at compiling PHP with SNMP | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-100211@lists.php.net to get a copy of this message | ||
From: mail at dirkje dot net
Operating system: Debian 3.1r2
PHP version: 5.1.4
PHP Bug Type: Compile Failure
Bug description: Segfault at compiling PHP with SNMP
Description:
------------
When I compile PHP-5.1.4 --with-snmp, I get a segfault at make install. I
also tried to install PHP-4.4.2 but it doesn't work either. I also tried
both PHP versions on a Slackware system but that distro gave me the same
segfault.
If I configure the PHP distro without PEAR, the make install works, but
PHP will give me a segfault. Tried both Apache 1.3.34 and Apache 2.2.3.
The SNMP packages I use:
ucd-snmp-4.2.6
net-snmp-5.3.1
My configuration line:
./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --with-zlib --with-jpeg-dir=/usr/lib
--with-gd --with-png-dir=/usr/lib --with-snmp=/usr/local
Also tried:
./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --with-zlib --with-jpeg-dir=/usr/lib
--with-gd --with-png-dir=/usr/lib --with-snmp
Reproduce code:
---------------
make install
Installing PHP SAPI module: apache2handler
/usr/local/apache/build/instdso.sh
SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la
/usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp libphp5.la
/usr/local/apache/modules/
cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/root/php-5.1.4/libs'
chmod 755 /usr/local/apache/modules/libphp5.so
[activating module `php5' in /usr/local/apache/conf/httpd.conf]
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
Expected result:
----------------
No segfault :)
--
Edit bug report at http://bugs.php.net/?id=38291&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38291&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38291&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38291&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38291&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38291&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38291&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38291&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38291&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38291&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38291&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38291&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38291&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38291&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38291&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38291&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38291&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38291&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38291&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38291&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38291&r=mysqlcfg