debram99 - 2006-09-18 05:45:00

I'm a newbie to.html, mysql, and apache.  I can't get.html to configure with mysql.  I'm on Fedora core 4.  I successfully installed apache2 and mysql 5.0.24a. 

I'm running the following configure command for.html:

./configure --prefix=/usr/local/php
               --with-config-file-path=/usr/local.html
               --with-mysql=/usr/local/mysql
               --with-apxs2=/usr/local/apache/bin/apxs
               --enable-track-vars
               --enable-magic-quotes
           
It gives me the following error:
        configure: error: Try adding --with-zlib-dir=<DIR>. Please check config.log for more information.

If I exclude the --with-mysql, then it configures with no problem.  I've tried including the --with-zlib-dir=/usr/includes (and other directories), but it then it gives the following error:
        configure: error: mysql configure failed. Please check config.log for more information.

I see nothing obvious in the config.log.   Here are the last several lines of the log:

file.cpp: undefined reference to `__builtin_delete'
/usr/local/mysql/lib/libmysqlclient.a(libtaocrypt_la-file.o)(.text+0x28c): In function `TaoCrypt::FileSink::~FileSink(void)':
file.cpp: undefined reference to `__builtin_delete'
collect2: ld returned 1 exit status
configure: failed program was:
#line 58781 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_error();

int main() {
mysql_error()
; return 0; }




Any help would be much appreciated.