Dear Mysqlers
mysql_config in the linux binary distro appears to have two similar bugs
...
When run it returns:
Usage: /usr/local/mysql/bin/mysql_config [OPTIONS]
Options:
--cflags [-I'/usr/local/mysql/include/mysql']
--libs [-static -L'/usr/local/mysql/lib/mysql'
-lmysqlclient -lz -lcrypt -lnsl -lm ]
--socket [/tmp/mysql.sock]
--port [3306]
--version [3.23.42]
Yet it should return:
Usage: /usr/local/mysql/bin/mysql_config [OPTIONS]
Options:
--cflags [-I'/usr/local/mysql/include']
--libs [-static -L'/usr/local/mysql/lib/' -lmysqlclient
-lz -lcrypt -lnsl -lm ]
--socket [/tmp/mysql.sock]
--port [3306]
--version [3.23.42]
I.e its tacking on mysql onto the end of the cflags and libs lines.
This is a simple two line fix - hence I'm not attaching a patch.
This breaks things that use mysql_config (eg perl's DBD::Mysql modules
installer thingy).
Thanks.
Greg
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php