ho provato a seguire passo passo le istruzioni dell'install... ma non va!

se uso questo configure
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
ho il seguente errore:

checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore.
mentre se uso questo
./configure --with-apx2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql4.1.7/
il configure non da errori ma durante la compilazione:

config.lo sapi/apache2handler/php_functions.lo main/internal_functions.lo -lcrypt -lcrypt -lmysqlclient -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lcrypt -o libphp5.la
ext/libxml/libxml.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1