Reply to [INST PHP 5.1.0] Getting "Segmentation fault" when try to install from source

Your name:

Reply:


Posted by MaxLeMans on 11/28/05 11:28

Hi,

I am facing problems while trying to install PHP 5.0.1 from sources on a
recent Debian Sarge server. Everything goes fine when configuring with
the following command line :

../configure --with-apxs2=/usr/local/apache2/bin/apxs
--disable-path-info-check --with-curl --enable-ftp --with-imap
--with-mssql --with-pgsql --enable-sockets --with-sybase --with-kerberos
--with-imap-ssl --with-mysqli=/usr/bin/mysql_config --with-mysql=/usr
--prefix=/wwwroot/php --with-config-file-path=/wwwroot/php

Then, make and make test success. But make install fails with the
following message :
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la
/usr/local/apache2/modules/
cp .libs/libphp5.so /usr/local/apache2/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/home/mmarais/php-5.1.0/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /usr/local/apache2/conf/httpd.conf]
Installing PHP CLI binary: /wwwroot/php/bin/
Installing PHP CLI man page: /wwwroot/php/man/man1/
Installing build environment: /wwwroot/php/lib/php/build/
Installing header files: /wwwroot/php/include/php/
Installing helper programs: /wwwroot/php/bin/
program: phpize
program: php-config
Installing man pages: /wwwroot/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /wwwroot/php/lib/php/
[PEAR] Archive_Tar - installed: 1.3.1
[PEAR] Console_Getopt - installed: 1.2
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
[PEAR] PEAR - installed: 1.4.5
Wrote PEAR system config file at: /wwwroot/php/etc/pear.conf
You may want to add: /wwwroot/php/lib/php to your php.ini include_path
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2

The server is running Linux version 2.4.30 (gcc version 3.3.4 (Debian
1:3.3.4-13)) #1 SMP Thu Apr 14 12:45:17 CEST 2005

I did not find any informations about this issue. If someone could help
please.

Thanks forward.

--
Max

--
Max

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация