[Linux-bruxelles] Apache, MySQL, php, SSL : erreur compilation

Grégoire Alexandre gregoire.alex at easynet.be
Dim 13 Avr 11:47:56 CEST 2003


Bonjour la liste,

voilà j'aimerais installer un serveur apache avec MySQL, php et ssl

MySQL fonctionne tres bien mais lorsque je veux compiler apache je reçois une 
erreur comme ceci :

==>  src/modules/php4
make[4]: *** Pas de règle pour fabriquer la cible `all'. Arrêt.
make[3]: *** [all] Erreur 1
make[2]: *** [subdirs] Erreur 1
make[1]: *** [build-std] Erreur 2
make: *** [build] Erreur 2
make[2]: Quitte le répertoire `/usr/src/apache_1.3.27/src'
make[1]: Quitte le répertoire `/usr/src/apache_1.3.27'

En effet le dossier src/modules/php4 n'existe pas !

Voici comment j'ai procédé :

install libpng | aucun problème
install curl | aucun problème
install pdflib | aucun problème
install zlib | aucun problème
install png-1.2.5 | aucun problème

apache_1.3.27.tar.gz
tar xzf apache_1.3.27.tar.gz
cd apache_1.3.27
./configure --prefix=/usr/local/apache
cd..
tar xzf php-4.3.0.tar.gz
cd php-4.3.0
./configure --with-mysql=/usr/local/mysql \
	--with-xml \
	--with-apache=../apache_1.3.27 \
	--with-curl=/usr/local/curl \
	--with-pspell=/usr/local/aspell \
	--with-openssl=/usr/local/ssl \
	--with-gd \
	--enable-shared-pdflib \
	--enable-track-vars \
	--with-ttf=/usr/X11R6/lib/X11/fonts/TTF \
	--with-zlib-dir=/usr/local/zlib
	--with-png-dir=/usr/local/lib

make
make install
cp php.ini-dist /usr/local/lib/php.ini
cd ..
tar xzf openssl-0.9.7b
cd openssl-0.9.7b
./config --prefix=/usr/local/ssl
make
make test
make install
cd ..
tar xzf mod_ssl-2.8.14-1.3.27.tar.gz
cd mod_ssl-2.8.14-1.3.27
./configure --with-apache=../apache_1.3.27
cd apache_1.3.27
SSL_BASE=../openssl-0.9.7b
./configure \
	--enable-module=ssl \
	--activate-module=src/modules/php4/libphp4.a \
	--enable-module=php4 \
	--prefix=/usr/local/apache \
	--enable-shared=ssl
make
et l'erreur se produit ici

Un coup de main serait vraiment le bienvenu :)

Merci ,
Alex




Plus d'informations sur la liste de diffusion Linux-bruxelles