Hi Moroni, I had this problem and worked on it for quite a while. The only way I could get it to compile and run was to leave off the --with-libz configure option. It 'runs' now, but I still can't squirrelmail to work. I haven't tested php by itself to see if it really works, though.
I am using gcc 3.2 to compile 64-bit binaries on SunOS 5.8. I am wondering if the gcc/64-bit combo is somehow related. I am also building in mod_ssl and mod_frontpage, which may also be related. I posted this back to this to increase this subject's presence on the list's 'radar'. :) Brian ====================================================================== On Thu, Feb 20, 2003 at 04:30:34PM +0100, Moroni Norin wrote: > I am trying to install php-4.3.1 on a FreeBSD 4.5-STABLE system. The > configuration and compilation works just fine... > but when I run make install all hell breaks loose... > this is the result... > > server# make install > Installing PHP CLI binary: /usr/local/bin/ > Installing PHP SAPI module > [activating module `php4' in /usr/local/apache_1.3.27/conf/httpd.conf] > cp libs/libphp4.so /usr/local/apache_1.3.27/libexec/libphp4.so > chmod 755 /usr/local/apache_1.3.27/libexec/libphp4.so > cp /usr/local/apache_1.3.27/conf/httpd.conf > /usr/local/apache_1.3.27/conf/httpd.conf.bak > cp /usr/local/apache_1.3.27/conf/httpd.conf.new > /usr/local/apache_1.3.27/conf/httpd.conf > rm /usr/local/apache_1.3.27/conf/httpd.conf.new > Installing shared extensions: > /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ > Installing PEAR environment: /usr/local/lib/php/ > Segmentation fault - core dumped > *** Error code 139 > > Stop in /home/db/src/php-4.3.1. > *** Error code 1 > > Stop in /home/db/src/php-4.3.1. > > I have used this configuration string > > ./configure --with-apxs=/usr/local/apache_1.3.27/bin/apxs --enable-ftp > --with-gettext --with-xml --with-imap=/root/src/imap > --with-mcal=/root/src/libmcal --with-mcrypt --with-ldap > --with-db3=/usr/local/BerkeleyDB.3.2 --with-tsrm-pth --with-dom > --with-openssl=/usr/local/ssl --with-zlib --enable-static --with-iconv > --enable-mbstring --enable-mime-magic --with-mysql=/usr/local > > so what can I do about this problem? > /Moroni > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- _____________________________________________________________________ / Brian C. Hill [EMAIL PROTECTED] http://brian.bch.net \ | Unix Specialist BCH Technical Services http://www.bch.net | -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php