Hi Russ,

Try building IMAP from scratch.  Get the source from
ftp://ftp.cac.washington.edu/mail/imap.tar.Z and run:

make slx SSLTYPE=nopwd

..to build.  Then when you go to build PHP, point it to your IMAP source
directory:

...
--with-imap=/usr/local/imap-2002e
...

Good luck,

John

-----Original Message-----
From: Russell Johnson [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 6:21 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INSTALL] Segfault on make install


Hi all,

I am trying to compile php-4.3.4 with imap support. make appears to work
fine, but I get the following on make install:

Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /usr/local/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2

If I remove the --with-imap from the configure file , it installs just fine.
I've found comparable problems via google, but haven't been able to figure
out anything. Is there something obvious I'm missing?

Any help will be appreciated.

- Russ

I'm working on RedHat 9

Original configure:
--with-mysql
--with-apxs2=/usr/local/apache2/bin/apxs
--with-mssql
--with-openssl
--with-zlib-dir=/usr/lib
--with-dom
--with-dom-xslt
--with-gd
--with-jpeg-dir
--with-freetype-dir=/usr/include/freetype2/
--enable-bcmath
--with-ldap
--with-config-file-path=/etc/php
--with-recode
--with-mcrypt
--with-gettext
--with-curl
--with-imap=/usr/lib
--with-imap-ssl
--with-kerberos
--enable-ftp

Reply via email to