Re: Trouble compiling in mysqli under PHP5 -- "mysql_config not found"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# neuhauser@xxxxxxxxxx / 2007-01-03 02:55:11 +0000:
> # westonc@xxxxxxxxx / 2007-01-02 18:23:33 -0700:
> > I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS
> > X. When I invoke configure, I get the following error message:
> > 
> > "checking whether to enable embedded MySQLi support... no
> > mysql_config not found
> > configure: error: Please reinstall the mysql distribution"
> > 
> > Now, mysql (4.1.22) is in fact installed, and it looks to me like the
> > headers are in fact there (and mysql_config seems to be under ./bin),
> > and I did give it the path with the config option
> > (--with-mysqli=/usr/local/mysql -- yes, I know this isn't the
> > conventional Mac OS X path, but I like these things under /usr/local,
> > so....).
> > 
> > Curiously, I note that a build using --with-mysql=/usr/local/mysql
> > works just fine.
> > 
> > Any ideas what I'm doing wrong here?
> 
> It wants "--with-mysql=/usr/local/mysql/mysql_config", see

--sith-mysqli, of course, sorry for the noise

> http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/config.m4?revision=1.25&view=markup

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux