can't find MySQL header files
| From: | up at 3 dot am | Date: | Tue, 29 Mar 2005 01:15:25 +0000 |
| Subject: | can't find MySQL header files | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-15908@lists.php.net to get a copy of this message | ||
A customer needed curl support, so I decided to upgrade to the latest
php4(4.3.10) while I was at it. Suddenly the preg_replace() function is
no longer defined.
I went back through the docs and noticed the warning at the end of the
install script about specifying the path to the MySQL header files if you
have mod_perl or mod_php3 also installed, which I do, so I added this to
my configure script:
--with-mysql=/usr/local/include/mysql
I can see the header files clearly in that directory, including mysql.h,
yet I keep getting this:
checking return type of qsort... (cached) void
configure: error: Cannot find MySQL header files under include/mysql
I tried changing that to: --with-mysql=/usr/local/include/ thinking
maybe it was modifying the path, but still no go.
Any ideas?
Thanks in Advance,
James Smallacombe PlantageNet, Inc. CEO and Janitor
up@3.am http://3.am
=========================================================================