André Laugks: Apache 2.0.x: mod_auth_mysql

Beitrag lesen

Hallo!

Und: ja, mit mod_auth_mysql hatte ich solche Probleme sowohl bei Apache 2.0.x wie auch mit Apache 2.2.x auch schon. Neu kompilieren und aufsetzen hat geholfen.

Ich bekomme beim compilieren die Fehlermeldung, das die mysql.h nicht gefunden werden kann. Die liegt unter /usr/include/mysql. Was ja eigentlich das Standard-Include-Verzeichnis ist.

Dann habe ich versucht, Flags zu setzen. Leider bringt der ./configure-Vorgang ab.

Ich habe mal andere Module entfernt

./configure CPPFLAGS=I/usr/include/mysql LDFLAGS=-L/usr/lib/mysql --prefix=/usr/local/apache2
--sysconfdir=/etc/httpd2
--with-layout=SuSE
--enable-suexec
--with-suexec-caller=wwwrun
--with-suexec-uidmin=500
--with-suexec-gidmin=100
--with-suexec-docroot=/www
--enable-module=so
--enable-shared=max --with-module=auth_mysql:/usr/src/mod_auth_mysql-3.0.0/mod_auth_mysql.c

=======================================================================================================
web1:/usr/src/httpd-2.0.55 # ./configure CPPFLAGS=I/usr/include/mysql LDFLAGS=-L/usr/lib/mysql --prefix=/usr/local/apache2 --sysconfdir=/etc/httpd2 --with-layout=SuSE --enable-suexec --with-suexec-caller=wwwrun --with-suexec-uidmin=500 --with-suexec-gidmin=100 --with-suexec-docroot=/www --enable-module=so --enable-shared=max --with-module=auth_mysql:/usr/src/mod_auth_mysql-3.0.0/mod_auth_mysql.c
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 0.9.7
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr

Die config.log sagt leider auch nichts aus.

Hast Du vielleicht eine Idee?

André Laugks

--
Die Frau geht, die Hilti bleibt!