PHP4 configure problem for built-in MySQL versus external MySQL
| From: | Bob Schader | Date: | Wed, 14 Mar 2001 14:17:49 +0000 |
| Subject: | PHP4 configure problem for built-in MySQL versus external MySQL | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2385@lists.php.net to get a copy of this message | ||
Was wondering if someone can clue me in on a problem I am having
trying to compile php4.0.4pl1. The system I am compiling this on
is Solaris 2.6, Apache 1.3.19 and MySQL 3.23.34a are already installed.
No matter what I do when I run my configure for php4, I get a warning
at the bottom about it using an built-in MySQL Support, even though
I have specified the DIR where mysql is installed. MySQL is installed
at /usr/local/mysql, so that libs are in /usr/local/mysql/lib/mysql
and includes are in /usr/local/mysql/include/mysql. I have tried
specifying it as both --with-mysql=/usr/local
and --with-mysql=/usr/local/mysql
and have been deleting the config.cache, etc files before re-running
configure.
I have also tried running this was both root and a normal user and under
different shells, made sure my LD_LIBRARY_PATH included the dir where
MySQL shared libs are, etc. I still get this warning!
I have even tried linking /usr/local/mysql/lib/mysql to /usr/local/lib/mysql
and /usr/local/mysql/include/mysql to /usr/local/include/mysql.
Still not working.
_____________________________
Bob Schader
CAD Systems Admin
Product Design Intl., Inc.
4880 36th St. SE, Suite 100
Grand Rapids, MI 49512
(616) 667-2600 x104