ok... here's what this issue appears to be narrowing down to... i'm guessing that it has something to do with using the same libs for both mysql/mysqli. i've been able to get a running app for only mysqli, but adding the mysql function to the ./configure gives the "multiple define" issues that i've been getting...
so my question, is... what should the "--with-mysql=???" be pointing towards. i've tried a number of dirs with no luck. as a matter of fact.. i've been able to supply a non-existent path for --with-mysql=/foo/whatever and i get the same "multiple define" errors... so it appears to be an issue of correctly setting up the "./configure". i'm also open to looking at the makefile process. can anyone provide information as to how the Makefile is created, and if it should be modified... i'm currently doing ./configure make make install the "make" is where i have the "multiple define" errors my ./configure is ==>> ./configure --with-apxs2=/usr/sbin/apxs --with-config-file-path=/etc --with -mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --wi th-ldap --with-pgsql thanks... -bruce -----Original Message----- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Sunday, July 18, 2004 7:23 PM To: bruce Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] building php5.0 as an apache module, with mysqli functionality * Thus wrote bruce: > hi... > > this is cross posted to a number of lists as it seems to touch on all the > apps... Please don't do this. > > i'm trying to use the following "configure" > > ./configure --with-apxs2=/usr/sbin/apxs --with-config-file-path=/etc --with > -mysql=/usr/include/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config - > -with-ldap --with-pgsql If you read the installation at http://php.net/mysqli, you can not include two versions of mysql and mysqli client libraries. > the issue i'm having is that i can't get make portion to work without > returning "multiple define" errors like > > [EMAIL PROTECTED] php-5.0.0]# make > /bin/sh /usr/src/php-5.0.0/libtool --silent --preserve-dup-deps --mode=link > > [snip way to much output ] Can you compile mysql without mysqli and vise versa without problems? Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php