Hi
I'm trying to install php with imap support.
Without the --with-imap feature everything works well.
I'm using following versions:
RedHat Linux 6.1
Apache 1.3.12
ModSSL 2.6.3-1.3.12
OpenSSL 0.9.5a
PHP 4.0.1pl2
I'm configuring as follow:
cd openssl-0.9.5a
./config --prefix=/usr/local/openssl
make
make test
make install
cd ..
cd mod_ssl-2.6.3-1.3.12
./configure --with-apache=../apache_1.3.12
cd ..
cd apache_1.3.12
./configure --prefix=/usr/local/apache_ssl
cd ..
cd imap4.5/c-client
cp c-client.a /usr/lib
cp rfc822.h mail.h linkage.h /usr/include
cd php-4.0.1pl2
CFLAGS='-O2 -I/usr/local/openssl/include' \
./configure \
--with-apache=../apache_1.3.12 \
--with-mysql=/usr/local/mysql/current \
--with-ftp \
--with-imap \
--enable-versioning \
--enable-track-vars=yes \
--enable-url-includes \
--enable-sysvshm=yes \
--enable-sysvsem=yes \
--enable-magic-quotes \
--with-config-file-path=/etc
Until to this point everything compiles fine.
Now the problem:
cd apache-1.3.12
SSL_BASE=/usr/local/openssl
./configure \
--prefix=/usr/local/apache_mail \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--enable-suexec \
--suexec-caller=www \
--suexec-docroot=/usr/local/apache_mail/htdocs \
--suexec-logfile=/var/log/suexec_log \
--suexec-userdir=/usr/local/apache_mail/htdocs/public_html \
--suexec-uidmin=100 \
--suexec-gidmin=100 \
--suexec-safepath=/usr/local/bin:/usr/bin:/bin \
--suexec-umask=660 \
--enable-module=ssl
Output:
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o ssl_module uses ConfigStart/End
+ SSL interface: mod_ssl/2.6.3
+ SSL interface build type: OBJ
+ SSL interface compatibility: enabled
+ SSL interface experimental code: disabled
+ SSL interface conservative code: disabled
+ SSL interface vendor extensions: disabled
+ SSL interface plugin: Built-in SDBM
+ SSL library path: /usr/local/ssl
+ SSL library version: OpenSSL 0.9.5a 1 Apr 2000
+ SSL library type: installed package (stand-alone)
+ SSL library plugin mode: none
o php4_module uses ConfigStart/End
+ enabling Extended API (EAPI)
+ checking sizeof various data types
+ doing sanity check on compiler and options
A test compilation with your Makefile configuration
failed. The below error output from the compilation
test will give you an idea what is failing. Note that
Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
============= End of Error Report =============
Aborting!
Can somebody maybe help me with this?
I'm really stuck.