But :
Apache + PHP4 + MySQL
+ Identification dans httpd.conf depuis une table tournant sur MySQL.

J'ai un problème pour compiler le module mod_auth_mysql

Mon système :
Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.14-5.0 on a sparc64

J'ai installé depuis les sources avec succès :
apache_1.3.17
php-4.0.4pl1
mysql-3.23.32


J'ai downloaded mod_auth_mysql.c de http://www.delouw.ch/linux/apache.phtml

et essayer de compiler comme indiquer mais sans succès !


/usr/local/apache/bin/apxs -c -I/usr/local/mysql/in
clude/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient -lm mod_auth_mysql.c
gcc -DLINUX=22 -I/usr/src/redhat/SOURCES/php-4.0.4pl1 -I/usr/src/redhat/SOUR
CES/
php-4.0.4pl1/main -I/usr/src/redhat/SOURCES/php-4.0.4pl1/main -I/usr/src/red
hat/
SOURCES/php-4.0.4pl1/Zend -I/usr/src/redhat/SOURCES/php-4.0.4pl1/Zend -I/usr
/src
/redhat/SOURCES/php-4.0.4pl1/TSRM -I/usr/src/redhat/SOURCES/php-4.0.4pl1/TSR
M -I
/usr/src/redhat/SOURCES/php-4.0.4pl1 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL
_NEE
DED  -I/usr/local/apache/include -I/usr/local/mysql/include/mysql  -c
mod_auth_m
ysql.c
  -o mod_auth_mysql.so
mod_auth_mysql.o -L/usr/local/mysql/lib/mysql -lmysqlclie
nt -lm
apxs:Break: Command failed with rc=255

Quelqu'un a-t-il une idée de ce que je fais de faux, ou me manque-t-il
quelque chose ?


Wei Jiang
IT Services
European Broadcasting Union
Tel: +41 22 717 21 61
Email: [EMAIL PROTECTED]

--
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question.

Répondre à