Apache 1.3.20 + PHP4.1.1 + MYSQL + OPENSSL + MODSSL
I had the old versions working no probs but now updating apache and php so I can run Horde and IMP and I now get a problem compiling apache.
#PHP compiling
./configure --with-mysql=/usr/local/mysql \
--with-xml \
--with-apache=../apache_1.3.20 \
--enable-track-vars \
--with-gettext \
--with-imap \
--with-imap-ssl \
--with-kerberos=/usr/kerberos
#PHP compiled without a prob.
#Apache
SSL_BASE=../openssl-0.9.6a ./configure --enable-module=ssl --activate-module=src/modules/php4/libphp4.a --enable-module=php4 --prefix=/usr/local/apache --enable-shared=ssl --enable-suexec --suexec-caller=www --suexec-uidmin=500 --suexec-gidmin=101
Configuring for Apache, Version 1.3.20
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
+ enabling mod_so for DSO support
cd ..; gcc -DLINUX=22 -DMOD_SSL=208104 -I/usr/src/build/php-4.1.1 -I/usr/src/build/php-4.1.1/main -I/usr/src/build/php-4.1.1/main -I/usr/src/build/php-4.1.1/Zend -I/usr/src/build/php-4.1.1/Zend -I/usr/src/build/php-4.1.1/TSRM -I/usr/src/build/php-4.1.1/TSRM -I/usr/src/build/php-4.1.1 -DEAPI -DUSE_EXPAT -I./lib/expat-lite ./apaci -o helpers/dummy helpers/dummy.c -Wl,-rpath,/var/kerberos/lib -Wl,-rpath,/usr/local/mysql/lib/mysql -rdynamic -L/var/kerberos/lib -L/usr/local/mysql/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lcrypto -lssl -lc-client -ldl -lmysqlclient -lldap -llber -lcrypt -lpam -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lm -lcrypt -ldl
/usr/bin/ld: cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
make: * [dummy] Error 1
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.8.4
+ SSL interface build type: DSO
+ 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/src/build/openssl-0.9.6a
+ SSL library version: OpenSSL 0.9.6a 5 Apr 2001
+ SSL library type: source tree only (stand-alone)
o php4_module uses ConfigStart/End
+ enabling Extended API (EAPI)
+ using -ldl for vendor DSO support
+ 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!
I assure you who are reading my ramblings and cries for help that I have gcc installed and working well.
Please help me.